Re: FC9, compile error

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

 



Daniel,

Did you run

make KERNEL_VER= /lib/modules/2.6.25.6-55.dk08.fc9.i686/build

first

or just a make all?

partial compilation succeeded for me.  I do not see why it is not
working for you.

Do you have kernel-devel package installed?

$ rpm -qa kernel-devel*

Regards,

Antonio



On 6/28/08, Daniel Kirsten <Daniel.Kirsten@xxxxxxx> wrote:
> Hallo,
>
> I tried to compile  slmodem-2.9.11-20080625  against a
> 2.6.25.6-55 kernel  (recent Fedora 9 kernel).  I got the
> following problem:
>
>
>
>
> make -C modem all
> make[1]: Entering directory `/root/slmodem/slmodem-2.9.11-20080625/modem'
> rebuild profile...
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_cmdline.o -c
> modem_cmdline.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o -c modem.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_datafile.o -c
> modem_datafile.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_at.o -c modem_at.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_timer.o -c modem_timer.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_pack.o -c modem_pack.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c modem_ec.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_comp.o -c modem_comp.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_param.o -c modem_param.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_debug.o -c modem_debug.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o homolog_data.o -c
> homolog_data.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_sinus.o -c dp_sinus.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_dummy.o -c dp_dummy.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o sysdep_common.o -c
> sysdep_common.c
> gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o
> modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o
> modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_test.o -c modem_test.c
> gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o
> modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o
> modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
> make[1]: Leaving directory `/root/slmodem/slmodem-2.9.11-20080625/modem'
> make -C drivers KERNEL_DIR=/lib/modules/2.6.25.6-55.dk08.fc9.i686/build
> make[1]: Entering directory `/root/slmodem/slmodem-2.9.11-20080625/drivers'
> cc -I/lib/modules/2.6.25.6-55.dk08.fc9.i686/build/include -o kernel-ver
> kernel-ver.c
> make all KERNEL_VER=2.6.25.6-55.dk08.fc9.i686
> make[2]: Entering directory `/root/slmodem/slmodem-2.9.11-20080625/drivers'
> make modules -C /lib/modules/2.6.25.6-55.dk08.fc9.i686/build
> SUBDIRS=/root/slmodem/slmodem-2.9.11-20080625/drivers
> make[3]: Entering directory
> `/root/rpmbuild/BUILD/kernel-2.6.25/linux-2.6.25.i686'
> make[4]: *** No rule to make target
> `/root/slmodem/slmodem-2.9.11-20080625/drivers/slarm.c', needed by
> `/root/slmodem/slmodem-2.9.11-20080625/drivers/slarm.o'.  Stop.
> make[3]: *** [_module_/root/slmodem/slmodem-2.9.11-20080625/drivers] Error 2
> make[3]: Leaving directory
> `/root/rpmbuild/BUILD/kernel-2.6.25/linux-2.6.25.i686'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/root/slmodem/slmodem-2.9.11-20080625/drivers'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/slmodem/slmodem-2.9.11-20080625/drivers'
> make: *** [drivers] Error 2
>

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

  Powered by Linux