Hi George, George Sherwood wrote: > No problems building samba 3.2.5, but having a link error with 3.2.6. > Haven't been able to find a solution. > > Compiling nsswitch/wins.c > Linking nsswitch/libnss_wins.so > /tmp/ccvWgbGU.o: In function `main': > mount.cifs.c:(.text+0x1f29): undefined reference to `unlock_mtab' > mount.cifs.c:(.text+0x1f33): undefined reference to `lock_mtab' > mount.cifs.c:(.text+0x1f7a): undefined reference to `unlock_mtab' > mount.cifs.c:(.text+0x20c8): undefined reference to `unlock_mtab' > collect2: ld returned 1 exit status
How do you compile/link mount.cifs? When doing a fresh build (autogen / configure / make everything), this should correctly create you bin/mount.cifs. In 3.2.6, a new object has been added to mount.cifs, namely client/mtab.o. So when you compile with a individual command like "gcc -o mount.cifs client/mount.cifs.c", this will fail with exactly the error message as specified above. Cheers - Michael -- Michael Adam <m...@sernet.de> <ob...@samba.org> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.SerNet.DE, mailto: Info @ SerNet.DE
pgpx84Z6ZhbzG.pgp
Description: PGP signature
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba