Skip to contentSkip to conversation

build failure of latest ethtool

DISCUSSION Or Gerlitz 2 participants 3 messages Dec 6, 2012

Subsystems (2)
lore
Share & tools
lore

Or Gerlitz

author
#0 lore raw

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
#1 lore raw
Quoted 4 lines · Or Gerlitz

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.

Signature · 3 lines
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.
author
#2 lore raw
Quoted 1 line · Ben Hutchings

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