Compile Time Failures

Dan Kaminsky effugas at best.com
Tue Nov 9 15:50:15 GMT 1999


Heh guys!

Lots of failed compiles.  Here's what I've been trying to do over the last
few hours.  All compile attempts have been followed by a make clean, so
there shouldn't be any inexplicable interactions.

All compiles are being done on Mandrake 6.1 machines, unless otherwise
noted.

1)  SAMBA-FU 0.1 INSTALLATION (Uses VFS code to do nigh-mythical active
file system stuff)

Followed all the instructions, including compiling with srcdir=`pwd`.
Check out the error:

[root at dsl samba-fu-0.1]# make
make -f /usr/archives/samba-2.0.6pre3/source//Makefile samba-fu.o
make[1]: Entering directory `/usr/archives/samba-fu-0.1'
Compiling samba-fu.c
samba-fu.c:39: vfs.h: No such file or directory
samba-fu.c:40: debug.h: No such file or directory
samba-fu.c:42: safe_string.h: No such file or directory
samba-fu.c:43: smb_macros.h: No such file or directory
make[1]: *** [samba-fu.o] Error 1
make[1]: Leaving directory `/usr/archives/samba-fu-0.1'
make: *** [samba-fu.o] Error 2

No such file?!?

Ehh, I say?

[root at dsl samba-2.0.6pre3]# find .  | grep vfs
[root at dsl samba-2.0.6pre3]#

Wow.  No such file.

2)  SMBWrapper.

[root at dsl source]# ./configure --with-smbwrapper; make

...

Compiling smbwrapper/smbsh.c
Compiling smbwrapper/shared.c
Linking bin/smbsh
Compiling smbwrapper/smbw.c with -fpic
smbwrapper/smbw.c:1429: warning: `struct stat64' declared inside parameter
list
smbwrapper/smbw.c:1429: warning: its scope is only this definition or
declaratio
n,
smbwrapper/smbw.c:1429: warning: which is probably not what you want.
smbwrapper/smbw.c: In function `stat64_convert':
smbwrapper/smbw.c:1431: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1432: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1433: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1434: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1435: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1436: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1437: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1438: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1439: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1440: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1441: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1442: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1443: dereferencing pointer to incomplete type
smbwrapper/smbw.c: At top level:
smbwrapper/smbw.c:1448: warning: `struct dirent64' declared inside
parameter lis
t
smbwrapper/smbw.c: In function `dirent64_convert':
smbwrapper/smbw.c:1450: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1451: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1452: dereferencing pointer to incomplete type
smbwrapper/smbw.c:1453: dereferencing pointer to incomplete type
make: *** [smbwrapper/smbw.po] Error 1
[root at dsl source]#

3)  DFS and AFS support

[root at dsl source]# ./configure --with-dfs; make

Compiling passdb/pass_check.c
passdb/pass_check.c:173: dce/dce_error.h: No such file or directory
passdb/pass_check.c:174: dce/sec_login.h: No such file or directory

[root at dsl source]# cd dce
bash: cd: dce: No such file or directory


[root at localhost source]# ./configure --with-afs; make

Compiling passdb/pass_check.c
passdb/pass_check.c:140: afs/stds.h: No such file or directory
passdb/pass_check.c:141: afs/kautils.h: No such file or directory
make: *** [passdb/pass_check.o] Error 1

[root at localhost source]# cd afs
bash: cd: afs: No such file or directory

4)  --with-smbmount

Compiled fine.

5)  --with-pam

Compiled fine.

6)  --with-netatalk

Compiled fine.  (Ooh?  Export of Samba shares over Appletalk?  Is that
what this does?!?)

7)  --with-mmap

Compiled fine.

8)  --with-ssl

Compiled fine.

9)  --with-automount

Compiled fine.

10)  --with-ldap

checking whether to use LDAP password database... yes
configure: error: LDAP password database not supported in this version.

Heh!  Can't we at least have a force-compile, so it can be hacked on and
made functional?

11)  --with-nisplus-home

Compiled fine.

12)  ./configure --with-nisplus

Linking bin/smbd
passdb/nispass.o: In function `make_sam_from_nisresult':
passdb/nispass.o(.text+0x867): undefined reference to `nis_sperrno'
passdb/nispass.o: In function `nisp_get_nis_list':
passdb/nispass.o(.text+0x91f): undefined reference to `nis_list'
passdb/nispass.o(.text+0x976): undefined reference to `nis_freeresult'
passdb/nispass.o: In function `endnisppwent':
passdb/nispass.o(.text+0x9ca): undefined reference to `nis_freeresult'
passdb/nispass.o: In function `add_nisp21pwd_entry':
passdb/nispass.o(.text+0xc18): undefined reference to `nis_sperrno'
passdb/nispass.o(.text+0xc9a): undefined reference to `nis_lookup'
passdb/nispass.o(.text+0xcb4): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0xcc0): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0xcf9): undefined reference to `nis_sperrno'
passdb/nispass.o(.text+0xdde): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x11ce): undefined reference to `nis_add_entry'
passdb/nispass.o(.text+0x1206): undefined reference to `nis_sperrno'
passdb/nispass.o(.text+0x1229): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x122f): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x123b): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x124b): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x1251): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x125d): more undefined references to
`nis_freeresult' fo
llow
passdb/nispass.o: In function `mod_nisp21pwd_entry':
passdb/nispass.o(.text+0x1395): undefined reference to `nis_list'
passdb/nispass.o(.text+0x1808): undefined reference to `nis_add_entry'
passdb/nispass.o(.text+0x1840): undefined reference to `nis_sperrno'
passdb/nispass.o(.text+0x185b): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x1867): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x18a5): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x18b1): undefined reference to `nis_freeresult'
passdb/nispass.o: In function `getnisp21pwnam':
passdb/nispass.o(.text+0x19d7): undefined reference to `nis_list'
passdb/nispass.o(.text+0x1a2e): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x1a45): undefined reference to `nis_freeresult'
passdb/nispass.o: In function `getnisp21pwrid':
passdb/nispass.o(.text+0x1b60): undefined reference to `nis_list'
passdb/nispass.o(.text+0x1bba): undefined reference to `nis_freeresult'
passdb/nispass.o(.text+0x1bd1): undefined reference to `nis_freeresult'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

Foom.


13)  --with-quotas

Compiled fine.

This should be all the compiliation options, minus the kerberos
stuff(don't machines need to be Kerberized first?).


Yours Truly,

	Dan Kaminsky
	DoxPara Research
	http://www.doxpara.com



More information about the samba-technical mailing list