LPCXpresso problems

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCXpresso problems

320 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dragooon on Mon Nov 18 02:42:22 MST 2013
God Day,

I work currently with the LPCXpresso version Six, and when in my Programcode is "malloc" used then tell me after a build attempt
"make: Target `all' not remade because of errors."

Code Part:
#include "stdlib.h"

void insert_invalid_block_list(struct invalid_block_table *lst...){
... 
neuesElement = (BI*) malloc(sizeof(BI)); // erzeuge ein neues Element,  BI ist das Struct
        ... 

}

to explain, I want to control a NAND Flash and creating a simple linked list. These will include the disabled blocks of memory.
without the "malloc" are the buld without any problems.

Can someone please help me with the problem?
0 Kudos
3 Replies

300 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dragooon on Mon Nov 18 03:50:32 MST 2013
Thank you,
The Error is cure,
I have the Lib changed, and its Build corretly.
0 Kudos

300 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon Nov 18 03:08:42 MST 2013
http://support.code-red-tech.com/CodeRedWiki/UndefinedReference
0 Kudos

300 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by capiman on Mon Nov 18 02:55:43 MST 2013
English?
Which error message do you get?
I assume something like "malloc: unreferenced external"...
0 Kudos