Re: Undefined reference to __fixunsdfdi and __umoddi3

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

 



> ld -o scp scp.o progressmeter.o -L. -Lopenbsd-compat/ -L/usr/lib -L/usr/lib  -L/usr/lib -Wl,-R/usr/lib -lssh -lopenbsd-compat -lutil -lz -lnsl -lcrypto -lcrypt
> /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0804923c
> scp.o(.text+0x15ac): In function `bwlimit':
> : undefined reference to `__fixunsdfdi'
> scp.o(.text+0x15c1): In function `bwlimit':
> : undefined reference to `__udivdi3'

I fixed this by using "cc" instead of "ld".

   Jeremy C. Reed
   http://bsd.reedmedia.net/


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux