Date: Sun, 9 Sep 2001 15:10:54 +0200 From: Gabriel Ambuehl <gabriel_ambuehl@buz.ch> To: questions@freebsd.org Subject: Strange ld problems... Message-ID: <121193273776.20010909151054@buz.ch>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hello, I'm trying to get ld link a custom program but keep stumbling across the following problem: ld -L/usr/local/lib -lboost_regex -lxml2 -leasysoap -lstdc++ monitoring.o action.o resource.o host.o resource_container.o bdpopen.o host_container.o class_logfiles.o globals.o soapserver.o -o monitoring /usr/libexec/elf/ld: warning: cannot find entry symbol _start; defaulting to 0804af44 /usr/lib/libc.so.4: undefined reference to `environ' /usr/lib/libc.so.4: undefined reference to `__progname' *** Error code 1 g++ compiles the sources to object files just like it should and even with -Wall, there aren't any bad problems except for one variable about which it thinks is defined but not used (where I think it is wrong about it anyway, cause while it isn't used in the header, it sure as hell is used in the cpp file). What am I doing wrong? Any help would be greatly appreciated. TIA & best regards, Gabriel -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i iQEVAwUBO5tcUsZa2WpymlDxAQF7BAf/UwAuL5EvGtR9ZIjSSGBGRo9drf0vcQNc byZS1O0alNm8wHEoUqNzRwqP9vc9wpmmA7Z9xkEN2+vfBmO9fnpjdA3E9NjGnzvY UDSZa9LTHxIdH3inoYjVmS8nn//RsqbVUmgeiBFszmfSMJ0D0NY7ZxQflOAPspoZ SwgM4+ellHvx4QB4MwAaWaPMn4EB2U0pfsOaIVs1UDNpaZlCyWzrl5JihCDja7n5 hHHVkjF+Tt/XzJdtklcAJEOX7+JQpt3mCcwvj7ob01OjjoDmy0fY5zjCptJ3xZEW rd1lPb295xH2D8xLcc5lnLhwGbcKqdzI024r/nlHLuMXtBuUWP2CUA== =dp7e -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?121193273776.20010909151054>