| Summary: | net-dialup/hsfmodem-7.68.00.14 fails to build with 2.6.27-gentoo-r7 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andrey Vihrov <andrey.vihrov> |
| Component: | Current packages | Assignee: | Gentoo Dialup Developers <net-dialup> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chaujc |
| Priority: | High | ||
| Version: | 2008.0 | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Andrey Vihrov
2009-01-06 19:18:27 UTC
/usr/lib64/hsfmodem/modules/Makefile:25: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for x86_64, this is likely to fail... *** that is quite surprising ... This is most likely due to "Processor family (Core 2/newer Xeon)" selected in kernel config instead of Generic x86_64. struct pci_dev in include/linux/pci.h seems unaffected by this option to me. According to this, <http://www.linuxant.com/pipermail/hsflinux/2008q4/002385.html>, there is a patch available (Quoted below): > Hi, > > there is now a patch available at: > > http://www.linuxant.com/drivers/hsf/downloads-patches.php > > to fix this build issue of driver version 7.68.00.14 on the 2.6.27.8 kernel. > > Regards, > > > Jonathan > Technical specialist / Linuxant > www.linuxant.com > support at linuxant.com But the given site currently shows no patches. Perhaps this is because it is part of a newer version of hsfmodem. From <http://www.linuxant.com/drivers/hsf/changes.php>: > Thu Dec 18 2008 - > # Released hsfmodem-7.80.02.01. > > Mon Dec 15 2008 - > # Improved compatibility with newer kernels and distributions. > # Merged latest Conexant modem code. (7.80.02) Can someone make a new ebuild for the new version and stick that into the tree? Thanks. BTW, the bug also affects my x86 (Pentium-M) system too. Error from /tmp/hsfconfig-buildlog.txt below: Makefile:25: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... *** (cd /lib/modules/2.6.27-gentoo-r7-2009Jan11/build && make "CNXT_KERNELSRC=/lib/modules/2.6.27-gentoo-r7-2009Jan11/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean) make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo-r7' /usr/lib/hsfmodem/modules/Makefile:25: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... *** make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r7' (cd /lib/modules/2.6.27-gentoo-r7-2009Jan11/build && make "CNXT_KERNELSRC=/lib/modules/2.6.27-gentoo-r7-2009Jan11/build" "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc" " HDA_CFLAGS=-DFOUND_KZALLOC -DFOUND_TLV -DFOUND_IRQ_HANDLER_T -DFOUND_DELAYED_WORK -DFOUND_NO_CTL_ELEM_RW" clean) make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo-r7' make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r7' rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions /lib/modules/2.6.27-gentoo-r7-2009Jan11/build/.tmp_versions/hsfosspec .mod /lib/modules/2.6.27-gentoo-r7-2009Jan11/build/.tmp_versions/hsfserial.mod /lib/modules/2.6.27-gentoo-r7-2009Jan11/build/.tmp_versions/hsfengine.mod /lib/modules/ 2.6.27-gentoo-r7-2009Jan11/build/.tmp_versions/hsfpcibasic2.mod /lib/modules/2.6.27-gentoo-r7-2009Jan11/build/.tmp_versions/hsfpcibasic3.mod /lib/modules/2.6.27-gentoo -r7-2009Jan11/build/.tmp_versions/hsfmc97ich.mod /lib/modules/2.6.27-gentoo-r7-2009Jan11/build/.tmp_versions/hsfmc97via.mod /lib/modules/2.6.27-gentoo-r7-2009Jan11/bui ld/.tmp_versions/hsfmc97ali.mod /lib/modules/2.6.27-gentoo-r7-2009Jan11/build/.tmp_versions/hsfmc97ati.mod /lib/modules/2.6.27-gentoo-r7-2009Jan11/build/.tmp_versions/ hsfmc97sis.mod /lib/modules/2.6.27-gentoo-r7-2009Jan11/build/.tmp_versions/hsfsoar.mod Modules.symvers GPL/hda/Mod ules.symvers Module.symvers GPL/hda/Module.symvers modules.order (cd /lib/modules/2.6.27-gentoo-r7-2009Jan11/build && make "CNXT_KERNELSRC=/lib/modules/2.6.27-gentoo-r7-2009Jan11/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules) make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo-r7' /usr/lib/hsfmodem/modules/Makefile:25: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... *** CC [M] /usr/lib/hsfmodem/modules/mod_engine.o CC [M] /usr/lib/hsfmodem/modules/mod_mc97ali.o In file included from /usr/lib/hsfmodem/modules/mod_mc97ali.c:32: /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_probe': /usr/lib/hsfmodem/modules/cnxthwpci_common.c:38: error: 'struct pci_dev' has no member named 'slot_name' /usr/lib/hsfmodem/modules/cnxthwpci_common.c:57: error: 'struct pci_dev' has no member named 'slot_name' /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_init': /usr/lib/hsfmodem/modules/cnxthwpci_common.c:247: error: 'struct pci_dev' has no member named 'slot_name' make[2]: *** [/usr/lib/hsfmodem/modules/mod_mc97ali.o] Error 1 make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r7' make: *** [all] Error 2 emerge --info: Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7-2009Jan11 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r7-2009Jan11-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-glibc2.0 Timestamp of tree: Sun, 11 Jan 2009 16:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://gentoo.netnitco.net http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://mirror.datapipe.net/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en_US en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth bzip2 cairo caps cdparanoia cjk cli cracklib crypt cups dbus directfb divx dri dts dvb dvd eap-tls emacs encode exif fbcon ffmpeg flac fortran ftp gd gdbm gif gmedia gnutls gpm gstreamer gtk hal hardened iconv ipv6 isdnlog java javascript jpeg jpeg2k libcaca logrotate lzo mad mailwrapper matroska mbrola midi mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcmcia pcre pdf perl png ppds pppd prediction preview-latex python qt4 quicktime readline realmedia reflection samba scanner sdl session socks5 sound spell spl sse sse2 ssl svg sysfs tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vlm vorbis wifi win32codecs wmf wmp wxwindows x86 xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Fixed in cvs (hopefully) by bumping version to 7.80.02.01. The new version compiles fine, thanks for quick resolution. I just got and installed the new ebuild. I can confirm that it compiles for me. Thanks! |