tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

failing to link siglongjmp with clang



How does the symbol renaming magic work in libc?  

Using clang 1.0 (yeah, I know) siglongjmp fails to link 

interrupt.o: In function `inactive_interrupt_handler':
[...]/src/apps/fisql/../../../../src/apps/fisql/interrupt.c:31:
undefined reference to `siglongjmp' collect2: ld returned 1 exit status

for pretty obvious reasons

$ nm /usr/lib/libc.so | grep siglongjmp
0000000000054650 T __siglongjmp14

$ nm interrupt.o | grep siglongjmp
                 U siglongjmp

What to do, please?  

--jk


Home | Main Index | Thread Index | Old Index