meff
2003-11-16, 04:38 PM CST
So, I got the latest PCTel drivers that have worked on every 2.4.* kernel I've used so far, including 22 .. So I figured i'd have no problem with Fedora... ERR! .. *sigh*
[code:1]
gcc32 -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -DBUILD_SYSTEM=""`uname -s -m -r -p`"" -DGCC_VERSION=""`gcc --version | head -1`"" -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="pctel" -DVERSION="0.9.5" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptserial.o ptserial.c
ptserial.c: In function `rs_close':
ptserial.c:2813: invalid operands to binary ==
make[3]: *** [ptserial.o] Error 1
make[3]: Leaving directory `/usr/src/hardware/pctel_winmodem/pctel-0.9.6/src/ptserial'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/hardware/pctel_winmodem/pctel-0.9.6/src/ptserial'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/hardware/pctel_winmodem/pctel-0.9.6/src'
make: *** [all-recursive] Error 1
[/code:1]
Kaboom. Anyone have any idea?
Here's what I used to ./configure :
[code:1]
./configure --with-hal=pct789 CC=gcc32
[/code:1]
If anyone can help, speak up. Thanks :)
[code:1]
gcc32 -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -DBUILD_SYSTEM=""`uname -s -m -r -p`"" -DGCC_VERSION=""`gcc --version | head -1`"" -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="pctel" -DVERSION="0.9.5" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptserial.o ptserial.c
ptserial.c: In function `rs_close':
ptserial.c:2813: invalid operands to binary ==
make[3]: *** [ptserial.o] Error 1
make[3]: Leaving directory `/usr/src/hardware/pctel_winmodem/pctel-0.9.6/src/ptserial'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/hardware/pctel_winmodem/pctel-0.9.6/src/ptserial'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/hardware/pctel_winmodem/pctel-0.9.6/src'
make: *** [all-recursive] Error 1
[/code:1]
Kaboom. Anyone have any idea?
Here's what I used to ./configure :
[code:1]
./configure --with-hal=pct789 CC=gcc32
[/code:1]
If anyone can help, speak up. Thanks :)