LPCXpresso problems

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPCXpresso problems

1,388件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

1,368件の閲覧回数
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 件の賞賛
返信

1,368件の閲覧回数
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 件の賞賛
返信

1,368件の閲覧回数
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 件の賞賛
返信