2002-01-31 05:07:16

by Benjamin Pharr

[permalink] [raw]
Subject: 2.5.3: Unresolved Symbols in ppp_deflate.o and ufs.o

After moving the files from linux/ and applying the i810 patch posted to
the list, I made it all the way to the end of a "make dep bzImage
modules modules_install" without any errors. However, I got this right
at the end:

make[1]: Leaving directory `/usr/src/linux-2.5.3/arch/i386/lib'
cd /lib/modules/2.5.3; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}
pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.3; fi
depmod: *** Unresolved symbols in
/lib/modules/2.5.3/kernel/drivers/net/ppp_deflate.o
depmod: zlib_inflateIncomp
depmod: *** Unresolved symbols in /lib/modules/2.5.3/kernel/fs/ufs/ufs.o
depmod: lock_kernel
depmod: unlock_kernel
benix:/usr/src/linux-2.5.3#

Ben Pharr


Attachments:
(No filename) (749.00 B)
(No filename) (232.00 B)
Download all attachments

2002-02-02 20:37:46

by Marcelo Roberto Jimenez

[permalink] [raw]
Subject: Re: 2.5.3: Unresolved Symbols in ppp_deflate.o and ufs.o

I'm having the same problem:

...
make -C arch/i386/lib modules_install
make[1]: Entering directory
`/home/mroberto/programs/kernel/2.5.3/plain/linux/arch/i386/lib'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory
`/home/mroberto/programs/kernel/2.5.3/plain/linux/arch/i386/lib'
cd /lib/modules/2.5.3; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.3; fi
depmod: *** Unresolved symbols in
/lib/modules/2.5.3/kernel/drivers/net/ppp_deflate.o
depmod: zlib_inflateIncomp


Regards,

Marcelo.


2002-02-03 16:56:17

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: 2.5.3: Unresolved Symbols in ppp_deflate.o and ufs.o

Em Sat, Feb 02, 2002 at 06:37:20PM -0200, Marcelo Roberto Jimenez escreveu:
> I'm having the same problem:
>
> depmod: *** Unresolved symbols in
> /lib/modules/2.5.3/kernel/drivers/net/ppp_deflate.o
> depmod: zlib_inflateIncomp

Try this:


Index: lib/zlib_inflate/inflate_syms.c
===================================================================
RCS file: /home/cvs/kernel-acme/lib/zlib_inflate/inflate_syms.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 inflate_syms.c
--- lib/zlib_inflate/inflate_syms.c 2002/01/31 22:30:27 1.1.1.1
+++ lib/zlib_inflate/inflate_syms.c 2002/02/02 23:36:05
@@ -18,4 +18,5 @@
EXPORT_SYMBOL(zlib_inflateSync);
EXPORT_SYMBOL(zlib_inflateReset);
EXPORT_SYMBOL(zlib_inflateSyncPoint);
+EXPORT_SYMBOL(zlib_inflateIncomp);
MODULE_LICENSE("GPL");