Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Synce: usb-rndis-lite does not build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MageSlayer
Apprentice
Apprentice


Joined: 26 Jul 2007
Posts: 253
Location: Ukraine

PostPosted: Mon Feb 04, 2008 4:54 pm    Post subject: Synce: usb-rndis-lite does not build Reply with quote

Hi.

Kernel version - 2.26.23-r3.
When trying to emerge using usb-rndis-lite-9999 ebuild, compiler says:

===================CUT=====================
* subversion update start -->
* repository:
https://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite
At revision 3244.
* working copy:
/var/paludis/distfiles/svn-src/usb-rndis-lite/usb-rndis-lite

>>> Done src_unpack
>>> Starting src_compile
* Preparing rndis_host module
make -j1 HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=
default
/usr/bin/make -C /lib/modules/2.6.23-gentoo-r3/build
SUBDIRS=/var/tmp/paludis/sys-fs/usb-rndis-lite-9999/work/usb-rndis-lite-999
9 modules
make[1]: Entering directory `/usr/src/linux-2.6.23-gentoo-r3'
CC [M]
/var/tmp/paludis/sys-fs/usb-rndis-lite-9999/work/usb-rndis-lite-9999/usbnet.o
CC [M]
/var/tmp/paludis/sys-fs/usb-rndis-lite-9999/work/usb-rndis-lite-9999/cdc_ether.o
/var/tmp/paludis/sys-fs/usb-rndis-lite-9999/work/usb-rndis-lite-9999/cdc_ether.c: In function 'usbnet_generic_cdc_bind':
/var/tmp/paludis/sys-fs/usb-rndis-lite-9999/work/usb-rndis-lite-9999/cdc_ether.c:113: error: implicit declaration of function 'is_wireless'
make[2]: ***
[/var/tmp/paludis/sys-fs/usb-rndis-lite-9999/work/usb-rndis-lite-9999/cdc_ether.o] Error 1
make[1]: ***
[_module_/var/tmp/paludis/sys-fs/usb-rndis-lite-9999/work/usb-rndis-lite-9999] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r3'
make: *** [default] Error 2

!!! ERROR in sys-fs/usb-rndis-lite-9999:
!!! In linux-mod_src_compile at line 3486
!!! Unable to make default.

!!! Call stack:
!!! * linux-mod_src_compile
(/var/tmp/paludis/sys-fs/usb-rndis-lite-9999/temp/loadsaveenv:3486)
!!! * src_compile
(/var/tmp/paludis/sys-fs/usb-rndis-lite-9999/temp/loadsaveenv:4370)
!!! * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:51)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:457)
!!! * main (/usr/libexec/paludis/ebuild.bash:475)

diefunc: making ebuild PID 8118 exit with error
die trap: exiting with error.
===========================CUT==========================

Help! :)
Maybe some kernel configs needed?
Back to top
View user's profile Send private message
takhisis_astrafall
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2004
Posts: 127
Location: rennes

PostPosted: Tue Mar 04, 2008 11:09 pm    Post subject: Reply with quote

you should activate some thing in the kernel.
Code:

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
CONFIG_USB_USBNET=m
# CONFIG_USB_NET_AX8817X is not set
CONFIG_USB_NET_CDCETHER=m
# CONFIG_USB_NET_DM9601 is not set
# CONFIG_USB_NET_GL620A is not set
# CONFIG_USB_NET_NET1080 is not set
# CONFIG_USB_NET_PLUSB is not set
# CONFIG_USB_NET_MCS7830 is not set
CONFIG_USB_NET_RNDIS_HOST=m
CONFIG_USB_NET_CDC_SUBSET=m
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_KC2190=y
# CONFIG_USB_NET_ZAURUS is not set


Code:

#
# USB Gadget Support
#
CONFIG_USB_GADGET=y
# CONFIG_USB_GADGET_DEBUG_FILES is not set
CONFIG_USB_GADGET_SELECTED=y
CONFIG_USB_GADGET_AMD5536UDC=y
CONFIG_USB_AMD5536UDC=y
# CONFIG_USB_GADGET_ATMEL_USBA is not set
# CONFIG_USB_GADGET_FSL_USB2 is not set
# CONFIG_USB_GADGET_NET2280 is not set
# CONFIG_USB_GADGET_PXA2XX is not set
# CONFIG_USB_GADGET_M66592 is not set
# CONFIG_USB_GADGET_GOKU is not set
# CONFIG_USB_GADGET_LH7A40X is not set
# CONFIG_USB_GADGET_OMAP is not set
# CONFIG_USB_GADGET_S3C2410 is not set
# CONFIG_USB_GADGET_AT91 is not set
# CONFIG_USB_GADGET_DUMMY_HCD is not set
CONFIG_USB_GADGET_DUALSPEED=y
# CONFIG_USB_ZERO is not set
CONFIG_USB_ETH=m
CONFIG_USB_ETH_RNDIS=y
# CONFIG_USB_GADGETFS is not set
# CONFIG_USB_FILE_STORAGE is not set
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_MIDI_GADGET is not set

(note that i've a 2.6.24-gentoo)

usb-rndis-lite compile fine now, but i'm stuck here.
my acer p735 is not detected when the rndis is loaded...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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