Re: conexant error compiling on hp dv6000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

it's the first time I see these error messages, as Antonio pointed out, these messages are very suspicious:

---
/bin/sh: /usr/src/linux-headers-2.6.25-2-486/scripts/gcc-x86_64-has-stack-protector.sh:
No such file or directory
/bin/sh: /usr/src/linux-headers-2.6.25-2-486/scripts/gcc-x86_64-has-stack-protector.sh:
No such file or directory
---

It is quite likely that these problems on your system are directly related to the build failure of the driver.

The latest version of the driver is 7.68.00.14 and not 7.68.00.11 like Antonio seems to suggest. The latest generic HSF driver packages can be downloaded at:

http://www.linuxant.com/drivers/hsf/full/downloads.php#generic

and using the latest version of the driver is recommended.

Regards,


Jonathan
Technical specialist / Linuxant
www.linuxant.com
support@xxxxxxxxxxxx



Antonio Olivares wrote:
Julio,

you selected the correct driver, you have kernel sources and headers,
so you are on the right path.  There are no drivers for your
particular kernel, but there's the generic package that you tried to
build and it gave you the following:

<quote from hsfconfig-buildlog.txt>
(cd /lib/modules/2.6.25-2-486/build && make
"CNXT_KERNELSRC=/lib/modules/2.6.25-2-486/build"
"M=/usr/lib/hsfmodem/modules" "CC=gcc" clean)
/bin/sh: /usr/src/linux-headers-2.6.25-2-486/scripts/gcc-x86_64-has-stack-protector.sh:
No such file or directory
/bin/sh: /usr/src/linux-headers-2.6.25-2-486/scripts/gcc-x86_64-has-stack-protector.sh:
No such file or directory
make[1]: Entering directory `/usr/src/linux-headers-2.6.25-2-486'
make[1]: Leaving directory `/usr/src/linux-headers-2.6.25-2-486'
(cd /lib/modules/2.6.25-2-486/build && make
"CNXT_KERNELSRC=/lib/modules/2.6.25-2-486/build"
"M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc"
"HDA_CFLAGS=-DFOUND_KZALLOC  -DFOUND_TLV   -DFOUND_IRQ_HANDLER_T
-DFOUND_DELAYED_WORK " clean)
/bin/sh: /usr/src/linux-headers-2.6.25-2-486/scripts/gcc-x86_64-has-stack-protector.sh:
No such file or directory
/bin/sh: /usr/src/linux-headers-2.6.25-2-486/scripts/gcc-x86_64-has-stack-protector.sh:
No such file or directory
make[1]: Entering directory `/usr/src/linux-headers-2.6.25-2-486'
make[1]: Leaving directory `/usr/src/linux-headers-2.6.25-2-486'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd
.tmp_versions .tmp_versions
/lib/modules/2.6.25-2-486/build/.tmp_versions/hsfosspec.mod
/lib/modules/2.6.25-2-486/build/.tmp_versions/hsfserial.mod
/lib/modules/2.6.25-2-486/build/.tmp_versions/hsfengine.mod
/lib/modules/2.6.25-2-486/build/.tmp_versions/hsfpcibasic2.mod
/lib/modules/2.6.25-2-486/build/.tmp_versions/hsfmc97ich.mod
/lib/modules/2.6.25-2-486/build/.tmp_versions/hsfmc97via.mod
/lib/modules/2.6.25-2-486/build/.tmp_versions/hsfmc97ali.mod
/lib/modules/2.6.25-2-486/build/.tmp_versions/hsfmc97ati.mod
/lib/modules/2.6.25-2-486/build/.tmp_versions/hsfmc97sis.mod
/lib/modules/2.6.25-2-486/build/.tmp_versions/hsfsoar.mod
Modules.symvers GPL/hda/Modules.symvers
(cd /lib/modules/2.6.25-2-486/build && make
"CNXT_KERNELSRC=/lib/modules/2.6.25-2-486/build"
"M=/usr/lib/hsfmodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/linux-headers-2.6.25-2-486'
  CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_hda.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ali.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ati.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ich.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97sis.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97via.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_osspec.o
  CC [M]  /usr/lib/hsfmodem/modules/osservices.o
  CC [M]  /usr/lib/hsfmodem/modules/osstdio.o
  CC [M]  /usr/lib/hsfmodem/modules/osnvm.o
/usr/lib/hsfmodem/modules/osnvm.c:326: error: 'CNXTNVMDIR' undeclared
here (not in a function)
/usr/lib/hsfmodem/modules/osnvm.c:327: error: invalid initializer
/usr/lib/hsfmodem/modules/osnvm.c:327: error: expected ',' or ';'
before string constant
/usr/lib/hsfmodem/modules/osnvm.c: In function 'NVM_NewInstance':
/usr/lib/hsfmodem/modules/osnvm.c:538: error: 'CNXTSBINDIR' undeclared
(first use in this function)
/usr/lib/hsfmodem/modules/osnvm.c:538: error: (Each undeclared
identifier is reported only once
/usr/lib/hsfmodem/modules/osnvm.c:538: error: for each function it appears in.)
/usr/lib/hsfmodem/modules/osnvm.c:538: warning: initialization
discards qualifiers from pointer target type
/usr/lib/hsfmodem/modules/osnvm.c:538: error: expected '}' before
string constant
/usr/lib/hsfmodem/modules/osnvm.c:539: error: expected '}' before 'CNXTSBINDIR'
make[2]: *** [/usr/lib/hsfmodem/modules/osnvm.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.25-2-486'
make: *** [all] Error 2

</quote>

Why is it looking for x86_64 when your machine is i686

--------------------------  System information ----------------------------
CPU=i686,  Debian GNU/Linux lenny/sid
Linux version 2.6.25-2-486 (Debian 2.6.25-6) (maks@...) (gcc version
4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 Fri Jun 27 02:39:22
UTC 2008
 scanModem update of:  2008_07_10

/* cut out but is available in previous mail or in list */
make "CNXT_KERNELSRC=/lib/modules/2.6.25-2-486/build"
"M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc"
"HDA_CFLAGS=-DFOUND_KZALLOC  -DFOUND_TLV   -DFOUND_IRQ_HANDLER_T
-DFOUND_DELAYED_WORK " clean)
/bin/sh: /usr/src/linux-headers-2.6.25-2-486/scripts/gcc-x86_64-has-stack-protector.sh:
No such file or directory
/bin/sh: /usr/src/linux-headers-2.6.25-2-486/scripts/gcc-x86_64-has-stack-protector.sh:
No such file or directory

I ask the following question:

Did you download the generic package

http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-7.68.00.11full/hsfmodem-7.68.00.11full.tar.gz

?

If you did, then only option is to
CC: "Support (Jonathan)" <support@xxxxxxxxxxxx>
this message to Jonathan, he is the conexant/linuxant expert and
hopefullly will provide the necessary details to get your modem
working.

Regards,

Antonio

On 7/12/08, Julio Carlos Menéndez <godinblack@xxxxxxxxx> wrote:
Hi again, I found a .deb with the source and try it and I get another
complete different error when I run hsfconfig. The attached text shows
it.

Thanks.


--
Julio Carlos Menéndez
GNU/Linux User #403551
http://deltha.uh.cu/~juliocarlos/


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux