LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2006, 12:37 PM   #1
rustyz82
Member
 
Registered: May 2004
Posts: 69

Rep: Reputation: 15
Compiler Errors - wlan drivers


I'm trying to compile the linux-wlan drivers for my wireless card and it keeps ending with the following:

prism2_cs.c:27: Warning: funtion declaration isnt a prototype
prism2_cs.c:27: Warning: data definition has no type or storage class
prism2_cs.c:26: Warning: 'numlist' defined but not used
make[5]: *** [prism2_cs.o] Error 1
make[5]: Leaving directory '/root/linux-wlan-ng-0.2.3/src/prizm2/driver'
make[4]: *** [_mod_/root/linux-wlan-ng-0.2.3/src/prism2/driver] Error 2
make[4]: Leaving directory '/usr/src/linux-2.4.29'
make[3]: *** [default] Error 2
make[3]: Leaving directory '/root/linux-wlan-ng-0.2.3/src/prism2/driver'
make[2]: *** [all] Error 2
make[2]: Leaving directory /root/linux-wlan-ng-0.2.3/src/prism2'
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/linux-wlan-ng-0.2.3/src'
make: *** [all] Error 2

It says I have to have a kernal source which I do in /usr/src and i have the pcmcia-cs source in /usr/src as well. I'm not sure what else to look for.
 
Old 04-01-2006, 01:10 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
we need above that - at and just before things started going south.
first error message is the always the problem
 
Old 04-01-2006, 01:37 PM   #3
rustyz82
Member
 
Registered: May 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Here is a bigger picture of the results:

make[2]: Entering directory `/root/linux-wlan-ng-0.2.3/src/mkmeta'
gcc -E -M -I../include -I/lib/modules/2.4.29/build/include -D__LINUX_WLAN__ ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetadef.c ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetastruct.c > .depend
mkdir -p obj
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/lib/modules/2.4.29/build/include -D__LINUX_WLAN__ ../shared/p80211types.c -o obj/p80211types.o
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/lib/modules/2.4.29/build/include -D__LINUX_WLAN__ ../shared/p80211metamsg.c -o obj/p80211metamsg.o
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/lib/modules/2.4.29/build/include -D__LINUX_WLAN__ ../shared/p80211metamib.c -o obj/p80211metamib.o
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/lib/modules/2.4.29/build/include -D__LINUX_WLAN__ ../shared/p80211meta.c -o obj/p80211meta.o
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/lib/modules/2.4.29/build/include -D__LINUX_WLAN__ mkmetadef.c -o obj/mkmetadef.o
gcc -o mkmetadef obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetadef.o
cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h
./mkmetadef >> ../include/wlan/p80211metadef.h
echo "#endif" >> ../include/wlan/p80211metadef.h
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/lib/modules/2.4.29/build/include -D__LINUX_WLAN__ mkmetastruct.c -o obj/mkmetastruct.o
gcc -o mkmetastruct obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetastruct.o
cat mkmetastructhead.txt > ../include/wlan/p80211metastruct.h
./mkmetastruct >> ../include/wlan/p80211metastruct.h
echo "#endif" >> ../include/wlan/p80211metastruct.h
make[2]: Leaving directory `/root/linux-wlan-ng-0.2.3/src/mkmeta'
make[2]: Entering directory `/root/linux-wlan-ng-0.2.3/src/p80211'
make -C /lib/modules/2.4.29/build SUBDIRS=/root/linux-wlan-ng-0.2.3/src/p80211 WLAN_SRC=/root/linux-wlan-ng-0.2.3/src/ modules
make[3]: Entering directory `/usr/src/linux-2.4.29'
make -C /root/linux-wlan-ng-0.2.3/src/p80211 CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE" MAKING_MODULES=1 modules
make[4]: Entering directory `/root/linux-wlan-ng-0.2.3/src/p80211'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE -I/root/linux-wlan-ng-0.2.3/src//include -DWLAN_HOSTIF=WLAN_NONE -nostdinc -iwithprefix include -DKBUILD_BASENAME=p80211mod -DEXPORT_SYMTAB -c p80211mod.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE -I/root/linux-wlan-ng-0.2.3/src//include -DWLAN_HOSTIF=WLAN_NONE -nostdinc -iwithprefix include -DKBUILD_BASENAME=p80211conv -c -o p80211conv.o p80211conv.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE -I/root/linux-wlan-ng-0.2.3/src//include -DWLAN_HOSTIF=WLAN_NONE -nostdinc -iwithprefix include -DKBUILD_BASENAME=p80211req -c -o p80211req.o p80211req.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE -I/root/linux-wlan-ng-0.2.3/src//include -DWLAN_HOSTIF=WLAN_NONE -nostdinc -iwithprefix include -DKBUILD_BASENAME=p80211wep -c -o p80211wep.o p80211wep.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE -I/root/linux-wlan-ng-0.2.3/src//include -DWLAN_HOSTIF=WLAN_NONE -nostdinc -iwithprefix include -DKBUILD_BASENAME=p80211wext -c -o p80211wext.o p80211wext.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE -I/root/linux-wlan-ng-0.2.3/src//include -DWLAN_HOSTIF=WLAN_NONE -nostdinc -iwithprefix include -DKBUILD_BASENAME=p80211netdev -c -o p80211netdev.o p80211netdev.c
rm -f p80211.o
ld -e stext -r -o p80211.o p80211mod.o p80211conv.o p80211req.o p80211wep.o p80211wext.o p80211netdev.o
make[4]: Leaving directory `/root/linux-wlan-ng-0.2.3/src/p80211'
make[3]: Leaving directory `/usr/src/linux-2.4.29'
make[2]: Leaving directory `/root/linux-wlan-ng-0.2.3/src/p80211'
make[2]: Entering directory `/root/linux-wlan-ng-0.2.3/src/prism2'
set -e; for d in driver ridlist download; do make -C $d ; done
make[3]: Entering directory `/root/linux-wlan-ng-0.2.3/src/prism2/driver'
make -C /lib/modules/2.4.29/build SUBDIRS=/root/linux-wlan-ng-0.2.3/src/prism2/driver WLAN_SRC=/root/linux-wlan-ng-0.2.3/src/ \
modules
make[4]: Entering directory `/usr/src/linux-2.4.29'
make -C /root/linux-wlan-ng-0.2.3/src/prism2/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE" MAKING_MODULES=1 modules
make[5]: Entering directory `/root/linux-wlan-ng-0.2.3/src/prism2/driver'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE -I/root/linux-wlan-ng-0.2.3/src//include -I/root/linux-wlan-ng-0.2.3/src//prism2/include -nostdinc -iwithprefix include -DKBUILD_BASENAME=prism2_cs -c -o prism2_cs.o prism2_cs.c
prism2_cs.c:27: error: parse error before "int"
prism2_cs.c:27: warning type defaults to 'int' in declaration of 'module_param_array'
prism2_cs.c:27: Warning: funtion declaration isnt a prototype
prism2_cs.c:27: Warning: data definition has no type or storage class
prism2_cs.c:26: Warning: 'numlist' defined but not used
make[5]: *** [prism2_cs.o] Error 1
make[5]: Leaving directory `/root/linux-wlan-ng-0.2.3/src/prism2/driver'
make[4]: *** [_mod_/root/linux-wlan-ng-0.2.3/src/prism2/driver] Error 2
make[4]: Leaving directory `/usr/src/linux-2.4.29'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/root/linux-wlan-ng-0.2.3/src/prism2/driver'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/linux-wlan-ng-0.2.3/src/prism2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/linux-wlan-ng-0.2.3/src'
make: *** [all] Error 2
 
  


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
Wierd compiler errors dangerousdave Linux - Newbie 3 07-10-2005 02:47 PM
Compiler Errors utopia901 Linux - Newbie 7 04-28-2005 02:46 AM
Cross compiler errors amc Linux - Software 0 02-07-2005 06:06 AM
C++ compiler errors vickyj Linux - Software 1 08-29-2004 02:54 AM
compiler errors barrynewt Linux - Software 6 08-29-2002 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:37 AM.

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