RE: Error in building TUX module.

Liang Yang <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
Hi, Alex

Thanks for your reply.

But we don't want to build all the linux kernel modules when we just
changed the source code of TUX. We only want to build TUX.o. The
Makefile in /usr/src/linux-2.4.9-31/net/tux doesn't work.

Liang

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf
Of Alex Antropoff
Sent: Tuesday, April 02, 2002 1:30 AM
To: [email protected]
Subject: Re: Error in building TUX module.


On Mon, Apr 01, 2002 at 11:45:55PM -0700, Liang Yang wrote:
> Hi,
>
> I need to change the source code of TUX and then rebuild TUX as
> a kernel module.
>
> But when I go to "/usr/src/linux-2.4.9-31/net/tux" and use Makefile
> to rebuild tux.o file, First I encounter an error:
>
> Rules.make not found
cd /usr/src/linux-2.4.9-31
make modules modules_install
Btw, do you have .config?

>
> Then I sepcify TOPDIR in the Makefile and build TUX again, this time
> I got a different error as follows:
>
> make[1]: Entering directory `/usr/src/linux-2.4.9-31/net/tux'
> cc    -c -o accept.o accept.c
> accept.c:9:21: net/tux.h: No such file or directory
> make[1]: *** [accept.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.9-31/net/tux'
> make: *** [first_rule] Error 2c:9:21: net/tux.h: No such file or directory
>
> I found Linux kernel can build TUX module correctly when I rebuild
> Linux kernel successfully. So maybe something wrong with the TUX Makefile
> configuration when I use it seperately,but I don't know the reason.
>
> Can you give me a solution?
>
> Thank you.
>
> Liang
>
>
>
> _______________________________________________
> tux-list mailing list
> [email protected]
> https://listman.redhat.com/mailman/listinfo/tux-list
>

--
Regards,
Alex Antropoff



_______________________________________________
tux-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/tux-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.