Compile problem with 2.0.23 / gcc-2.7.2.1

Carlo Wood (carlo@runaway.xs4all.nl)
Mon, 21 Oct 1996 20:41:29 +0100 (MET)


Hi,

I don't know if this happens also with gcc-2.7.2, but I assume not
or else this bug would never have been there ;)

After compilation with gcc-2.7.2.1,
fs/proc/link.o does not contain any symbols (according to `nm'), while
it SHOULD contain `proc_link_inode_operations'.

I solved this by adding an `external':

extern struct inode_operations proc_link_inode_operations;

...just in front of the definition of proc_link_inode_operations;

This generated the variable and solved my linking problems for vmlinuz.

Greetings,

Carlo (not on this list)

PS I compiled my own gcc-2.7.2.1 by applying the existing linux.patch
for gcc-2.7.2 on gcc-2.7.2.1.

-- 
 carlo@runaway.xs4all.nl, Run @ IRC.

"Ok really funny Mr Scott - now Beam up my uniform..."