This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
/home/mlcreech/crosstool/crosstool-0.42/build/arm-linux-gnueabi/gcc-4.1. 1-glibc-2.4/gcc-4.1.1/gcc/config/arm/lib1funcs.asm:1000: undefined reference to `raise' make[4]: *** [u-boot] Error 1
Uboot uses the function raise() but the C library you are using only supplies kill(). So you write a tiny function that implements raise() that does kill(getpid(), sig) and link it in. Or -D'raise(n)=kill(getpid(),n)' in CFLAGS (seems to work with this gcc)
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |