Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > pctel modem driver trouble
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 24th February 04:45
chris gareau
External User
 
Posts: 1
Default pctel modem driver trouble


I am trying to compile the pctel modem driver for kernel version 2.6.18.1

this is what came out of the console

checking for running kernel version...2.6.18
checking for ptserial...ptserial-2.6.c
checking for gcc...4.1.1
searching for kernel includes...found at
/lib/modules/2.6.18.1diehard67/build/include
checking for
autoconf.h.../lib/modules/2.6.18.1diehard67/build/include/linux/autoconf.h
checking for asm/mach-default...yes
checking for kernel version in version.h...t.c: In function ‘main’:
t.c:4: error: ‘UTS_RELEASE’ undeclared (first use in this function)
t.c:4: error: (Each undeclared identifier is reported only once
t.c:4: error: for each function it appears in.)
../configure: line 448: ./t: No such file or directory
rm: cannot remove `./t': No such file or directory
** error
could not determine a proper UTS_RELEASE
** compilation error
please read the FAQ about reporting compilation problems
and report this problem. A transcript of the build process
has been saved in src/make.log. When reporting problems to
the development team, please send us this file.

and the guts om make.log

make: *** No targets specified and no makefile found. Stop.

anybody got this to work with this kernel, how did you do that.

it worked with 2.6.17.7
  Reply With Quote


  sponsored links


2 24th February 04:45
chris gareau
External User
 
Posts: 1
Default pctel modem driver trouble


ok never mind, I fixed my problem.

first I had to add
#define UTS_RELEASE "2.6.18.1diehard67"
to version.h in the kernel sorce

then comment out line 657 of ptserial-2.6.c

then the module compiled and installed

pritty good for a bit of a noob and I doen't evin know much about c
programing lol
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666