AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@lsi.com
RQ:
SSV:mhbs.lsil.com
NSV:
SSH:
R:<Maxim.Kozlovsky@lsi.com>,<Rendell.Fong@lsi.com>,<Bill.Fisher@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/LSI/INBOX	0	861DA0537719934884B3D30A2666FECC94455DC5@cosmail02.lsi.com
X-Sylpheed-End-Special-Headers: 1
Date: Fri, 9 Oct 2009 16:55:16 -0700
From: Andrew Sharp <andy.sharp@lsi.com>
To: "Kozlovsky, Maxim" <Maxim.Kozlovsky@lsi.com>
Cc: "Fong, Rendell" <Rendell.Fong@lsi.com>, "Fisher, Bill"
 <Bill.Fisher@lsi.com>
Subject: Re: [Fwd: does not build]
Message-ID: <20091009165516.735d2760@ripper.onstor.net>
In-Reply-To: <861DA0537719934884B3D30A2666FECC94455DC5@cosmail02.lsi.com>
References: <4ACE6B93.2020809@lsi.com>
	<1255044107.14287.251.camel@rendellf>
	<861DA0537719934884B3D30A2666FECC943E8F5D@cosmail02.lsi.com>
	<1255049121.14287.257.camel@rendellf>
	<20091009163002.2dfca723@ripper.onstor.net>
	<861DA0537719934884B3D30A2666FECC94455DC5@cosmail02.lsi.com>
Organization: LSI
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

As a matter of fact I can and did.  However, feel free to jump in and
fix warnings where ever you like.

This should give you ample description of how the txrx module is
currently building.  Let me know if there's any questions about how
something works, how it might be applied to compiling the FP code, etc.

Cheers,

a

On Fri, 9 Oct 2009 17:45:07 -0600 "Kozlovsky, Maxim"
<Maxim.Kozlovsky@lsi.com> wrote:

> There are still multiple warnings when trying to build the module.
> You can't really say that it is builds with all these warnings. 
> 
> -----Original Message-----
> From: Andrew Sharp [mailto:andy.sharp@lsi.com] 
> Sent: Friday, October 09, 2009 4:30 PM
> To: Fong, Rendell
> Cc: Kozlovsky, Maxim; Fisher, Bill
> Subject: Re: [Fwd: does not build]
> 
> OK,
> 
> I've plucked two changes from the two very large changelists of
> Rendell's that are on my review list that seem to fix the build.  I
> checked them in and tested the build.
> 
> Please let me know if there are other questions or procedures where I
> can give information on how the building works, the basic structure of
> the makefiles, any of that.
> 
> Cheers,
> 
> a
> 
> 
>  On Thu, 8 Oct 2009 18:45:21 -0600 Rendell Fong
> <Rendell.Fong@lsi.com> wrote:
> 
> > Sorry about that.  I have a change list that is still being reviewed
> > which includes the file with that new #define.  It should have been
> > included in the change list that was checked in a few days ago.  It
> > should build once its submitted.
> > 
> > 
> > On Thu, 2009-10-08 at 17:26 -0600, Kozlovsky, Maxim wrote:
> > > The jumbo module does not build either, in addition to spitting
> > > out a thousand of warnings:
> > > 
> > > it declaration of function 'acpu_conn_has_become_idle'
> > > /homes/maximk/t/nfx-tree/code/sm-vsvr/vs-api.c: In function
> > > 'vs_sendMessage': /homes/maximk/t/nfx-tree/code/sm-vsvr/vs-api.c:2094:
> > > error: 'VSX_APP_NAME' undeclared (first use in this
> > > function) /homes/maximk/t/nfx-tree/code/sm-vsvr/vs-api.c:2094:
> > > error: (Each undeclared identifier is reported only
> > > once /homes/maximk/t/nfx-tree/code/sm-vsvr/vs-api.c:2094: error:
> > > for each function it appears
> > > in.) /homes/maximk/t/nfx-tree/code/sm-vsvr/vs-api.c: In function
> > > 'vs_initPkg': /homes/maximk/t/nfx-tree/code/sm-vsvr/vs-api.c:2993:
> > > error: 'VSX_APP_NAME' undeclared (first use in this
> > > function) /homes/maximk/t/nfx-tree/code/sm-vsvr/vs-api.c: In
> > > function
> > > 'vs_unbindAllBCB': /homes/maximk/t/nfx-tree/code/sm-vsvr/vs-api.c:4999:
> > > warning: implicit declaration of function 'acpu_conn_close_list'
> > > In file included
> > > from /homes/maximk/t/nfx-tree/code/../code/sm-nfs/nfs-stats.h:612,
> > > from /homes/maximk/t/nfx-tree/code/sm-vsvr/vs-struct.h:28,
> > > from /homes/maximk/t/nfx-tree/code/sm-vsvr/vs-reloc-api.c:21: /homes/maximk/t/nfx-tree/code/../code/sm-authorization/author-stats.h:
> > > In functi
> > > 
> > > -----Original Message-----
> > > From: Rendell Fong [mailto:Rendell.Fong@lsi.com] 
> > > Sent: Thursday, October 08, 2009 4:22 PM
> > > To: Fisher, Bill
> > > Cc: Sharp, Andy; Kozlovsky, Maxim
> > > Subject: Re: [Fwd: does not build]
> > > 
> > > 
> > > On Thu, 2009-10-08 at 16:45 -0600, William Fisher wrote:
> > > > 
> > > > -------- Original Message --------
> > > > Subject: does not build
> > > > Date: Thu, 8 Oct 2009 16:01:57 -0600
> > > > From: Kozlovsky, Maxim <Maxim.Kozlovsky@lsi.com>
> > > > To: Fisher, Bill <Bill.Fisher@lsi.com>
> > > > 
> > > > mipsel-linux-gnu-ld: Dwarf Error: found dwarf version '0', this
> > > > reader only handles version 2 information.
> > > > mipsel-linux-gnu-ld: Dwarf Error: found dwarf version '1673',
> > > > this reader only handles version 2 information.
> > > > drivers/built-in.o: In function `$L129':
> > > > drivers/mgmt-bus/rcon.c:(.text+0x40310): undefined reference to
> > > > `eee_poll' drivers/mgmt-bus/rcon.c:(.text+0x40310): relocation
> > > > truncated to fit: R_MIPS_26 against `eee_poll'
> > > > mipsel-linux-gnu-ld: Dwarf Error: found dwarf version '0', this
> > > > reader only handles version 2 information.
> > > > mipsel-linux-gnu-ld: Dwarf Error: found dwarf version '4336',
> > > > this reader only handles version 2 information.
> > > > net/built-in.o: In function `$LVL195':
> > > > net/neteee/neteee.c:(.text+0xa1190): undefined reference to
> > > > `eee_rcv_pkt' net/neteee/neteee.c:(.text+0xa1190): relocation
> > > > truncated to fit: R_MIPS_26 against `eee_rcv_pkt'
> > > > net/built-in.o: In function `$L183':
> > > > net/neteee/neteee.c:(.text+0xa11f8): undefined reference to 
> > > > `eee_txrxIsPktToNcpu_kernel'
> > > > net/neteee/neteee.c:(.text+0xa11f8): relocation truncated to
> > > > fit: R_MIPS_26 against `eee_txrxIsPktToNcpu_kernel'
> > > > make: *** [.tmp_vmlinux1] Error 1
> > > > 
> > > > ==================
> > > > 
> > > > This is the stock tree from Max. What are you guys doing
> > > > to resolve these symbols which were in neteee2?
> > > > 
> > > > I will either revert Rendall's perforce commit
> > > > or do the work again to get the net/tpl and net/neteee2
> > > > and net/neteee-ui back into the kernel for my testing.
> > > > 
> > > > -- Bill
> > > > 
> > > > 
> > > 
> > > I build with by restoring those 3 directories in my workspace plus
> > > the required patches to net/Kconfig, net/Makefile, and
> > > include/net/sock.h.
> > > 
> > > linux-compile.onstor.net $ p4 diff include/net/sock.h
> > > ==== //depot/tuxrx/linux/kernel/linux-mips-2.6/include/net/sock.h#3
> > > - /homes/rendellf/tuxrx/linux/kernel/linux-mips-2.6/include/net/sock.h
> > > ====
> > > 328c328
> > > < #ifdef CONFIG_TPL
> > > ---
> > > > #ifdef CONFIG_ONSTOR_TPL
> > > 
> > > linux-compile.onstor.net $ p4 diff Kconfig
> > > ==== //depot/tuxrx/linux/kernel/linux-mips-2.6/net/Kconfig#3
> > > - /homes/rendellf/tuxrx/linux/kernel/linux-mips-2.6/net/Kconfig
> > > ==== 37a38,40
> > > > source "net/neteee2/Kconfig"
> > > > source "net/tpl/Kconfig"
> > > > source "net/neteee-ui/Kconfig"
> > > 
> > > linux-compile.onstor.net $ p4 diff Makefile
> > > ==== //depot/tuxrx/linux/kernel/linux-mips-2.6/net/Makefile#3
> > > - /homes/rendellf/tuxrx/linux/kernel/linux-mips-2.6/net/Makefile
> > > ==== 54a55,56
> > > > obj-$(CONFIG_ONSTOR_TPL)    += tpl/
> > > > obj-$(CONFIG_ONSTOR_NETEEE2)    += neteee2/
> > > 55a58
> > > > obj-$(CONFIG_NETEEE_UI)               += neteee-ui/
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
