LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-31-2006, 03:22 PM   #16
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30

Seems like I missed something so I started over. After installing the rt2500-source as told on http://rt2x00.serialmonkey.com/wiki/...n_rt2500_Howto I ran module-assistant auto-install rt2500-source I get a built of package rt2500 failed message. I can't figure out what I'm doing wrong.
 
Old 08-31-2006, 04:43 PM   #17
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by LonelyTraveler
Seems like I missed something so I started over. After installing the rt2500-source as told on http://rt2x00.serialmonkey.com/wiki/...n_rt2500_Howto I ran module-assistant auto-install rt2500-source I get a built of package rt2500 failed message. I can't figure out what I'm doing wrong.
Can you show me the output of this command as root having made sure to use module-assistant prepare first.

Code:
m-a a-i -i -t -f rt2500
 
Old 08-31-2006, 05:00 PM   #18
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Output:

Code:
Conrad:/home/conradtheart# m-a a-i -i -t -f rt2500
.
Updated infos about 1 packages
Getting source for kernel version: 2.4.27-2-386
Kernel headers available in /lib/modules/2.4.27-2-386/build
apt-get-y install build-essential

Done!
download
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 784 not upgraded.
Need to get 247kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://ftp.au.debian.org testing/main rt2500-source 1.1.0+cvs20060620-2 [2 47kB]
Fetched 247kB in 4s (61.5kB/s)
(Reading database ... 101173 files and directories currently installed.)
Preparing to replace rt2500-source 1.1.0+cvs20060620-2 (using .../rt2500-source_ 1.1.0+cvs20060620-2_all.deb) ...
Unpacking replacement rt2500-source ...
Setting up rt2500-source (1.1.0+cvs20060620-2) ...
Updating info about rt2500-source

Updated infos about 1 packages
unpack
Extracting the package tarball, /usr/src/rt2500.tar.gz, please wait...
"/usr/share/modass/overrides/rt2500-source" build KVERS=2.4.27-2-386 KSRC=/lib/m odules/2.4.27-2-386/build KDREV=2.4.27-10sarge1 kdist_image
touch config.mk \
&& /usr/bin/make clean
make[1]: Entering directory `/usr/src/modules/rt2500'
make[1]: Leaving directory `/usr/src/modules/rt2500'
dh_clean
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/rt2500'
touch config.mk \
&& /usr/bin/make clean
make[2]: Entering directory `/usr/src/modules/rt2500'
make[2]: Leaving directory `/usr/src/modules/rt2500'
dh_clean
/usr/bin/gcc-3.3
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.4.27-2-386/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modu les.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.4.27-2-386/g ;s/#KVERS#/2.4.27-2-386/g ; s/_KVERS_/2.4 .27-2-386/g ; s/##KDREV##/2.4.27-10sarge1/g ; s/#KDREV#/2.4.27-10sarge1/g ; s/_K DREV_/2.4.27-10sarge1/g  ' < $templ > ${templ%.modules.in}; \
  done
# Install module
dh_installdirs lib/modules/2.4.27-2-386/kernel/drivers/net/wireless
# Build modules
/usr/bin/make KERNDIR=/lib/modules/2.4.27-2-386/build PATCHLEVEL=4 CC=gcc-3.3
make[2]: Entering directory `/usr/src/modules/rt2500'
make[3]: Entering directory `/usr/src/kernel-headers-2.4.27-2-386'
/usr/bin/make -C  /usr/src/modules/rt2500 CFLAGS="-D__KERNEL__ -I/usr/src/kernel -headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno- strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundar y=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2 -386/include/linux/modversions.h" MAKING_MODULES=1 modules
make[4]: Entering directory `/usr/src/modules/rt2500'
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_main  -c -o rtmp_main.o rtmp_ma in.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=mlme  -c -o mlme.o mlme.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=connect  -c -o connect.o connect.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=sync  -c -o sync.o sync.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=assoc  -c -o assoc.o assoc.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=auth  -c -o auth.o auth.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=auth_rsp  -c -o auth_rsp.o auth_rsp. c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_data  -c -o rtmp_data.o rtmp_da ta.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_init  -c -o rtmp_init.o rtmp_in it.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=sanity  -c -o sanity.o sanity.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_wep  -c -o rtmp_wep.o rtmp_wep. c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=wpa  -c -o wpa.o wpa.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=md5  -c -o md5.o md5.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_tkip  -c -o rtmp_tkip.o rtmp_tk ip.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_info  -c -o rtmp_info.o rtmp_in fo.c
rtmp_info.c:593: error: unknown field `get_wireless_stats' specified in initiali zer
rtmp_info.c:593: warning: initialization from incompatible pointer type
make[4]: *** [rtmp_info.o] Error 1
make[4]: Leaving directory `/usr/src/modules/rt2500'
make[3]: *** [_mod_/usr/src/modules/rt2500] Error 2
make[3]: Leaving directory `/usr/src/kernel-headers-2.4.27-2-386'
rt2500.o failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/rt2500'
make[1]: *** [binary_modules] Error 2
make[1]: Leaving directory `/usr/src/modules/rt2500'
make: *** [kdist_build] Error 2
BUILD FAILED!
See /var/cache/modass/rt2500-source.buildlog.2.4.27-2-386.1157061224 for details
And this is the log:

Code:
touch config.mk \
&& /usr/bin/make clean
make[1]: Entering directory `/usr/src/modules/rt2500'
make[1]: Leaving directory `/usr/src/modules/rt2500'
dh_clean
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/rt2500'
touch config.mk \
&& /usr/bin/make clean
make[2]: Entering directory `/usr/src/modules/rt2500'
make[2]: Leaving directory `/usr/src/modules/rt2500'
dh_clean
/usr/bin/gcc-3.3
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.4.27-2-386/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.4.27-2-386/g ;s/#KVERS#/2.4.27-2-386/g ; s/_KVERS_/2.4.27-2-386/g ; s/##KDREV##/2.4.27-10sarge1/g ; s/#KDREV#/2.4.27-10sarge1/g ; s/_KDREV_/2.4.27-10sarge1/g  ' < $templ > ${templ%.modules.in}; \
  done
# Install module
dh_installdirs lib/modules/2.4.27-2-386/kernel/drivers/net/wireless
# Build modules
/usr/bin/make KERNDIR=/lib/modules/2.4.27-2-386/build PATCHLEVEL=4 CC=gcc-3.3
make[2]: Entering directory `/usr/src/modules/rt2500'
make[3]: Entering directory `/usr/src/kernel-headers-2.4.27-2-386'
/usr/bin/make -C  /usr/src/modules/rt2500 CFLAGS="-D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h" MAKING_MODULES=1 modules
make[4]: Entering directory `/usr/src/modules/rt2500'
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_main  -c -o rtmp_main.o rtmp_main.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=mlme  -c -o mlme.o mlme.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=connect  -c -o connect.o connect.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=sync  -c -o sync.o sync.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=assoc  -c -o assoc.o assoc.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=auth  -c -o auth.o auth.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=auth_rsp  -c -o auth_rsp.o auth_rsp.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_data  -c -o rtmp_data.o rtmp_data.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_init  -c -o rtmp_init.o rtmp_init.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=sanity  -c -o sanity.o sanity.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_wep  -c -o rtmp_wep.o rtmp_wep.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=wpa  -c -o wpa.o wpa.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=md5  -c -o md5.o md5.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_tkip  -c -o rtmp_tkip.o rtmp_tkip.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_info  -c -o rtmp_info.o rtmp_info.c
rtmp_info.c:593: error: unknown field `get_wireless_stats' specified in initializer
rtmp_info.c:593: warning: initialization from incompatible pointer type
make[4]: *** [rtmp_info.o] Error 1
make[4]: Leaving directory `/usr/src/modules/rt2500'
make[3]: *** [_mod_/usr/src/modules/rt2500] Error 2
make[3]: Leaving directory `/usr/src/kernel-headers-2.4.27-2-386'
rt2500.o failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/rt2500'
make[1]: *** [binary_modules] Error 2
make[1]: Leaving directory `/usr/src/modules/rt2500'
make: *** [kdist_build] Error 2
 
Old 08-31-2006, 05:23 PM   #19
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by LonelyTraveler
Output:

Code:
Conrad:/home/conradtheart# m-a a-i -i -t -f rt2500
.
Updated infos about 1 packages
Getting source for kernel version: 2.4.27-2-386
Kernel headers available in /lib/modules/2.4.27-2-386/build
apt-get-y install build-essential

Done!
download
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 784 not upgraded.
Need to get 247kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://ftp.au.debian.org testing/main rt2500-source 1.1.0+cvs20060620-2 [2 47kB]
Fetched 247kB in 4s (61.5kB/s)
(Reading database ... 101173 files and directories currently installed.)
Preparing to replace rt2500-source 1.1.0+cvs20060620-2 (using .../rt2500-source_ 1.1.0+cvs20060620-2_all.deb) ...
Unpacking replacement rt2500-source ...
Setting up rt2500-source (1.1.0+cvs20060620-2) ...
Updating info about rt2500-source

Updated infos about 1 packages
unpack
Extracting the package tarball, /usr/src/rt2500.tar.gz, please wait...
"/usr/share/modass/overrides/rt2500-source" build KVERS=2.4.27-2-386 KSRC=/lib/m odules/2.4.27-2-386/build KDREV=2.4.27-10sarge1 kdist_image
touch config.mk \
&& /usr/bin/make clean
make[1]: Entering directory `/usr/src/modules/rt2500'
make[1]: Leaving directory `/usr/src/modules/rt2500'
dh_clean
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/rt2500'
touch config.mk \
&& /usr/bin/make clean
make[2]: Entering directory `/usr/src/modules/rt2500'
make[2]: Leaving directory `/usr/src/modules/rt2500'
dh_clean
/usr/bin/gcc-3.3
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.4.27-2-386/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modu les.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.4.27-2-386/g ;s/#KVERS#/2.4.27-2-386/g ; s/_KVERS_/2.4 .27-2-386/g ; s/##KDREV##/2.4.27-10sarge1/g ; s/#KDREV#/2.4.27-10sarge1/g ; s/_K DREV_/2.4.27-10sarge1/g  ' < $templ > ${templ%.modules.in}; \
  done
# Install module
dh_installdirs lib/modules/2.4.27-2-386/kernel/drivers/net/wireless
# Build modules
/usr/bin/make KERNDIR=/lib/modules/2.4.27-2-386/build PATCHLEVEL=4 CC=gcc-3.3
make[2]: Entering directory `/usr/src/modules/rt2500'
make[3]: Entering directory `/usr/src/kernel-headers-2.4.27-2-386'
/usr/bin/make -C  /usr/src/modules/rt2500 CFLAGS="-D__KERNEL__ -I/usr/src/kernel -headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno- strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundar y=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2 -386/include/linux/modversions.h" MAKING_MODULES=1 modules
make[4]: Entering directory `/usr/src/modules/rt2500'
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_main  -c -o rtmp_main.o rtmp_ma in.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=mlme  -c -o mlme.o mlme.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=connect  -c -o connect.o connect.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=sync  -c -o sync.o sync.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=assoc  -c -o assoc.o assoc.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=auth  -c -o auth.o auth.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=auth_rsp  -c -o auth_rsp.o auth_rsp. c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_data  -c -o rtmp_data.o rtmp_da ta.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_init  -c -o rtmp_init.o rtmp_in it.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=sanity  -c -o sanity.o sanity.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_wep  -c -o rtmp_wep.o rtmp_wep. c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=wpa  -c -o wpa.o wpa.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=md5  -c -o md5.o md5.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_tkip  -c -o rtmp_tkip.o rtmp_tk ip.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstri ct-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-p ointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -in clude /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nost dinc -iwithprefix include -DKBUILD_BASENAME=rtmp_info  -c -o rtmp_info.o rtmp_in fo.c
rtmp_info.c:593: error: unknown field `get_wireless_stats' specified in initiali zer
rtmp_info.c:593: warning: initialization from incompatible pointer type
make[4]: *** [rtmp_info.o] Error 1
make[4]: Leaving directory `/usr/src/modules/rt2500'
make[3]: *** [_mod_/usr/src/modules/rt2500] Error 2
make[3]: Leaving directory `/usr/src/kernel-headers-2.4.27-2-386'
rt2500.o failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/rt2500'
make[1]: *** [binary_modules] Error 2
make[1]: Leaving directory `/usr/src/modules/rt2500'
make: *** [kdist_build] Error 2
BUILD FAILED!
See /var/cache/modass/rt2500-source.buildlog.2.4.27-2-386.1157061224 for details
And this is the log:

Code:
touch config.mk \
&& /usr/bin/make clean
make[1]: Entering directory `/usr/src/modules/rt2500'
make[1]: Leaving directory `/usr/src/modules/rt2500'
dh_clean
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/rt2500'
touch config.mk \
&& /usr/bin/make clean
make[2]: Entering directory `/usr/src/modules/rt2500'
make[2]: Leaving directory `/usr/src/modules/rt2500'
dh_clean
/usr/bin/gcc-3.3
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.4.27-2-386/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.4.27-2-386/g ;s/#KVERS#/2.4.27-2-386/g ; s/_KVERS_/2.4.27-2-386/g ; s/##KDREV##/2.4.27-10sarge1/g ; s/#KDREV#/2.4.27-10sarge1/g ; s/_KDREV_/2.4.27-10sarge1/g  ' < $templ > ${templ%.modules.in}; \
  done
# Install module
dh_installdirs lib/modules/2.4.27-2-386/kernel/drivers/net/wireless
# Build modules
/usr/bin/make KERNDIR=/lib/modules/2.4.27-2-386/build PATCHLEVEL=4 CC=gcc-3.3
make[2]: Entering directory `/usr/src/modules/rt2500'
make[3]: Entering directory `/usr/src/kernel-headers-2.4.27-2-386'
/usr/bin/make -C  /usr/src/modules/rt2500 CFLAGS="-D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h" MAKING_MODULES=1 modules
make[4]: Entering directory `/usr/src/modules/rt2500'
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_main  -c -o rtmp_main.o rtmp_main.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=mlme  -c -o mlme.o mlme.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=connect  -c -o connect.o connect.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=sync  -c -o sync.o sync.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=assoc  -c -o assoc.o assoc.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=auth  -c -o auth.o auth.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=auth_rsp  -c -o auth_rsp.o auth_rsp.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_data  -c -o rtmp_data.o rtmp_data.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_init  -c -o rtmp_init.o rtmp_init.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=sanity  -c -o sanity.o sanity.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_wep  -c -o rtmp_wep.o rtmp_wep.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=wpa  -c -o wpa.o wpa.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=md5  -c -o md5.o md5.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_tkip  -c -o rtmp_tkip.o rtmp_tkip.c
gcc-3.3 -D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-386/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-386/include/linux/modversions.h -I. -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtmp_info  -c -o rtmp_info.o rtmp_info.c
rtmp_info.c:593: error: unknown field `get_wireless_stats' specified in initializer
rtmp_info.c:593: warning: initialization from incompatible pointer type
make[4]: *** [rtmp_info.o] Error 1
make[4]: Leaving directory `/usr/src/modules/rt2500'
make[3]: *** [_mod_/usr/src/modules/rt2500] Error 2
make[3]: Leaving directory `/usr/src/kernel-headers-2.4.27-2-386'
rt2500.o failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/rt2500'
make[1]: *** [binary_modules] Error 2
make[1]: Leaving directory `/usr/src/modules/rt2500'
make: *** [kdist_build] Error 2
That is an error in the source code of the rt2500 boy I really don't know how this can be allowed to happen for me using the lirc module source has been impossible for at least the last year because of a similar problem. Have you used apt-cache search rt2500 to see if there are any pre-built modules for your kernel available those should install and work if they are. Also what does this show for you.

Code:
>$ apt-cache policy rt2500-source
rt2500-source:
  Installed: (none)
  Candidate: 1.1.0+cvs20060620-2
  Version table:
     1.1.0+cvs20060620-3 0
        600 http://ftp2.de.debian.org sid/main Packages
     1.1.0+cvs20060620-2 0
        990 http://ftp2.de.debian.org testing/main Packages
I just tried and the package built with the 1.1.0+cvs20060620-2 source package worked here.

Code:
ls -l /usr/src/rt2500*
-rw-r--r-- 1 root src   96192 2006-08-31 19:19 /usr/src/rt2500-modules-2.6.17-ck1-smp_1.1.0+cvs20060620-2+2.6.17-ck1-smp-10.00.Custom_amd64.deb
-rw-r--r-- 1 root root 236537 2006-08-01 11:29 /usr/src/rt2500.tar.gz
Edit: I just looked again and seen that is the version you were building but you were using the gcc-3.3 for the compiler my compiler is gcc-4.1 so what is available for you apt-cache policy gcc.

Last edited by HappyTux; 08-31-2006 at 05:27 PM.
 
Old 08-31-2006, 05:52 PM   #20
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
Quote:
Originally Posted by LonelyTraveler
Kernel 2.4.27-2-386
Thats a really old kernel man. Upgrade to the 2.6.x line, it's alot better by most standards. You would probably have better support for your hardware by doing this as well.
 
Old 09-01-2006, 01:40 PM   #21
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by HappyTux
That is an error in the source code of the rt2500 boy I really don't know how this can be allowed to happen for me using the lirc module source has been impossible for at least the last year because of a similar problem. Have you used apt-cache search rt2500 to see if there are any pre-built modules for your kernel available those should install and work if they are. Also what does this show for you.

Code:
>$ apt-cache policy rt2500-source
rt2500-source:
  Installed: (none)
  Candidate: 1.1.0+cvs20060620-2
  Version table:
     1.1.0+cvs20060620-3 0
        600 http://ftp2.de.debian.org sid/main Packages
     1.1.0+cvs20060620-2 0
        990 http://ftp2.de.debian.org testing/main Packages
I just tried and the package built with the 1.1.0+cvs20060620-2 source package worked here.

Code:
ls -l /usr/src/rt2500*
-rw-r--r-- 1 root src   96192 2006-08-31 19:19 /usr/src/rt2500-modules-2.6.17-ck1-smp_1.1.0+cvs20060620-2+2.6.17-ck1-smp-10.00.Custom_amd64.deb
-rw-r--r-- 1 root root 236537 2006-08-01 11:29 /usr/src/rt2500.tar.gz
Edit: I just looked again and seen that is the version you were building but you were using the gcc-3.3 for the compiler my compiler is gcc-4.1 so what is available for you apt-cache policy gcc.

I tried sorting this out on my own yesterday and messed x up. Couldn't get it back so I formatted. There is nothing for the search or the policy. I see above that you have the testing repository for the rt2500-source. Should I insert that repository?

And also, do you have a link to a page or thread that tells me how to update my kernel? I searched but couldn't find anything relevant to my situation.

Thanks.
 
Old 09-01-2006, 02:09 PM   #22
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by LonelyTraveler
I tried sorting this out on my own yesterday and messed x up. Couldn't get it back so I formatted. There is nothing for the search or the policy. I see above that you have the testing repository for the rt2500-source. Should I insert that repository?

And also, do you have a link to a page or thread that tells me how to update my kernel? I searched but couldn't find anything relevant to my situation.

Thanks.
To update to a 2.6 kernel all you really need to do (actually when you reinstalled you could have typed in at the start screen linux26 then enter key and it would have installed with one) is use apt-cache search kernel-image 2.6 then choose one that you want to install with apt-get/aptitude take the one with the highest version number available. Yes you can put in a line for testing and get the source for the rt2500 but just install only that package then take the line out otherwise you can start to get stuff installed from testing that could screw up the system. Oh once having installed the 2.6 kernel you would need to reboot to use it of course it should be the default choice in the boot loader if not choose it from the available options, it may search linux-image 2.6 as well as I'm not positive exactly when they changed the naming but I think is was after Sarge was out.
 
Old 09-01-2006, 02:39 PM   #23
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
[QUOTE=HappyTux]take the one with the highest version number available/QUOTE]

I have 2.6-386, 2.6-686, 2.6.8-2-386 and 2.6.8-2-686

I have a P4. Will the 2.6.8-2-686 be the best?

Return for apt-cache search kernel-image 2.6:


Code:
alsa-modules-2.4.27-2-386 - ALSA driver modules
alsa-modules-2.4.27-2-586tsc - ALSA driver modules
alsa-modules-2.4.27-2-686 - ALSA driver modules
alsa-modules-2.4.27-2-686-smp - ALSA driver modules
alsa-modules-2.4.27-2-k6 - ALSA driver modules
alsa-modules-2.4.27-2-k7 - ALSA driver modules
alsa-modules-2.4.27-2-k7-smp - ALSA driver modules
ndiswrapper-modules-2.6.8-2-386 - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-686 - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-686-smp - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-k7 - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-k7-smp - Ndiswrapper linux kernel module
kernel-image-2.6.8-11-amd64-generic - Linux kernel image for version 2.6.8 on generic x86_64 systems
kernel-image-2.6.8-11-amd64-k8 - Linux kernel image for version 2.6.8 on AMD64 systems
kernel-image-2.6.8-11-amd64-k8-smp - Linux kernel image for version 2.6.8 on AMD64 SMP systems
kernel-image-2.6.8-11-em64t-p4 - Linux kernel image for version 2.6.8 on Intel EM64T systems
kernel-image-2.6.8-11-em64t-p4-smp - Linux kernel image for version 2.6.8 on Intel EM64T SMP systems
pcmcia-modules-2.4.27-2-686 - PCMCIA Modules for Linux (kernel 2.4.27-2-686)
pcmcia-modules-2.4.27-2-686-smp - PCMCIA Modules for Linux (kernel 2.4.27-2-686-smp)
kernel-image-2.6.8-2-k7-smp - Linux kernel image for version 2.6.8 on AMD K7 SMP.
kernel-image-2.6.8-2-k7 - Linux kernel image for version 2.6.8 on AMD K7.
alsa-base - ALSA driver configuration files
kernel-image-2.4.27-2-686 - Linux kernel image for version 2.4.27 on PPro/Celeron/PII/PIII/P4
kernel-image-2.4.27-2-686-smp - Linux kernel image for version 2.4.27 on PPro/Celeron/PII/PIII/P4 SMP
kernel-image-2.6.8-2-386 - Linux kernel image for version 2.6.8 on 386.
kernel-image-2.6.8-2-686 - Linux kernel image for version 2.6.8 on PPro/Celeron/PII/PIII/P4.
kernel-image-2.6.8-2-686-smp - Linux kernel image for version 2.6.8 on PPro/Celeron/PII/PIII/P4 SMP.
alsa-modules-2.4.27-3-386 - ALSA modules for kernel 2.4.27-3-386
alsa-modules-2.4.27-3-586tsc - ALSA modules for kernel 2.4.27-3-586tsc
alsa-modules-2.4.27-3-686 - ALSA modules for kernel 2.4.27-3-686
alsa-modules-2.4.27-3-686-smp - ALSA modules for kernel 2.4.27-3-686-smp
alsa-modules-2.4.27-3-k6 - ALSA modules for kernel 2.4.27-3-k6
alsa-modules-2.4.27-3-k7 - ALSA modules for kernel 2.4.27-3-k7
alsa-modules-2.4.27-3-k7-smp - ALSA modules for kernel 2.4.27-3-k7-smp
kernel-image-2.6-386 - Linux kernel image for version 2.6 on 386.
kernel-image-2.6-686 - Linux kernel image for version 2.6 on PPro/Celeron/PII/PIII/P4.
kernel-image-2.6-686-smp - Linux kernel image for version 2.6 on PPro/Celeron/PII/PIII/P4 SMP.
kernel-image-2.6-amd64-generic - Linux kernel image for version 2.6 on generic x86_64 systems
kernel-image-2.6-amd64-k8 - Linux kernel image for version 2.6 on AMD64 systems
kernel-image-2.6-amd64-k8-smp - Linux kernel image for version 2.6 on AMD64 SMP systems
kernel-image-2.6-em64t-p4 - Linux kernel image for version 2.6 on Intel EM64T systems
kernel-image-2.6-em64t-p4-smp - Linux kernel image for version 2.6 on Intel EM64T SMP systems
kernel-image-2.6-k7 - Linux kernel image for version 2.6 on AMD K7.
kernel-image-2.6-k7-smp - Linux kernel image for version 2.6 on AMD K7 SMP.
kernel-image-2.6.8-12-amd64-generic - Linux kernel image for version 2.6.8 on generic x86_64 systems
kernel-image-2.6.8-12-amd64-k8 - Linux kernel image for version 2.6.8 on AMD64 systems
kernel-image-2.6.8-12-amd64-k8-smp - Linux kernel image for version 2.6.8 on AMD64 SMP systems
kernel-image-2.6.8-12-em64t-p4 - Linux kernel image for version 2.6.8 on Intel EM64T systems
kernel-image-2.6.8-12-em64t-p4-smp - Linux kernel image for version 2.6.8 on Intel EM64T SMP systems
kernel-image-2.6.8-3-386 - Linux kernel image for version 2.6.8 on 386.
kernel-image-2.6.8-3-686 - Linux kernel image for version 2.6.8 on PPro/Celeron/PII/PIII/P4.
kernel-image-2.6.8-3-686-smp - Linux kernel image for version 2.6.8 on PPro/Celeron/PII/PIII/P4 SMP.
kernel-image-2.6.8-3-k7 - Linux kernel image for version 2.6.8 on AMD K7.
kernel-image-2.6.8-3-k7-smp - Linux kernel image for version 2.6.8 on AMD K7 SMP.
ndiswrapper-modules-2.6.8-3-386 - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-3-686 - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-3-686-smp - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-3-k7 - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-3-k7-smp - Ndiswrapper linux kernel module
 
Old 09-01-2006, 03:00 PM   #24
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
[QUOTE=LonelyTraveler]
Quote:
Originally Posted by HappyTux
take the one with the highest version number available/QUOTE]

I have 2.6-386, 2.6-686, 2.6.8-2-386 and 2.6.8-2-686

I have a P4. Will the 2.6.8-2-686 be the best?

You would want this kernel-image-2.6-686 which will install and keep up to date to the latest 2.6-686 kernel available, if you wanted you could also use the sources from www.backports.org which have some of the latest packages that are built to install on a sarge system I believe you can get a 2.6.16 kernel from there plus newer desktop packages as well. I just checked it has the rt2500 package at the version as is in testing right now so you may want to use the backports to get it the line to use is below and it shows you on the instructions page how to install individual packages from there as that is the only way they will be installed so you could get newer kernel and rt2500-source only if that is all you wanted.

Code:
deb http://www.backports.org/debian sarge-backports main contrib non-free
 
Old 09-01-2006, 03:16 PM   #25
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
I installed the new kernel and restarted from it, but I get a message before it completes the startup up: "hdc: max request size: 1024 KiB"

Do I need to uninstall the previous kernel?
 
Old 09-01-2006, 04:37 PM   #26
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by LonelyTraveler
I installed the new kernel and restarted from it, but I get a message before it completes the startup up: "hdc: max request size: 1024 KiB"

Do I need to uninstall the previous kernel?
No multiple kernels can quite easily live on the same machine. I don't suppose you have a digital camera that you can take a picture of the machine when it hangs so we can see what it is saying either that or can you describe the lines before that.
 
Old 09-01-2006, 06:06 PM   #27
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Ran into another problem now. I'm trying to start windows in order to send you the phone as I'm not set up to do that in Linux yet, but now GRUB does not see my windows partition. It only sees the two kernels. I went to the boot utility but it doesn't even detect windows there?
 
Old 09-01-2006, 06:27 PM   #28
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
If you have a Knoppix boot CD then you can mount the root partition then edit the /boot/grub/menu.lst to have an entry like this.

Code:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title           Microsoft Windows 
root            (hd0,0)
savedefault
makeactive
chainloader     +1
This would be for a windows partitions on the hda first partition. Now when the grub splash screen comes up you can hit the letter c to get to the grub command prompt and use this to boot your already installed windows.

Code:
grub> rootnoverify (hd0,0)
grub> makeactive
grub> chainloader +1
grub> boot
You don't type in the grub> part I am just showing what it will look like hit the enter key after each command obviously. I take it you mean photo not phone so you have some web space to post it?
 
Old 09-01-2006, 07:46 PM   #29
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Okay. Thanks. In Windows. Photo: http://photos1.blogger.com/blogger/3...0/IM001147.jpg let me know if this is good enough or if I have to take the photo over again.
 
Old 09-01-2006, 08:09 PM   #30
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,892

Rep: Reputation: 171Reputation: 171
Looks like a dma error on the harddrive which kernel version did you install for the 2.6 and I take it that the drive shows up as hdc in your computer try this at the grub command prompt.

Code:
root (hd0,?)    <--- replace ? with one less than the partition Debian is installed on eg if hdc5 then use 4 if hdc3 use 2 ....
kernel /boot/vmlinuz-2.6.???? ide=nodma ro   <---- here you can type in the kernel /boot/vmlinuz-2.6 part then hit the TAB key to auto-complete and type in the rest
boot
To see if it wants to boot without the dma enabled.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New install - then new hardware matelot Linux - Newbie 5 05-05-2006 05:59 PM
How to install new hardware azazello Linux - Hardware 2 01-21-2006 03:04 PM
how do i install my hardware mandrakelinux Slackware 1 11-22-2005 05:46 PM
How can i install a new hardware? Ronnie85 Slackware 2 04-22-2005 01:46 AM
configure hardware before install OR install elo touchscreen drivers ahnree General 2 06-28-2004 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration