[Samba] Re:Error compiling Samba 3.3.1

Hannu Tikka hannu.tikka at rpkk.fi
Thu Mar 5 07:14:53 GMT 2009

OpenSuse 10.1 x86-64 I get same kind of error compiling samba 3.3.1:
Linking bin/wbinfo
nsswitch/wbinfo.o: In function `wbinfo_change_user_password':
wbinfo.c:(.text+0x145d): undefined reference to `wbcChangeUserPassword'
nsswitch/wbinfo.o: In function `main':
wbinfo.c:(.text+0x2663): undefined reference to `wbcGetDisplayName'
wbinfo.c:(.text+0x2f26): undefined reference to `wbcRemoveUidMapping'
wbinfo.c:(.text+0x2fb1): undefined reference to `wbcRemoveGidMapping'
collect2: ld returned 1 exit status

3.2.x compiles fine

>Solaris 10 x86, gcc 3.4.3 or cc (SunStudio 12) give the following compile
>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

More information about the samba mailing list