X-Sylpheed-Account-Id:2
S:andy.sharp@lsi.com
SCF:#mh/Mailbox/sent
X-Sylpheed-Sign:0
X-Sylpheed-Encrypt:0
X-Sylpheed-Privacy-System:
RMID:#imap/LSI/INBOX	0	861DA0537719934884B3D30A2666FECC943E8F5D@cosmail02.lsi.com
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 8 Oct 2009 17:02:44 -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: <20091008170244.4e99ed6c@ripper.onstor.net>
References: <4ACE6B93.2020809@lsi.com>
	<1255044107.14287.251.camel@rendellf>
	<861DA0537719934884B3D30A2666FECC943E8F5D@cosmail02.lsi.com>
Organization: LSI
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

How does building this module related to getting the FP code to build?

There I go again, asking rational questions, when we all know that it
doesn't have anything to do with it.

On Thu, 8 Oct 2009 17:26:08 -0600 "Kozlovsky, Maxim"
<Maxim.Kozlovsky@lsi.com> 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/
> 
> 
> 
> 
> 
> 
