build failure of latest ethtool

3 messages, 2 authors, 2012-12-06 · open the first message on its own page

build failure of latest ethtool

From: Or Gerlitz <hidden>
Date: 2012-12-06 16:07:34

Hi Ben,

FYI, building the latest ethtool git fails since sfpid.c is not present in the Makefile. Once I built it manually and added to the linkage line, ethtool  builds OK.

$ gcc -Wall -g -O2   -o ethtool ethtool.o amd8111e.o de2104x.o e100.o e1000.o igb.o fec_8xx.o ibm_emac.o ixgb.o ixgbe.o natsemi.o pcnet32.o realtek.o tg3.o marvell.o vioc.o smsc911x.o at76c50x-usb.o sfc.o stmmac.o rxclass.o
ethtool.o: In function `do_getmodule':
/upstream/ethtool/ethtool.c:3616: undefined reference to `sff8079_show_all'
collect2: ld returned 1 exit status
make[1]: *** [ethtool] Error 1

Re: build failure of latest ethtool

From: Ben Hutchings <hidden>
Date: 2012-12-06 16:29:44

On Thu, 2012-12-06 at 18:06 +0200, Or Gerlitz wrote:
Hi Ben,

FYI, building the latest ethtool git fails since sfpid.c is not present 
in the Makefile.
[...]

If you want to build from git you have to run:

./autogen.sh && ./configure && make

Ben.

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

Re: build failure of latest ethtool

From: Or Gerlitz <hidden>
Date: 2012-12-06 16:33:48

On 06/12/2012 18:29, Ben Hutchings wrote:
If you want to build from git you have to run: ./autogen.sh && ./configure && make
OK, sorry for the spam, I pulled the tree but didn't re-run ./autogen.sh && ./configure
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help