[ MAD-MAX @ 22.10.2002. 22:43 ] @
Juce sam instalirao Red Hat Linux 8.0 i relativno sam zadovoljan mada...

Ali to nema veze bitan je modem. Imam drajver za, kako sam razumeo sve Lucentove win modeme i radio je pod RH 7.3. Kad sad pokusam isto kao pre sa ./build rpm onda :

Code:


[root@localhost ltmodem-6.00b9]# ./build_rpm
Build an rpm for ltmodem
The modem drivers will be compiled for the current kernel version: 2.4.18-14

creating cache ./config.cache
Checking OS
Checking machine type
checking for gcc... gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for make... yes
checking for ld... yes
Checking for kernel headers
  ... in /usr/src/linux: nope
  ... in /usr/src/kernel-headers-2.4.18-14: nope
  ... in /usr/src/linux-2.4.18: nope
  ... in /usr/src/linux-2.4.18-14: Kernel headers found in /usr/src/linux-2.4.18-14
  using /usr/src/linux-2.4.18-14
Checking kernel header version
  kernel headers are version 2.4.18-14
Checking for SMP support
  SMP support in kernel source configuration: no
System has rpm. Checking for standard installed kernel packages
RPM will require kernel = 2.4.18-14
+-----------------------------------------------------------------------------+
|          will have to be root. Otherwise this won't affect you.             |
+-----------------------------------------------------------------------------+
updating cache ./config.cache
creating ./config.status
creating Makefile
creating autoload.links
creating autoload.entries
creating cleanup.links
creating cleanup.entries
creating ltmodem.spec

The resource checks were successful and configuration files have been created.

gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-14/include -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DLT_VERSION=6.00b9 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -c -o ltmodem.a ltmodem.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
ld -r -o lt_modem.o ltmodem.a ltmdmobj.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-14/include -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DLT_VERSION=6.00b9 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -c -o serial-lt-2.4.a serial-lt-2.4.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from serial-lt-2.4.c:236:
/usr/src/linux-2.4.18-14/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
make: *** [serial-lt-2.4.a] Error 1

Checking for driver products:
-rw-r--r--    1 root     root       415490 Oct 22 23:23 lt_modem.o
cp: cannot stat `DOCs/Compile_failure': No such file or directory

Compilation of lt_serial.o failed!
Read Compile_failure from DOCs.




Citao sam dosta readme-ova i pokusavao da menjam malloc.h u slab.h kao sto kaze ali ponovo problemi. Sta da radim? I da li mozda ima problema to sto je GCC kompajler dosta noviji? I, ako neko zna, neka kaze adresu gde mogu da skinem dobar drajver za Lucent/Agere 56k modem.

Thanks
[ vbraca @ 23.10.2002. 07:12 ] @
Probaj sa novijom verzijom drajvera (8.22a) a adresa je :

http://www.physcip.uni-stuttgart.de/heby/ltmodem/

moja preporuka je da skines i kompajliras tar.gz file iako postoji i rpm za RedHat.

[ vbraca @ 23.10.2002. 07:17 ] @
Probaj da skines novi drajver (8.22a) sa :

http://www.physcip.uni-stuttgart.de/heby/ltmodem/
[ MAD-MAX @ 23.10.2002. 21:00 ] @
Hvala ti. Upravo sam ih skinuo i sad cu da ih instaliram. Nego, na sajtu pise da je bilo nekih problem s tom verzijom drajvera. Da li si ti imao nekih problema?