Re: extern "C" and undefined reference



On 4/23/07, Diomidis Spinellis <dds@xxxxxxx> wrote:
You can use nm(1) on the .o files to see where the problem comes from.

Thanks! Using nm(1) I saw that the object file generated
from pure C code had its symbols mangled - only then did
I notice that it was being compiled with c++, not cc. A
simple sed trick fixed that in a jiffy. How blind could
I be...

Thanks!
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Member Of 04 Red Sox Used PEDs
    ... so he is a prime candidate. ... I don't see anyone here proclaiming Posada to be pure the way you are ... I was blind all the time ... I was learning to see. ...
    (alt.sports.baseball.ny-yankees)
  • Re: Member Of 04 Red Sox Used PEDs
    ... The Yankees are so great that no one could beat them? ... I was blind all the time ... I was learning to see. ...
    (alt.sports.baseball.ny-yankees)