[hsflinux] Custum kernel; RH9; compile failure
Jean-Simon Durand
jsimon at linuxant.com
Tue Jun 3 14:30:22 EDT 2003
Hi,
it's not the first time that I see this problem with kernel 2.4.21-rc2, but
I haven't been able to reproduce it myself. Here's what you can do to help
trace the source of the problem.
- go in /usr/lib/hsf/modules
- run "make -n" and redirect the output in a file
- edit the file and keep only the line that starts with "gcc" and ends with
"serial_hsf.c"
- remove the "-o serial_hsf.o" option and replace it with "-E"
- run "sh file" (file is the name of the file you just edited) and redirect
the output in another file
- send us this second file which contains the preprocessed source code
parsed by gcc
Thank you,
Jean-Simon
----- Original Message -----
From: "Oeystein Olsen" <oystein.olsen at astro.uio.no>
To: <hsflinux at lists.mbsi.ca>
Sent: Monday, May 26, 2003 4:42 PM
Subject: [hsflinux] Custum kernel; RH9; compile failure
Hello all,
I've run into a problem with my modem. It has worked well on RH7.3 and RH8.0
and it works well with the latest kernel for RH9 using the generic packages
with source. Sadly, when I run hsfconfig with my own kernel, the compile
itself crashes. No errors about the kernel-source not being properly
installed.
-The buildlog:
http://folk.uio.no/oeysteio/tmp/hsfconfig-buildlog.txt
-The last part of the buildlog:
* compiling (gcc) mod_engine.c
> linking kernel module hsfengine.o
* compiling (gcc) serial_hsf.c
In file included from serial_hsf.c:897:
serial_core.c: In function `uart_close':
serial_core.c:1073: invalid operands to binary ==
make: *** [serial_hsf.o] Error 1
-Output from hsfconfig --dumpdialog:
http://folk.uio.no/oeysteio/tmp/hsfdiag.txt
The config file used in my kernel:
http://folk.uio.no/oeysteio/tmp/config
Any suggestions?
I've seen in the archives that there are some problems with acpi and the
driver, but that shouldn't stop it from compiling(?) Any help would be much
appreciated.
--
Øystein Olsen, oystein.olsen at astro.uio.no, http://folk.uio.no/oeysteio
Institute of Theoretical Astrophysics, http://www.astro.uio.no
University of Oslo, Norway
More information about the hsflinux
mailing list