[2.1.36/2.0.30] compiling woes...

Tuomas Heino (tbittih@xgw.fi)
Fri, 2 May 1997 19:36:10 +0300 (EET DST)


(Just noticed I forgot to _send_ this message about a week ago...)

[compiler, etc up to 2.1.36 Changes requirements 'cept binutils (2.7.0.3)]

2.1.36 first... (without SMP)
stderr from make zImage

sched.c:186: warning: `runqueue_lock' defined but not used
sched.c:703: warning: `timerlist_lock' defined but not used
filesystems.c: In function `sys_setup':
filesystems.c:86: warning: implicit declaration of function `nlmxdr_init'
tcp_ipv4.c: In function `tcp_v4_rcv':
tcp_ipv4.c:1225: warning: unsigned int format, long unsigned int arg (arg 5)
tcp_ipv4.c:1225: warning: unsigned int format, long unsigned int arg (arg 6)

and stderr from make modules

de4x5.c: In function `de4x5_ioctl':
de4x5.c:4681: warning: assignment from incompatible pointer type
de4x5.c:4681: warning: assignment from incompatible pointer type
audio.c: In function `audio_ioctl':
audio.c:400: warning: implicit declaration of function `dma_ioctl'
audio.c: At top level:
audio.c:789: warning: `dma_ioctl' was declared implicitly `extern' and
later `static'
nfsctl.c: In function `init_module':
nfsctl.c:229: warning: assignment from incompatible pointer type
nfsctl.c: At top level:
nfsctl.c:217: warning: `old_syscallvec' defined but not used
waitq.c: In function `autofs_write':
waitq.c:46: warning: `written' might be used uninitialized in this function

When I tried with SMP on, it didn't complain about filesystems.c nor
sched.c but compiling modules failed miserably...

then... 2.0.30 (for sound; hasn't worked in 2.1's since 2.1.17 or something)

at the first tries make dep failed around the second file... something
about some .ver ... don't remember exactly ... after that I nfs mounted
the 2.0.30 dir on a clean (and slow) RH4.0 box and make dep'd once...
after that the make dep didn't fail... but compile did:

In file included from /usr/src/linux-2.0.30/include/linux/modversions.h:9,
from /usr/src/linux-2.0.30/include/linux/module.h:17,
from ksyms.c:12:
/usr/src/linux-2.0.30/include/linux/modules/ksyms.ver:3: unterminated
`#if' conditional
In file included from /usr/src/linux-2.0.30/include/linux/modversions.h:10,
from /usr/src/linux-2.0.30/include/linux/module.h:17,
from ksyms.c:12:
/usr/src/linux-2.0.30/include/linux/modules/md.ver:3: unterminated `#if'
conditional
ksyms.c:88: macro `_basic_version' used with just one arg
ksyms.c:[90-355] - same thing....
ksyms.c:97: initializer element for `symbol_table.symbol[4].addr' is not constant
ksyms.c:[103-342] - same for [5-192]... (the ranges _do_ have 'holes';)

make[2]: *** [ksyms.o] Error 1
make[1]: *** [first_rule] Error 2
make: *** [linuxsubdirs] Error 2

... I had compiled 2.0.30 earlier on that slow (i486) puter for that slow
puter ... 2.0.30 would be nice for this puter as 2.0.29 gets boring...(sound)