1.3.38 compile errors

Richard Waltham (dormouse@farsrobt.demon.co.uk)
Wed, 8 Nov 1995 19:38:24 +0000 (GMT)


I seem to be having problems getting stuff in from the linux-kernel list
over the last week or two but in case it's just me here's a couple of
problems compiling 1.3.38.


compiling with CONFIG_MODVERSIONS set gives:

gcc -D__KERNEL__ -I/usr/src/linux-1.3.0/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486 -DEXPORT_SYMTAB -c ksyms.c
ksyms.c:161: warning: initialization from incompatible pointer type
ksyms.c:167: initializer element for `symbol_table.name' is not constant
ksyms.c:173: initializer element for `symbol_table[3].addr' is not constant
ksyms.c:191: warning: initialization from incompatible pointer type
ksyms.c:193: warning: initialization from incompatible pointer type

many more similar lines snipped

ksyms.c:535: warning: initialization from incompatible pointer type
ksyms.c:537: warning: initialization from incompatible pointer type
ksyms.c:538: initializer element for `symbol_table[128].addr' is not constant
ksyms.c:539: initializer element for `symbol_table.name' is not constant
make[1]: *** [ksyms.o] Error 1
make[1]: Leaving directory `/usr/src/linux-1.3.0/kernel'
make: *** [linuxsubdirs] Error 2

and compiling with CONFIG_SMB_FS set gives:

gcc -D__KERNEL__ -I/usr/src/linux-1.3.0/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486 -c -o sock.o sock.c
sock.c: In function `smb_data_callback':
sock.c:43: structure has no member named `recvfrom'
sock.c:49: structure has no member named `recvfrom'
sock.c:58: structure has no member named `recvfrom'
sock.c:37: warning: `result' may be used uninitialized in this function
sock.c: In function `smb_receive_raw':
sock.c:193: structure has no member named `recvfrom'
sock.c:240: structure has no member named `recvfrom'
sock.c:182: warning: `result' may be used uninitialized in this function
sock.c: In function `smb_request':
sock.c:491: structure has no member named `send'
sock.c: In function `smb_trans2_request':
sock.c:559: structure has no member named `send'
sock.c: In function `smb_request_read_raw':
sock.c:630: structure has no member named `send'
sock.c: In function `smb_request_write_raw':
sock.c:698: structure has no member named `send'
sock.c:702: structure has no member named `send'
make[2]: *** [sock.o] Error 1
make[2]: Leaving directory `/usr/src/linux-1.3.0/fs/smbfs'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-1.3.0/fs'
make: *** [linuxsubdirs] Error 2