tech-userlevel archive

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

Re: failing to link siglongjmp with clang

In article <>,
James K. Lowden <> wrote:
>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':
>undefined reference to `siglongjmp' collect2: ld returned 1 exit status
>for pretty obvious reasons
>$ nm /usr/lib/ | grep siglongjmp
>0000000000054650 T __siglongjmp14
>$ nm interrupt.o | grep siglongjmp
>                 U siglongjmp
>What to do, please?  

include setjmp.h from interrupt.c
compile with errors on implicit declarations.


Home | Main Index | Thread Index | Old Index