[U-Boot-Users] Want to Use char array without System support, but cannot find memset function.

Kaiserempire kaiserempire at gmail.com
Tue Nov 6 08:05:57 CET 2007


Hi, all:

 I am trying write a little bootloader same like the uboot. In my program I
need to use  the char array.
when I link my program the ld show me an error: undefined reference to
'memset'.
 I want to know which lib includes this symbol.
 I use the arm-linux-gcc 3.2
I try to use the lib file libc.a (/usr/local/arm/lib)  then the system show
me another error:  "Not enough
room for program headers (allocated 5, need 6)"

Can somebody help me?
Thanks.
-- 
倔强的站在太阳下,感受柳动溪流荷花香
                 ---KaiserEmpire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071106/36291be1/attachment.htm 


More information about the U-Boot mailing list