MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
to set up the driver, you need to do first
make realclean and make config (to build the config) then make all and finaly make install.
I did so and almost passed everything
But when doing the make all process i got a nearly at the end
"parse error before ...." on many line in the /usr/include/linux/ethtool.h (so many that i might not paste it here i think) i'll try if needed
In file included from /usr/include/linux/wireless.h:75,
from vnet.h:33,
from cofvnet.c:23:
/usr/include/linux/ethtool.h:18: parse error before "u32"
/usr/include/linux/ethtool.h:20: parse error before "advertising"
/usr/include/linux/ethtool.h:21: parse error before "speed"
/usr/include/linux/ethtool.h:22: parse error before "duplex"
/usr/include/linux/ethtool.h:23: parse error before "port"
/usr/include/linux/ethtool.h:24: parse error before "phy_address"
/usr/include/linux/ethtool.h:25: parse error before "transceiver"
/usr/include/linux/ethtool.h:26: parse error before "autoneg"
/usr/include/linux/ethtool.h:27: parse error before "maxtxpkt"
/usr/include/linux/ethtool.h:28: parse error before "maxrxpkt"
/usr/include/linux/ethtool.h:29: parse error before "reserved"
/usr/include/linux/ethtool.h:30: parse error before '}' token
/usr/include/linux/ethtool.h:35: parse error before "u32"
/usr/include/linux/ethtool.h:43: parse error before "n_stats"
/usr/include/linux/ethtool.h:44: parse error before "testinfo_len"
/usr/include/linux/ethtool.h:45: parse error before "eedump_len"
/usr/include/linux/ethtool.h:46: parse error before "regdump_len"
/usr/include/linux/ethtool.h:52: parse error before "u32"
/usr/include/linux/ethtool.h:54: parse error before "wolopts"
/usr/include/linux/ethtool.h:55: parse error before "sopass"
/usr/include/linux/ethtool.h:56: parse error before '}' token
/usr/include/linux/ethtool.h:60: parse error before "u32"
/usr/include/linux/ethtool.h:66: parse error before "u32"
/usr/include/linux/ethtool.h:67: conflicting types for `version'
/usr/include/linux/ethtool.h:37: previous declaration of `version'
/usr/include/linux/ethtool.h:68: parse error before "len"
/usr/include/linux/ethtool.h:69: parse error before "data"
/usr/include/linux/ethtool.h:69: conflicting types for `data'
/usr/include/linux/ethtool.h:61: previous declaration of `data'
/usr/include/linux/ethtool.h:70: parse error before '}' token
/usr/include/linux/ethtool.h:74: parse error before "u32"
/usr/include/linux/ethtool.h:76: parse error before "offset"
/usr/include/linux/ethtool.h:77: parse error before "len"
/usr/include/linux/ethtool.h:78: parse error before "data"
/usr/include/linux/ethtool.h:79: parse error before '}' token
/usr/include/linux/ethtool.h:83: parse error before "u32"
/usr/include/linux/ethtool.h:97: parse error before "rx_max_coalesced_frames"
/usr/include/linux/ethtool.h:104: parse error before "rx_coalesce_usecs_irq"
/usr/include/linux/ethtool.h:105: parse error before "rx_max_coalesced_frames_irq"
/usr/include/linux/ethtool.h:111: parse error before "tx_coalesce_usecs"
/usr/include/linux/ethtool.h:119: parse error before "tx_max_coalesced_frames"
/usr/include/linux/ethtool.h:126: parse error before "tx_coalesce_usecs_irq"
/usr/include/linux/ethtool.h:127: parse error before "tx_max_coalesced_frames_irq"
/usr/include/linux/ethtool.h:134: parse error before "stats_block_coalesce_usecs"
/usr/include/linux/ethtool.h:143: parse error before "use_adaptive_rx_coalesce"
/usr/include/linux/ethtool.h:144: parse error before "use_adaptive_tx_coalesce"
/usr/include/linux/ethtool.h:150: parse error before "pkt_rate_low"
/usr/include/linux/ethtool.h:151: parse error before "rx_coalesce_usecs_low"
/usr/include/linux/ethtool.h:152: parse error before "rx_max_coalesced_frames_low"
/usr/include/linux/ethtool.h:153: parse error before "tx_coalesce_usecs_low"
/usr/include/linux/ethtool.h:154: parse error before "tx_max_coalesced_frames_low"
/usr/include/linux/ethtool.h:165: parse error before "pkt_rate_high"
/usr/include/linux/ethtool.h:166: parse error before "rx_coalesce_usecs_high"
/usr/include/linux/ethtool.h:167: parse error before "rx_max_coalesced_frames_high"
/usr/include/linux/ethtool.h:168: parse error before "tx_coalesce_usecs_high"
/usr/include/linux/ethtool.h:169: parse error before "tx_max_coalesced_frames_high"
/usr/include/linux/ethtool.h:174: parse error before "rate_sample_interval"
/usr/include/linux/ethtool.h:179: parse error before "u32"
/usr/include/linux/ethtool.h:186: parse error before "rx_mini_max_pending"
/usr/include/linux/ethtool.h:187: parse error before "rx_jumbo_max_pending"
/usr/include/linux/ethtool.h:188: parse error before "tx_max_pending"
/usr/include/linux/ethtool.h:193: parse error before "rx_pending"
/usr/include/linux/ethtool.h:194: parse error before "rx_mini_pending"
/usr/include/linux/ethtool.h:195: parse error before "rx_jumbo_pending"
/usr/include/linux/ethtool.h:196: parse error before "tx_pending"
/usr/include/linux/ethtool.h:201: parse error before "u32"
/usr/include/linux/ethtool.h:214: parse error before "rx_pause"
/usr/include/linux/ethtool.h:215: parse error before "tx_pause"
/usr/include/linux/ethtool.h:226: parse error before "u32"
/usr/include/linux/ethtool.h:228: parse error before "len"
/usr/include/linux/ethtool.h:229: parse error before "data"
/usr/include/linux/ethtool.h:230: parse error before '}' token
/usr/include/linux/ethtool.h:239: parse error before "u32"
/usr/include/linux/ethtool.h:241: parse error before "reserved"
/usr/include/linux/ethtool.h:241: conflicting types for `reserved'
/usr/include/linux/ethtool.h:29: previous declaration of `reserved'
/usr/include/linux/ethtool.h:242: parse error before "len"
/usr/include/linux/ethtool.h:243: parse error before "data"
/usr/include/linux/ethtool.h:244: parse error before '}' token
/usr/include/linux/ethtool.h:248: parse error before "u32"
/usr/include/linux/ethtool.h:250: parse error before "data"
/usr/include/linux/ethtool.h:251: parse error before '}' token
In file included from /usr/include/linux/wireless.h:75,
from vnet.h:33,
from sets.c:21:
/usr/include/linux/ethtool.h:18: parse error before "u32"
/usr/include/linux/ethtool.h:20: parse error before "advertising"
/usr/include/linux/ethtool.h:21: parse error before "speed"
/usr/include/linux/ethtool.h:22: parse error before "duplex"
/usr/include/linux/ethtool.h:23: parse error before "port"
/usr/include/linux/ethtool.h:24: parse error before "phy_address"
/usr/include/linux/ethtool.h:25: parse error before "transceiver"
/usr/include/linux/ethtool.h:26: parse error before "autoneg"
/usr/include/linux/ethtool.h:27: parse error before "maxtxpkt"
/usr/include/linux/ethtool.h:28: parse error before "maxrxpkt"
/usr/include/linux/ethtool.h:29: parse error before "reserved"
/usr/include/linux/ethtool.h:30: parse error before '}' token
/usr/include/linux/ethtool.h:35: parse error before "u32"
/usr/include/linux/ethtool.h:43: parse error before "n_stats"
/usr/include/linux/ethtool.h:44: parse error before "testinfo_len"
/usr/include/linux/ethtool.h:45: parse error before "eedump_len"
/usr/include/linux/ethtool.h:46: parse error before "regdump_len"
/usr/include/linux/ethtool.h:52: parse error before "u32"
/usr/include/linux/ethtool.h:54: parse error before "wolopts"
/usr/include/linux/ethtool.h:55: parse error before "sopass"
/usr/include/linux/ethtool.h:56: parse error before '}' token
/usr/include/linux/ethtool.h:60: parse error before "u32"
/usr/include/linux/ethtool.h:66: parse error before "u32"
/usr/include/linux/ethtool.h:67: conflicting types for `version'
/usr/include/linux/ethtool.h:37: previous declaration of `version'
/usr/include/linux/ethtool.h:68: parse error before "len"
/usr/include/linux/ethtool.h:69: parse error before "data"
/usr/include/linux/ethtool.h:69: conflicting types for `data'
/usr/include/linux/ethtool.h:61: previous declaration of `data'
/usr/include/linux/ethtool.h:70: parse error before '}' token
/usr/include/linux/ethtool.h:74: parse error before "u32"
/usr/include/linux/ethtool.h:76: parse error before "offset"
/usr/include/linux/ethtool.h:77: parse error before "len"
/usr/include/linux/ethtool.h:78: parse error before "data"
/usr/include/linux/ethtool.h:79: parse error before '}' token
/usr/include/linux/ethtool.h:83: parse error before "u32"
/usr/include/linux/ethtool.h:97: parse error before "rx_max_coalesced_frames"
/usr/include/linux/ethtool.h:104: parse error before "rx_coalesce_usecs_irq"
/usr/include/linux/ethtool.h:105: parse error before "rx_max_coalesced_frames_irq"
/usr/include/linux/ethtool.h:111: parse error before "tx_coalesce_usecs"
/usr/include/linux/ethtool.h:119: parse error before "tx_max_coalesced_frames"
/usr/include/linux/ethtool.h:126: parse error before "tx_coalesce_usecs_irq"
/usr/include/linux/ethtool.h:127: parse error before "tx_max_coalesced_frames_irq"
/usr/include/linux/ethtool.h:134: parse error before "stats_block_coalesce_usecs"
/usr/include/linux/ethtool.h:143: parse error before "use_adaptive_rx_coalesce"
/usr/include/linux/ethtool.h:144: parse error before "use_adaptive_tx_coalesce"
/usr/include/linux/ethtool.h:150: parse error before "pkt_rate_low"
/usr/include/linux/ethtool.h:151: parse error before "rx_coalesce_usecs_low"
/usr/include/linux/ethtool.h:152: parse error before "rx_max_coalesced_frames_low"
/usr/include/linux/ethtool.h:153: parse error before "tx_coalesce_usecs_low"
/usr/include/linux/ethtool.h:154: parse error before "tx_max_coalesced_frames_low"
/usr/include/linux/ethtool.h:165: parse error before "pkt_rate_high"
/usr/include/linux/ethtool.h:166: parse error before "rx_coalesce_usecs_high"
/usr/include/linux/ethtool.h:167: parse error before "rx_max_coalesced_frames_high"
/usr/include/linux/ethtool.h:168: parse error before "tx_coalesce_usecs_high"
/usr/include/linux/ethtool.h:169: parse error before "tx_max_coalesced_frames_high"
/usr/include/linux/ethtool.h:174: parse error before "rate_sample_interval"
/usr/include/linux/ethtool.h:179: parse error before "u32"
/usr/include/linux/ethtool.h:186: parse error before "rx_mini_max_pending"
/usr/include/linux/ethtool.h:187: parse error before "rx_jumbo_max_pending"
/usr/include/linux/ethtool.h:188: parse error before "tx_max_pending"
/usr/include/linux/ethtool.h:193: parse error before "rx_pending"
/usr/include/linux/ethtool.h:194: parse error before "rx_mini_pending"
/usr/include/linux/ethtool.h:195: parse error before "rx_jumbo_pending"
/usr/include/linux/ethtool.h:196: parse error before "tx_pending"
/usr/include/linux/ethtool.h:201: parse error before "u32"
/usr/include/linux/ethtool.h:214: parse error before "rx_pause"
/usr/include/linux/ethtool.h:215: parse error before "tx_pause"
/usr/include/linux/ethtool.h:226: parse error before "u32"
/usr/include/linux/ethtool.h:228: parse error before "len"
/usr/include/linux/ethtool.h:229: parse error before "data"
/usr/include/linux/ethtool.h:230: parse error before '}' token
/usr/include/linux/ethtool.h:239: parse error before "u32"
/usr/include/linux/ethtool.h:241: parse error before "reserved"
/usr/include/linux/ethtool.h:241: conflicting types for `reserved'
/usr/include/linux/ethtool.h:29: previous declaration of `reserved'
/usr/include/linux/ethtool.h:242: parse error before "len"
/usr/include/linux/ethtool.h:243: parse error before "data"
/usr/include/linux/ethtool.h:244: parse error before '}' token
/usr/include/linux/ethtool.h:248: parse error before "u32"
/usr/include/linux/ethtool.h:250: parse error before "data"
/usr/include/linux/ethtool.h:251: parse error before '}' token
In file included from /usr/include/linux/wireless.h:75,
from vnet.h:33,
from bootcnf.c:22:
/usr/include/linux/ethtool.h:18: parse error before "u32"
/usr/include/linux/ethtool.h:20: parse error before "advertising"
/usr/include/linux/ethtool.h:21: parse error before "speed"
/usr/include/linux/ethtool.h:22: parse error before "duplex"
/usr/include/linux/ethtool.h:23: parse error before "port"
/usr/include/linux/ethtool.h:24: parse error before "phy_address"
/usr/include/linux/ethtool.h:25: parse error before "transceiver"
/usr/include/linux/ethtool.h:26: parse error before "autoneg"
/usr/include/linux/ethtool.h:27: parse error before "maxtxpkt"
/usr/include/linux/ethtool.h:28: parse error before "maxrxpkt"
/usr/include/linux/ethtool.h:29: parse error before "reserved"
/usr/include/linux/ethtool.h:30: parse error before '}' token
/usr/include/linux/ethtool.h:35: parse error before "u32"
/usr/include/linux/ethtool.h:43: parse error before "n_stats"
/usr/include/linux/ethtool.h:44: parse error before "testinfo_len"
/usr/include/linux/ethtool.h:45: parse error before "eedump_len"
/usr/include/linux/ethtool.h:46: parse error before "regdump_len"
/usr/include/linux/ethtool.h:52: parse error before "u32"
/usr/include/linux/ethtool.h:54: parse error before "wolopts"
/usr/include/linux/ethtool.h:55: parse error before "sopass"
/usr/include/linux/ethtool.h:56: parse error before '}' token
/usr/include/linux/ethtool.h:60: parse error before "u32"
/usr/include/linux/ethtool.h:66: parse error before "u32"
/usr/include/linux/ethtool.h:67: conflicting types for `version'
/usr/include/linux/ethtool.h:37: previous declaration of `version'
/usr/include/linux/ethtool.h:68: parse error before "len"
/usr/include/linux/ethtool.h:69: parse error before "data"
/usr/include/linux/ethtool.h:69: conflicting types for `data'
/usr/include/linux/ethtool.h:61: previous declaration of `data'
/usr/include/linux/ethtool.h:70: parse error before '}' token
/usr/include/linux/ethtool.h:74: parse error before "u32"
/usr/include/linux/ethtool.h:76: parse error before "offset"
/usr/include/linux/ethtool.h:77: parse error before "len"
/usr/include/linux/ethtool.h:78: parse error before "data"
/usr/include/linux/ethtool.h:79: parse error before '}' token
/usr/include/linux/ethtool.h:83: parse error before "u32"
/usr/include/linux/ethtool.h:97: parse error before "rx_max_coalesced_frames"
/usr/include/linux/ethtool.h:104: parse error before "rx_coalesce_usecs_irq"
/usr/include/linux/ethtool.h:105: parse error before "rx_max_coalesced_frames_irq"
/usr/include/linux/ethtool.h:111: parse error before "tx_coalesce_usecs"
/usr/include/linux/ethtool.h:119: parse error before "tx_max_coalesced_frames"
/usr/include/linux/ethtool.h:126: parse error before "tx_coalesce_usecs_irq"
/usr/include/linux/ethtool.h:127: parse error before "tx_max_coalesced_frames_irq"
/usr/include/linux/ethtool.h:134: parse error before "stats_block_coalesce_usecs"
/usr/include/linux/ethtool.h:143: parse error before "use_adaptive_rx_coalesce"
/usr/include/linux/ethtool.h:144: parse error before "use_adaptive_tx_coalesce"
/usr/include/linux/ethtool.h:150: parse error before "pkt_rate_low"
/usr/include/linux/ethtool.h:151: parse error before "rx_coalesce_usecs_low"
/usr/include/linux/ethtool.h:152: parse error before "rx_max_coalesced_frames_low"
/usr/include/linux/ethtool.h:153: parse error before "tx_coalesce_usecs_low"
/usr/include/linux/ethtool.h:154: parse error before "tx_max_coalesced_frames_low"
/usr/include/linux/ethtool.h:165: parse error before "pkt_rate_high"
/usr/include/linux/ethtool.h:166: parse error before "rx_coalesce_usecs_high"
/usr/include/linux/ethtool.h:167: parse error before "rx_max_coalesced_frames_high"
/usr/include/linux/ethtool.h:168: parse error before "tx_coalesce_usecs_high"
/usr/include/linux/ethtool.h:169: parse error before "tx_max_coalesced_frames_high"
/usr/include/linux/ethtool.h:174: parse error before "rate_sample_interval"
/usr/include/linux/ethtool.h:179: parse error before "u32"
/usr/include/linux/ethtool.h:186: parse error before "rx_mini_max_pending"
/usr/include/linux/ethtool.h:187: parse error before "rx_jumbo_max_pending"
/usr/include/linux/ethtool.h:188: parse error before "tx_max_pending"
/usr/include/linux/ethtool.h:193: parse error before "rx_pending"
/usr/include/linux/ethtool.h:194: parse error before "rx_mini_pending"
/usr/include/linux/ethtool.h:195: parse error before "rx_jumbo_pending"
/usr/include/linux/ethtool.h:196: parse error before "tx_pending"
/usr/include/linux/ethtool.h:201: parse error before "u32"
/usr/include/linux/ethtool.h:214: parse error before "rx_pause"
/usr/include/linux/ethtool.h:215: parse error before "tx_pause"
/usr/include/linux/ethtool.h:226: parse error before "u32"
/usr/include/linux/ethtool.h:228: parse error before "len"
/usr/include/linux/ethtool.h:229: parse error before "data"
/usr/include/linux/ethtool.h:230: parse error before '}' token
/usr/include/linux/ethtool.h:239: parse error before "u32"
/usr/include/linux/ethtool.h:241: parse error before "reserved"
/usr/include/linux/ethtool.h:241: conflicting types for `reserved'
/usr/include/linux/ethtool.h:29: previous declaration of `reserved'
/usr/include/linux/ethtool.h:242: parse error before "len"
/usr/include/linux/ethtool.h:243: parse error before "data"
/usr/include/linux/ethtool.h:244: parse error before '}' token
/usr/include/linux/ethtool.h:248: parse error before "u32"
/usr/include/linux/ethtool.h:250: parse error before "data"
/usr/include/linux/ethtool.h:251: parse error before '}' token
make[1]: *** [all] Erreur 1
To my opinion, the makefile should have some error in it, but many people used it in many forums without error..... Or is my distro having something not set up correctly.. so that the .config file is not well created?
Could it be a problem with the gcc version?
If it can give you any clue, or give you any idea i could search on.....
This is not strictly a reply to nahl's request but I think is related information.
I recently got a new Sitecom modem (I am living in a village in France which does not have broadband or ADSL) but couldn't get it to work in Mandrake 9.
Eventually through a French forum I discovered that the chip for the modem is made by Conexant and someone in Canada (I think) is now producing linux drivers for Conexant chips (these are in lots of modems). There are basic drivers which are free and fancy ones you pay for.
and there is a link there to determine exactly which modem/chip you've got.
I wanted to share this info and as I found this website (LinuxQuestions) when I was still trying to find the driver this seemed like a good idea.
I have now installed the driver and Mandrake recognises it and dials but I think Wanadoo.fr is rejecting my attempts to logon because I am getting an unobtainable tone.
The Connexant chipset is usually included in winmodem, those are slowly getting more support, but a winmodem will allways be more difficult to make it work than a complete modem.
I propose you to create your own topic (in order to prevent any troll ^_- )
to my opinion your tone Issue might not be linked to you ISP (FAI in french) but to your installation.
it might be a line quality issue (how long is the wire to link your modem to your phone line) or the dialed number could be wrong in some way.
If you do not hear the modem dialing, the phone number might also have been black listed.
Because there is many possibilities to explore i propose you to open your own topic, as it will prevent any mix between those two different issue
You did not need to post all of it. But that's OK. Please post the line from the file that the error refers to. You have posted the error, now please post the line in the code.
It isn't having trouble with the source files, but the included files in /usr/include/linux. Try looking at the files listed, one of them may be corrupt.
I've compiled this source on 6 different machines running 4 different distros with never a problem...*unless* you don't happen to have the kernel source installed or you're trying to build the applications (lvnet and xwlan or winter), so, install the kernel source (for mandrake 9.1 it's on disc #3, just mount it and cd to the rpms directory, and do an ls kern*, then install the the file returned with rpm -i) and don't answer "yes" to the "build applications" question.
Thank for your information. But I still think You should put it in an other thread ^_- as it is interresting for anyone who have a connexant chipset based modem.
Anyway thanks for willing help me.
=>To akaBeaVis
I of course have installed the kernel source (without it if would have been harsh to do the compilation) But still it doesn't work
Where did you get the driver? Yours might be different...
=>To cnjohnson
I'll check my /usr/include/linux files, thanks for the advice
When compiling kernel modules, the use of include files out of the /usr/include directory is incorrect, rather, the files found in /usr/src/linux-`uname -r`/include should be used, this looks to be the source of the compilation errors you are getting. The symlink named "build" found under /lib/modules/`uname -r`/ must be used by the makefile to find the proper includes. On Mandrake this symlink is created when the kernel source rpm is installed. Do you have this symlink and does it point to /usr/src/linux-`uname -r`? If so, then you need to check the makefile and see why it is not using the proper include directory. For instance, I just downloaded the 1.0.5 source code for the admtek chipset and found that they had hard-coded an include directory on the gcc command line in the makefile like this: "-I/usr/src/linux-2.4/include", this generated all sorts of errors, they should have used the build symlink, so if you have the build symlink, then the error may in the makefile.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.