lpcware

LPCXpresso problems

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
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?

Attachments

Outcomes