2001-04-07 21:02:22

by Jonathan Hudson

[permalink] [raw]
Subject: Unresolved symbol in 2.4.4p1, ia32

depmod: *** Unresolved symbols in
/lib/modules/2.4.4-pre1/kernel/drivers/ide/ide-cd.o
depmod: strstr

depmod: *** Unresolved symbols in
/lib/modules/2.4.4-pre1/kernel/drivers/parport/parport.o
depmod: strstr


2001-04-09 16:56:04

by Todd M. Roy

[permalink] [raw]
Subject: Re: Unresolved symbol in 2.4.4p1, ia32

> From: Jonathan Hudson <[email protected]>
> X-Newsreader: knews 1.0b.1
> x-no-productlinks: yes
> X-Newsgroups: fa.linux.kernel
> Content-Type: text/plain; charset=iso-8859-1
> Date: Sat, 07 Apr 2001 21:01:56 GMT
> Bytes: 235
> Sender: [email protected]
> Precedence: bulk
> X-Mailing-List: [email protected]
>
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.4-pre1/kernel/drivers/ide/ide-cd.o
> depmod: strstr
>
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.4-pre1/kernel/drivers/parport/parport.o
> depmod: strstr
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>

I think strstr (apparently a new function) got left out of
i386_ksyms.c:
The following appears to have fixed it for me:
--- arch/i386/kernel/i386_ksyms.c.~1~ Mon Apr 9 10:54:58 2001
+++ arch/i386/kernel/i386_ksyms.c Mon Apr 9 12:46:45 2001
@@ -97,6 +97,7 @@
EXPORT_SYMBOL_NOVERS(__put_user_2);
EXPORT_SYMBOL_NOVERS(__put_user_4);

+EXPORT_SYMBOL(strstr);
EXPORT_SYMBOL(strtok);
EXPORT_SYMBOL(strpbrk);
EXPORT_SYMBOL(simple_strtol);


-- todd --

**********************************************************************
This footnote confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************

2001-04-09 18:56:57

by Alan

[permalink] [raw]
Subject: Re: Unresolved symbol in 2.4.4p1, ia32

> depmod: *** Unresolved symbols in
> /lib/modules/2.4.4-pre1/kernel/drivers/ide/ide-cd.o
> depmod: strstr
>
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.4-pre1/kernel/drivers/parport/parport.o
> depmod: strstr

That'll be from my patches. Now I am back I'll check over the stuff I sent
Linus and see what escaped/got dropped/didnt get sent. I suspect its a missing
EXPORT entry

2001-04-09 19:26:30

by Andrea Arcangeli

[permalink] [raw]
Subject: Re: Unresolved symbol in 2.4.4p1, ia32

On Mon, Apr 09, 2001 at 07:58:23PM +0100, Alan Cox wrote:
> > depmod: *** Unresolved symbols in
> > /lib/modules/2.4.4-pre1/kernel/drivers/ide/ide-cd.o
> > depmod: strstr
> >
> > depmod: *** Unresolved symbols in
> > /lib/modules/2.4.4-pre1/kernel/drivers/parport/parport.o
> > depmod: strstr
>
> That'll be from my patches. Now I am back I'll check over the stuff I sent
> Linus and see what escaped/got dropped/didnt get sent. I suspect its a missing
> EXPORT entry

Yep.

ftp://ftp.kernel.org/pub/linux/kernel/people/andrea/patches/v2.4/2.4.4pre1/strstr-1

Andrea