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.
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.
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"...