Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't compile slmodem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sepp
Guru
Guru


Joined: 11 Jul 2002
Posts: 330

PostPosted: Wed Mar 01, 2006 5:11 pm    Post subject: can't compile slmodem Reply with quote

I can't get slmodem to compile. maybe someone can help.


slmodem-2.9.9d fails like this:

Code:
make[1]: Entering directory `/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers'
make modules -C /usr/src/linux M=/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers
make[2]: Entering directory `/usr/src/linux-2.6.16-rc5'
  CC [M]  /var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/amrmo_init.o
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/amrmo_init.c: In function `amrmo_pci_probe':
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/amrmo_init.c:632: warning: implicit declaration of function `class_simple_device_add'
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/amrmo_init.c: In function `amrmo_pci_remove':
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/amrmo_init.c:664: warning: implicit declaration of function `class_simple_device_remove'
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/amrmo_init.c: In function `amrmo_init':
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/amrmo_init.c:721: warning: passing arg 1 of `pci_match_device' from incompatible pointer type
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/amrmo_init.c:748: warning: implicit declaration of function `class_simple_create'
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/amrmo_init.c:748: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/amrmo_init.c:758: warning: implicit declaration of function `class_simple_destroy'
  CC [M]  /var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/sysdep_amr.o
  CC [M]  /var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.o
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.c:1142: error: unknown field `owner' specified in initializer
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.c:1142: warning: initialization from incompatible pointer type
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.c: In function `st7554_probe':
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.c:1274: warning: implicit declaration of function `class_simple_device_add'
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.c: In function `st7554_disconnect':
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.c:1303: warning: implicit declaration of function `class_simple_device_remove'
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.c: In function `st7554_modem_init':
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.c:1337: warning: implicit declaration of function `class_simple_create'
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.c:1337: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.c:1347: warning: implicit declaration of function `class_simple_destroy'
make[3]: *** [/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers/st7554.o] Error 1
make[2]: *** [_module_/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16-rc5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/slmodem-2.9.9d/work/slmodem-2.9.9d/drivers'
make: *** [all] Error 2

!!! ERROR: net-dialup/slmodem-2.9.9d failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile
  slmodem-2.9.9d.ebuild, line 48:   Called linux-mod_src_compile

!!! Unable to make                                  KERNEL_DIR=/usr/src/linux all.
!!! If you need support, post the topmost build error, and the call stack if relevant.


and slmodem-2.9.11_pre20051101 like this:

Code:

make[1]: Entering directory `/var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/drivers'
make modules -C /usr/src/linux M=/var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/drivers
make[2]: Entering directory `/usr/src/linux-2.6.16-rc5'
  CC [M]  /var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/drivers/amrmo_init.o
  CC [M]  /var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/drivers/sysdep_amr.o
  CC [M]  /var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/drivers/st7554.o
/var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/drivers/st7554.c:1153: error: unknown field `owner' specif ied in initializer
/var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/drivers/st7554.c:1153: warning: initialization from incomp atible pointer type
make[3]: *** [/var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/drivers/st7554.o] Error 1
make[2]: *** [_module_/var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/drivers] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16-rc5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/slmodem-2.9.11_pre20051101/work/slmodem-2.9.11-20051101/drivers'
make: *** [all] Error 2

!!! ERROR: net-dialup/slmodem-2.9.11_pre20051101 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile
  slmodem-2.9.11_pre20051101.ebuild, line 63:   Called linux-mod_src_compile

!!! Unable to make                                  KERNEL_DIR=/usr/src/linux all.
!!! If you need support, post the topmost build error, and the call stack if relevant.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum