Re: where did memset go?

From: Jeroen Massar (fuzzel@cistron.nl)
Date: Wed Feb 02 2000 - 05:32:13 EST


On 31 Jan 2000, Miquel van Smoorenburg wrote:

> In article <cistron.Pine.LNX.3.96.1000131003156.8657B-100000@picard.cistron.nl>,
> Jeroen Massar <fuzzel@cistron.nl> wrote:
> >I have compiled my kernel with my /dev/changer patch
> >it compiles without problems but.... when I try to insmod the driver....
> >it does the following:
> >
> >[3] root@heaven:/vol1/home/jeroen# insmod changer
> >Using /lib/modules/2.2.14-changer/block/changer.o
> >/lib/modules/2.2.14-changer/block/changer.o: unresolved symbol memset
> >
> >What went wrong ????
>
> I bet you didn't compile with -O2
That's default with 2.2.14 Makefile... :(

Wellps, even tried O6.... maybe that'll work :)

Did the easy way... "#undef memset" and cut&paste
the memset from lib/string.c

Compiles with one warning about the undef... but works for the rest :)

If someone knows of another solution... then bring it on...

I'll put the new patch for 2.2.14 & 2.3.38 on the following website
later this day...

http://unfix.org/projects/changer/
or:
http://fuzzel.op.het.net/changer/

Greets,
 Jeroen Massar

-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to Jeroen Massar <fuzzel@cistron.nl>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:07 EST