Chris gareau 2008-02-24 01:45:01
I am trying to compile the pctel modem driver for kernel version 22.214.171.124
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
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
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 126.96.36.199
Chris gareau 2008-02-24 01:45:19
ok never mind, I fixed my problem.
first I had to add
#define UTS_RELEASE “188.8.131.52diehard67”
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