On 2007-4-6 22:39 UTC, Swaroop Sugunan wrote: > > We are getting the following error while trying to build the software > using gmake. > > CC -mt -i -xarch=amd64 -o ../../../unixshared/bin/solarisx64/CPpwdPlugin > CPpwdAgent.o unix.o Service.o -L../../../unixshared/lib/solarisx64 > -L../../../unixshared/bin/solarisx64 ... > -lpthread -lsocket -lnsl -lxnet -ldl -g
Copy and paste that command into a shell; presumably you'll see it fail in the same way. This error message comes from the linker, not 'make': > Undefined first referenced > symbol in file > fdatasync > ../../../ExternalAPIs/Sleepycat/solarisx64/lib/libdb.a(os_fsync.o) > ld: fatal: Symbol referencing errors. No output written to > ../../../unixshared/bin/solarisx64/CPpwdPlugin The linker is trying to find 'fdatasync', but it cannot. You need to link the library in which your system provides 'fdatasync': apparently 'libdb.a' depends on it. 'make' just passes commands to a shell. All 'make' knows is that the command failed: > gmake[2]: *** [../../../unixshared/bin/solarisx64/CPpwdPlugin] Error 1 _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
