Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236162 - sys-fs/usb-rndis-lite-0.11 - usb-rndis-lite-0.11/cdc_ether.c:113: error: implicit declaration of function ‘is_wireless’
Summary: sys-fs/usb-rndis-lite-0.11 - usb-rndis-lite-0.11/cdc_ether.c:113: error: impl...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 236164 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-30 02:45 UTC by Barbu Eros Iulian
Modified: 2009-11-10 17:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New usb-rndis-lite-9999.ebuild (usb-rndis-lite-9999.ebuild,1.42 KB, text/plain)
2009-11-10 17:36 UTC, Flavio
Details
usb-rndis-lite-rndis-host.patch (usb-rndis-lite-rndis-host.patch,1.88 KB, patch)
2009-11-10 17:38 UTC, Flavio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Barbu Eros Iulian 2008-08-30 02:45:55 UTC
Emerging (1 of 1) sys-fs/usb-rndis-lite-0.11
 * usb-rndis-lite-0.11.tar.gz RMD160 SHA1 SHA256 size ;-) ...            [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.24-gentoo/build
 * Found sources for kernel version:
 *     2.6.24-gentoo
 * kernel version ok
>>> Unpacking source...
>>> Unpacking usb-rndis-lite-0.11.tar.gz to /var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/work
>>> Source unpacked.
>>> Compiling source in /var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11 ...
 * Preparing rndis_host module
make -C /lib/modules/2.6.24-gentoo/build SUBDIRS=/var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11 modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo'
  CC [M]  /var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/usbnet.o
  CC [M]  /var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/cdc_ether.o
  CC [M]  /var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/rndis_host.o
/var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/cdc_ether.c: In function ‘usbnet_generic_cdc_bind’:
/var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/cdc_ether.c:113: error: implicit declaration of function ‘is_wireless’
make[2]: *** [/var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/cdc_ether.o] Error 1
make[1]: *** [_module_/var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
make: *** [default] Error 2
 * 
 * ERROR: sys-fs/usb-rndis-lite-0.11 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3119:  Called linux-mod_src_compile
 *             environment, line 2392:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 			CC=\"$(get-KERNEL_CC)\" 						LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 		${BUILD_PARAMS} 						${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   default
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-fs:usb-rndis-lite-0.11:20080830-024149.log'.
 * The ebuild environment file is located at '/var/portage/tmp/portage/sys-fs/usb-rndis-lite-0.11/temp/environment'.
 * 

 * Messages for package sys-fs/usb-rndis-lite-0.11:

 * 
 * ERROR: sys-fs/usb-rndis-lite-0.11 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3119:  Called linux-mod_src_compile
 *             environment, line 2392:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 			CC=\"$(get-KERNEL_CC)\" 						LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 		${BUILD_PARAMS} 						${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   default
 * 


Reproducible: Always




Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.24-gentoo i686)
=================================================================
System uname: Linux-2.6.24-gentoo-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-glibc2.0
Timestamp of tree: Fri, 29 Aug 2008 19:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -msse3 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/boot/grub/grub.conf /boot/grub/menu.lst /etc /etc/X11/xorg.conf /etc/conf.d/* /etc/env.d/* /etc/fstab /etc/init.d/* /etc/inittab /etc/make.conf /etc/profile /etc/rc.conf /etc/wpa_supplicant/* /home/iulian/* /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/blackbox/menu /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -msse3 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="ccache distlocks parallel-fetch prelink preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.supp.name/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu"
LINGUAS="en ro"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/enlightenment /usr/portage/local/layman/synce /usr/portage/local/layman/toolchain /usr/portage/local/layman/xen /usr/portage/local/layman/gentopia /usr/portage/local/layman/vmware /usr/portage/local/layman/gns3 /usr/portage/local/layman/games /usr/portage/local/layman/gnome2-globalmenu /usr/portage/local/layman/netscape /usr/portage/local/layman/gnash-cvs /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X aalib acl acpi alsa apm asf bash-completion berkdb bluetooth bzip2 cli cracklib crypt cups dbus dri firefox fortran freedom gdbm gnome gpm gtk gtk2 hal howl hvm iconv irda isdnlog jpeg lm_sensors logrotate midi mmx mp3 mudflap ncurses nls nptl nptlonly ntpl opengl openmp pam pcre perl pic pmu png pppd python quicktime readline real reflection samba sdl session smp spl sse sse2 ssl sysfs tcpd tiff truetype tunctl unicode usb wifi win32codecs x86 xorg xulrunner zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ro" USERLAND="GNU" VIDEO_CARDS="i810 i910 i915 vesa vga v4l fbdev vmware"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wormo (RETIRED) gentoo-dev 2008-08-30 05:53:30 UTC
*** Bug 236164 has been marked as a duplicate of this bug. ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-30 05:58:36 UTC
Where did that ebuild originate? sys-fs/usb-rndis-lite doesn't seem to be in the official tree...
Comment 3 Wormo (RETIRED) gentoo-dev 2008-08-30 06:12:01 UTC
It has to be the synce overlay, but I don't know where that comes from -- not listed in http://www.gentoo.org/proj/en/overlays/layman-global.txt

This bug should be posted where the developers of the synce overlay will see it, which probably is not here (don't think it is done by gentoo devs, since they would have added it to overlays.gentoo.org)
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-08-30 14:51:18 UTC
^^ Don't file bugs for ebuilds from third party soures here, please.
Comment 5 Flavio 2009-11-10 17:36:50 UTC
Created attachment 209844 [details]
New usb-rndis-lite-9999.ebuild

This ebuild contains a new line to apply a new patch for 2.6.31 kernels.
Comment 6 Flavio 2009-11-10 17:38:17 UTC
Created attachment 209846 [details, diff]
usb-rndis-lite-rndis-host.patch

This patch applies to the usb-rndis-lite package in order to solve some compatibility problem on 2.6.31 kernels.