Colin Dean schreef: > I'm getting an error while compiling dropbear in step 12.4 of CLFS > Embedded. It's compiler-ese to me. > > [clfs /mnt/clfs/sources/dropbear-0.48.1]$ make MULTI=1 > PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" > i486-pc-linux-uclibc-ld -o dropbearmulti dbmulti.o atomicio.o > bignum.o buffer.o circbuffer.o cli-algo.o cli-auth.o > cli-authinteract.o cli-authpasswd.o cli-authpubkey.o cli-channel.o > cli-chansession.o cli-kex.o cli-main.o cli-runopts.o cli-service.o > cli-session.o cli-tcpfwd.o common-algo.o common-channel.o > common-chansession.o common-kex.o common-runopts.o common-session.o > compat.o dbutil.o dropbearconvert.o dropbearkey.o dss.o fake-rfc2553.o > gendss.o genrsa.o keyimport.o listener.o loginrec.o packet.o > process-packet.o progressmeter.o queue.o random.o rsa.o scp.o > scpmisc.o signkey.o sshpty.o svr-agentfwd.o svr-algo.o svr-auth.o > svr-authpam.o svr-authpasswd.o svr-authpubkey.o svr-chansession.o > svr-kex.o svr-main.o svr-runopts.o svr-service.o svr-session.o > svr-tcpfwd.o svr-x11fwd.o tcp-accept.o termcodes.o > libtomcrypt/libtomcrypt.a libtommath/libtommath.a -lutil -lz -lcrypt > i486-pc-linux-uclibc-ld: warning: cannot find entry symbol _start; > defaulting to 0804a158 > scp.o: In function `bwlimit': > scp.c:(.text+0x3cd): undefined reference to `__fixunsdfdi' > scp.c:(.text+0x3e1): undefined reference to `__udivdi3' > scp.c:(.text+0x3fa): undefined reference to `__umoddi3' > libtommath/libtommath.a(bn_mp_div.o): In function `mp_div': > bn_mp_div.c:(.text+0x261): undefined reference to `__udivdi3' > libtommath/libtommath.a(bn_mp_div_d.o): In function `mp_div_d': > bn_mp_div_d.c:(.text+0x155): undefined reference to `__udivdi3' > make: *** [multibinary] Error 1 > > Ideas? > _______________________________________________ > Clfs-dev mailing list > [email protected] > http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev Thanks, I should have fixed this earlier, the fix is:
sed -e s/@LD@/@CC@/ -i Makefile.in I updated the instructions in the book now, so try those out if you want . Maarten _______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev
