Samba 3.3.2, Solaris 10 x86, gcc 3.4.3 or cc (SunStudio 12) give the following compile error: Compiling nsswitch/wbinfo.c Linking bin/wbinfo Undefined first referenced symbol in file wbcChangeUserPassword nsswitch/wbinfo.o wbcRemoveUidMapping nsswitch/wbinfo.o wbcRemoveGidMapping nsswitch/wbinfo.o wbcGetDisplayName nsswitch/wbinfo.o ld: fatal: Symbol referencing errors. No output written to bin/wbinfo collect2: ld returned 1 exit status gmake: *** [bin/wbinfo] Error 1 Regards, Wilfred
On Thu, Mar 12, 2009 at 03:55:45PM +0100, Wilfred Gander wrote:> Samba 3.3.2, Solaris 10 x86, gcc 3.4.3 or cc (SunStudio 12) give the > following compile error: > > Compiling nsswitch/wbinfo.c > Linking bin/wbinfo > Undefined first referenced > symbol in file > wbcChangeUserPassword nsswitch/wbinfo.o > wbcRemoveUidMapping nsswitch/wbinfo.o > wbcRemoveGidMapping nsswitch/wbinfo.o > wbcGetDisplayName nsswitch/wbinfo.o > ld: fatal: Symbol referencing errors. No output written to bin/wbinfo > collect2: ld returned 1 exit status > gmake: *** [bin/wbinfo] Error 1Looks like you have an old version of libwbclient in you linker path somewhere. Jeremy
Thanks Jeremy, the problem is fixed! Wilfred On Thu, Mar 12, 2009 at 7:56 PM, Jeremy Allison <jra@samba.org> wrote:> On Thu, Mar 12, 2009 at 03:55:45PM +0100, Wilfred Gander wrote: >> Samba 3.3.2, Solaris 10 x86, gcc 3.4.3 or cc (SunStudio 12) give the >> following compile error: >> >> Compiling nsswitch/wbinfo.c >> Linking bin/wbinfo >> Undefined ? ? ? ? ? ? ? ? ? ? ? first referenced >> ?symbol ? ? ? ? ? ? ? ? ? ? ? ? ? ? in file >> wbcChangeUserPassword ? ? ? ? ? ? ? nsswitch/wbinfo.o >> wbcRemoveUidMapping ? ? ? ? ? ? ? ? nsswitch/wbinfo.o >> wbcRemoveGidMapping ? ? ? ? ? ? ? ? nsswitch/wbinfo.o >> wbcGetDisplayName ? ? ? ? ? ? ? ? ? nsswitch/wbinfo.o >> ld: fatal: Symbol referencing errors. No output written to bin/wbinfo >> collect2: ld returned 1 exit status >> gmake: *** [bin/wbinfo] Error 1 > > Looks like you have an old version of libwbclient in > you linker path somewhere. > > Jeremy