Hi Felix,

please try if the script below clarifies your issues. I did not try to
insmod the module built by it but I'm positive it will work.

Best regards,
Martin

######### START #########
#!/bin/sh

# our buildmachine is also the target
KVER=`uname -r`
# use something like that if your installed kernel's version is
# custom and thus nonstandard (like "2.6.21.5-mykernel")
#KVER="2.6.21.5"

wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-${KVER}.tar.bz2
tar xvfj linux-${KVER}.tar.bz2
ln -s linux-${KVER} linux
wget http://heanet.dl.sourceforge.net/sourceforge/tipc/tipc-1.7.5-bundle.tar.gz
tar xvfz tipc-1.7.5-bundle.tar.gz
cd linux
tar xvf ../tipc-1.7.5-bundle/tipc-1.7.5.tar

# hope your current kernel's config can be found there
cp /boot/config-`uname -r` .config

# this will most probably prompt a few times, just hit enter...
make silentoldconfig

# you might want to
#make xconfig

make KBUILD_MODULES=1 prepare
make net/tipc/tipc.ko

# that's the README mentioned
cat README

# there's the module
ls -l net/tipc/tipc.ko
######### END #########



On Feb 6, 2008 9:27 PM, Nayman Felix-QA5535 <[EMAIL PROTECTED]> wrote:
> Al,
>
> Ok, after looking at it a second time, I've noticed that they are the
> same (I misread part of the file the first time) so sorry for the
> confusion but regardless step 4 of the installation says the following:
>
> #
>
> Rebuild and install the kernel in the normal manner.
>
>     eg. make
>
>
> If you are building TIPC as a loadable module, build net/tipc/tipc.ko
> and install it in the standard manner.
>
>     Note: The README file in the top level directory of the kernel
> source tree provides a more complete description of how to build the
> Linux kernel and loadable modules.
>
>
> Where is this README file?
>
> Also, I'm forwarding some comments from Terry when he tried to build
> TIPC and had problems because there is no top-level make file any
> longer:
>
> This is still not correct. It now needs to be built as part of the
> kernel because I see that the makefile has changed to reflect that.
>
> bash-3.1# make net/tipc/tipc.ko
> make: *** No rule to make target `net/tipc/tipc.ko'.  Stop.
>
>
> Thanks,
> Felix
>
> -----Original Message-----
> From: Stephens, Allan [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 06, 2008 11:47 AM
> To: Nayman Felix-QA5535; Martin Peylo
> Cc: [email protected]
>
> Subject: RE: [tipc-discussion] Installing TIPC 1.7.5
>
> Hi Felix:
>
> Can you be more specific about the incorrect information you
> encountered?
>
> As far as I can tell, the user guide in the TIPC 1.7.5 bundle
> (tipc_users_guide.txt, which is dated "24 July 2007" at the start of the
> file) is identical to the one available on the TIPC web site.
>
> -- Al
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Nayman Felix-QA5535
> Sent: Wednesday, February 06, 2008 12:37 PM
> To: Martin Peylo
> Cc: [email protected]
> Subject: Re: [tipc-discussion] Installing TIPC 1.7.5
>
> I wasn't accidentally looking at it, because here's the link:
>
>  http://tipc.sourceforge.net/doc/tipc_1.7_users_guide.html#installation.
>
> It appears that the information here is incorrect, but the users guide
> that comes with the tar ball is correct.
> Someone should update the link.
>
> Thanks,
> Felix
>
> -----Original Message-----
> From: Martin Peylo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 06, 2008 11:26 AM
> To: Nayman Felix-QA5535
> Subject: Re: [tipc-discussion] Installing TIPC 1.7.5
>
> Hi Felix,
>
> I guess you accidentially were looking at the users guide of 1.5/1.6.
> Chapter four of the tipc_users_guide.txt, included in
> tipc-1.7.5-bundle.tar.gz explains the build process.
>
> In case you don't want to build the whole kernel but only the tipc
> module you can just do
>         /usr/src/linux$ make net/tipc/tipc.ko after updating the TIPC
> part of the kernel sources matching your kernel version as described in
> the users guide.
>
> Best regards,
> Martin
>
>
> On Feb 6, 2008 5:46 PM, Nayman Felix-QA5535 <[EMAIL PROTECTED]>
> wrote:
> >
> >
> > We are trying to install TIPC(1.7.5) as a loadable module, but the
> > documentation in the users guide does not appear to match the source
> code.
> > There is no README file or Makefile at the top level.  Is there still
> > the ability to build tipc as a stand-alone module?
> >
> > Thanks,
> > Felix
> > ----------------------------------------------------------------------
> > --- This SF.net email is sponsored by: Microsoft Defy all challenges.
> > Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > tipc-discussion mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tipc-discussion
> >
> >
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Microsoft Defy all challenges.
> Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> tipc-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tipc-discussion
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to