[hcflinux] hcf modules build failure

Philip Trickett phil-ml at techworks.ie
Mon Sep 1 14:44:51 EDT 2003


Hi,

I have downloaded the latest .src.rpm from the site
hcfpcimodem-0.99lnxtbeta03042700-1.src.rpm and I am trying to build it
for the RedHat linux severn beta.

I run rpmbuild --rebuild target athlon
hcfpcimodem-0.99lnxtbeta03042700-1.src.rpm and it chugs away, creates an
rpm, which I install.  I then run hcfpciconfig which works away until it
tries to re-compile modules for the current kernel.  I have attached the
/tmp/hcfpciconfig-buildlog.txt file to show any build errors.

My system is:
[root at jalapeno root]# uname -a
Linux jalapeno.techworks.ie 2.4.21-20.1.2024.2.1.nptl #1 Fri Jul 11
06:12:28 EDT 2003 i686 athlon i386 GNU/Linux


Thanks,

Phil Trickett



=========================Included File==================================

../modules/kernelcompiler.sh: using gcc; cannot find compiler matching:
../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Red Hat Linux
3.2.3-6)
rm -f *.o *.a
../../modules/kernelcompiler.sh: using gcc; cannot find compiler
matching:
../../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Red Hat
Linux 3.2.3-6)
make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
* compiling (gcc) mod_osspec.c
In file included from ../modules/osspec/include/oscompat.h:22,
                 from mod_osspec.c:10:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/sched.h:201:1: warning: "CONFIG_SHARE_RUNQUEUE" redefined
In file included from
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/config.h:4,
                 from <command line>:21:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/autoconf.h:86:1: warning: this is the location of the previous definition
make -C osspec all
../../modules/kernelcompiler.sh: using gcc; cannot find compiler
matching:
../../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Red Hat
Linux 3.2.3-6)
make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
* compiling (gcc) osstdio.c
In file included from ../../modules/osspec/include/oscompat.h:22,
                 from osstdio.c:21:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/sched.h:201:1: warning: "CONFIG_SHARE_RUNQUEUE" redefined
In file included from
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/config.h:4,
                 from <command line>:24:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/autoconf.h:86:1: warning: this is the location of the previous definition
* compiling (gcc) osnvm.c
In file included from ../../modules/osspec/include/oscompat.h:22,
                 from osnvm.c:27:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/sched.h:201:1: warning: "CONFIG_SHARE_RUNQUEUE" redefined
In file included from
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/config.h:4,
                 from <command line>:24:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/autoconf.h:86:1: warning: this is the location of the previous definition
* compiling (gcc) osresour.c
In file included from ../../modules/osspec/include/oscompat.h:22,
                 from osresour.c:18:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/sched.h:201:1: warning: "CONFIG_SHARE_RUNQUEUE" redefined
In file included from
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/config.h:4,
                 from <command line>:24:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/autoconf.h:86:1: warning: this is the location of the previous definition
* compiling (gcc) osservices.c
In file included from ../../modules/osspec/include/oscompat.h:22,
                 from osservices.c:13:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/sched.h:201:1: warning: "CONFIG_SHARE_RUNQUEUE" redefined
In file included from
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/config.h:4,
                 from <command line>:24:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/autoconf.h:86:1: warning: this is the location of the previous definition
* compiling (gcc) osstring.c
In file included from ../../modules/osspec/include/oscompat.h:22,
                 from osstring.c:26:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/sched.h:201:1: warning: "CONFIG_SHARE_RUNQUEUE" redefined
In file included from
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/config.h:4,
                 from <command line>:24:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/autoconf.h:86:1: warning: this is the location of the previous definition
ar cr libosspec.a osstdio.o osnvm.o osresour.o osservices.o osstring.o
make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
> linking kernel module hcfpciosspec.o

* compiling (gcc) mod_engine.c
In file included from ../modules/osspec/include/oscompat.h:22,
                 from mod_engine.c:10:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/sched.h:201:1: warning: "CONFIG_SHARE_RUNQUEUE" redefined
In file included from
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/config.h:4,
                 from <command line>:21:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/autoconf.h:86:1: warning: this is the location of the previous definition
> linking kernel module hcfpciengine.o

* compiling (gcc) serial_hcf.c
In file included from serial_hcf.c:69:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/sched.h:201:1: warning: "CONFIG_SHARE_RUNQUEUE" redefined
In file included from
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/config.h:4,
                 from <command line>:21:
/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/autoconf.h:86:1: warning: this is the location of the previous definition
In file included from serial_hcf.c:943:
serial_core.c: In function `uart_close':
serial_core.c:1073: error: invalid operands to binary ==
make: *** [serial_hcf.o] Error 1





More information about the hcflinux mailing list