Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125565 - hsfmodem 7.43.00.01full does not compile modules correctly with "GenuineIntel" error
Summary: hsfmodem 7.43.00.01full does not compile modules correctly with "GenuineIntel...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-08 22:19 UTC by Richard Hamnett
Modified: 2006-03-10 04:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Hamnett 2006-03-08 22:19:34 UTC
On installing the latest 7.43.00.01full hsfmodem driver, and running hsfconfig, I get the following error when attempting to build the modules

Makefile:20: *** 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.13-suspend2-r4/build && make "CNXT_KERNELSRC=/lib/modules/2.6.13-suspend2-r4/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc"
 clean)
make[1]: Entering directory `/usr/src/linux-2.6.13-suspend2-r4'
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver pa
ckage is for i386, this is likely to fail... ***
make[1]: Leaving directory `/usr/src/linux-2.6.13-suspend2-r4'
(cd /lib/modules/2.6.13-suspend2-r4/build && make "CNXT_KERNELSRC=/lib/modules/2.6.13-suspend2-r4/build" "M=/usr/lib/hsfmodem/modules/GPL/hda" 
"CC=gcc" clean)
make[1]: Entering directory `/usr/src/linux-2.6.13-suspend2-r4'
make[1]: Leaving directory `/usr/src/linux-2.6.13-suspend2-r4'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/2.6.13-suspend2-r4/build/.tmp_
versions/hsfosspec.mod  /lib/modules/2.6.13-suspend2-r4/build/.tmp_versions/hsfserial.mod  /lib/modules/2.6.13-suspend2-r4/build/.tmp_versions/
hsfengine.mod  /lib/modules/2.6.13-suspend2-r4/build/.tmp_versions/hsfpcibasic2.mod  /lib/modules/2.6.13-suspend2-r4/build/.tmp_versions/hsfmc9
7ich.mod  /lib/modules/2.6.13-suspend2-r4/build/.tmp_versions/hsfmc97via.mod  /lib/modules/2.6.13-suspend2-r4/build/.tmp_versions/hsfmc97ali.mo
d  /lib/modules/2.6.13-suspend2-r4/build/.tmp_versions/hsfmc97ati.mod  /lib/modules/2.6.13-suspend2-r4/build/.tmp_versions/hsfmc97sis.mod  /lib
/modules/2.6.13-suspend2-r4/build/.tmp_versions/hsfsoar.mod
(cd /lib/modules/2.6.13-suspend2-r4/build && make "CNXT_KERNELSRC=/lib/modules/2.6.13-suspend2-r4/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc"
 modules)
make[1]: Entering directory `/usr/src/linux-2.6.13-suspend2-r4'
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver pa
ckage is for i386, this is likely to fail... ***
  CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_hda.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ali.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ati.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ich.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97sis.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97via.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_osspec.o
  CC [M]  /usr/lib/hsfmodem/modules/osservices.o
In file included from include/acpi/acpi.h:55,
                 from include/acpi/acpi_bus.h:31,
                 from include/linux/suspend2.h:7,
                 from include/linux/suspend.h:12,
                 from /usr/lib/hsfmodem/modules/osservices.c:32:
include/acpi/actypes.h:179: error: redefinition of typedef 'UINT8'
/usr/lib/hsfmodem/modules/imported/include/sysenv.h:654: error: previous declaration of 'UINT8' was here
include/acpi/actypes.h:180: error: conflicting types for 'BOOL'
/usr/lib/hsfmodem/modules/imported/include/sysenv.h:432: error: previous declaration of 'BOOL' was here
include/acpi/actypes.h:181: error: redefinition of typedef 'UINT16'
/usr/lib/hsfmodem/modules/imported/include/sysenv.h:652: error: previous declaration of 'UINT16' was here
include/acpi/actypes.h:182: error: redefinition of typedef 'INT32'
/usr/lib/hsfmodem/modules/imported/include/sysenv.h:679: error: previous declaration of 'INT32' was here
include/acpi/actypes.h:183: error: redefinition of typedef 'UINT32'
/usr/lib/hsfmodem/modules/imported/include/sysenv.h:674: error: previous declaration of 'UINT32' was here
include/acpi/actypes.h:184: warning: useless keyword or type name in empty declaration
include/acpi/actypes.h:184: warning: empty declaration
include/acpi/actypes.h:184: warning: empty declaration
/usr/lib/hsfmodem/modules/osservices.c:236: error: conflicting types for 'cnxthsf_OsLockTry'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:283: error: previous declaration of 'cnxthsf_OsLockTry' was here
/usr/lib/hsfmodem/modules/osservices.c:236: error: conflicting types for 'cnxthsf_OsLockTry'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:283: error: previous declaration of 'cnxthsf_OsLockTry' was here
/usr/lib/hsfmodem/modules/osservices.c:282: error: conflicting types for 'cnxthsf_OsAtomicCompareAndSwapEx'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:124: error: previous declaration of 'cnxthsf_OsAtomicCompareAndSwapEx' was here
/usr/lib/hsfmodem/modules/osservices.c:282: error: conflicting types for 'cnxthsf_OsAtomicCompareAndSwapEx'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:124: error: previous declaration of 'cnxthsf_OsAtomicCompareAndSwapEx' was here
/usr/lib/hsfmodem/modules/osservices.c:626: error: conflicting types for 'cnxthsf_OsThreadCreate'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:704: error: previous declaration of 'cnxthsf_OsThreadCreate' was here
/usr/lib/hsfmodem/modules/osservices.c:626: error: conflicting types for 'cnxthsf_OsThreadCreate'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:704: error: previous declaration of 'cnxthsf_OsThreadCreate' was here
/usr/lib/hsfmodem/modules/osservices.c:986: error: conflicting types for 'cnxthsf_OsSetPeriodicTimer'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:564: error: previous declaration of 'cnxthsf_OsSetPeriodicTimer' was here
/usr/lib/hsfmodem/modules/osservices.c:986: error: conflicting types for 'cnxthsf_OsSetPeriodicTimer'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:564: error: previous declaration of 'cnxthsf_OsSetPeriodicTimer' was here
/usr/lib/hsfmodem/modules/osservices.c:1252: error: conflicting types for 'cnxthsf_OsRawVPrintf'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:590: error: previous declaration of 'cnxthsf_OsRawVPrintf' was here
/usr/lib/hsfmodem/modules/osservices.c:1252: error: conflicting types for 'cnxthsf_OsRawVPrintf'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:590: error: previous declaration of 'cnxthsf_OsRawVPrintf' was here
/usr/lib/hsfmodem/modules/osservices.c:1630: error: conflicting types for 'cnxthsf_OsKernelUsesRegParm'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:731: error: previous declaration of 'cnxthsf_OsKernelUsesRegParm' was here
/usr/lib/hsfmodem/modules/osservices.c:1630: error: conflicting types for 'cnxthsf_OsKernelUsesRegParm'
/usr/lib/hsfmodem/modules/imported/include/osservices.h:731: error: previous declaration of 'cnxthsf_OsKernelUsesRegParm' was here
make[2]: *** [/usr/lib/hsfmodem/modules/osservices.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-suspend2-r4'
make: *** [all] Error 2







vaio ~ # emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.13-suspend2-r4 i686)
=================================================================
System uname: 2.6.13-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr cgi crypt cups curl dba dri dri-patch dvb dvd dvdr eds emboss encode exif expat fam ffmpeg foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imagemagick imlib ipv6 java jpeg junit kde lcms libg++ libwww mad mhash mikmod mng motif mozilla mp3 mpeg musicbrainz mysql ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl pic png python qt quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis wifi win32codecs xine xml xml2 xmms xv xvid zlib video_cards_i810 video_cards_i915 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Richard Hamnett 2006-03-08 22:22:01 UTC
Im pretty sure it has to do with the suspend2 patch now, just found this link http://www.linuxant.com/pipermail/hsflinux/2006q1/001942.html


What can we do to resolve this?

Thanks
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2006-03-08 23:06:11 UTC
I'll see what I can do.
In the meantime, please use either the vanilla kernel or an older version of gentoo-sources.
Comment 3 Richard Hamnett 2006-03-08 23:16:38 UTC
Thanks, much appreciated

Unfortunately, in my current situation doing without suspend isn't really an option :(
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2006-03-08 23:26:43 UTC
Upstream already released patches addressing this matter (http://www.linuxant.com/drivers/hsf/downloads-patches.php).
Can you please test the patched version before I submit -r1 to the tree?
Comment 5 Richard Hamnett 2006-03-08 23:59:39 UTC
Works, thanks ever so much
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2006-03-10 04:29:17 UTC
this bug is fixed in hsfmodem-7.43.00.01-r1.