Trying to compile some source, need hel getting rid of errors.

This is a discussion on Trying to compile some source, need hel getting rid of errors. within the C Programming forums, part of the General Programming Boards category; Hi everyone, nice site. I am not a programmer by any stretch of the imagination... I am actually just a ...

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    2

    Question Trying to compile some source, need hel getting rid of errors.

    Hi everyone, nice site. I am not a programmer by any stretch of the imagination... I am actually just a sort-of newish Linux user trying to get a D-Link DWL-AG530 wireless network adapter to work under Fedora Core 3. I have to change the regdomain country code in the eeprom of the card in oreder to use the madwifi drivers for this particular card. Paul Shupak wrote some code (as part of the older ar5k drivers, I beleive) that is supposed to accomplish this, problem is, I cant seem to get it to compile without a ton of syntax errors. Instead of posting the actual code, I will post a link to the message in which it appears. click here
    As I said, I really have not a clue when it comes to C programming, I just want this to work for me... I will attach a txt of the errors I receive when I run: (I took the source and created a file called ar5k.c) # gcc ar5k.c -o ar5k

    Thanks in advance for any and all help. anyone feel free to compile this and attach it to a reply, or email it to me if anyone feels like going that far... If not, I'll muddle thru the tips and tricks and try to get it done, I am learning.. which is good, so thanks for the opportunity as well as any help you folks can give.

    -Matt
    Attached Files Attached Files

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,169
    You probably didn't copy and paste the whole program. There were a couple of problems with it even after I copy and pasted it, but I fixed them up to a compile-able state. Here it is (feel free to rename it )
    Attached Files Attached Files
    If you understand what you're doing, you're not learning anything.

  3. #3
    Registered User
    Join Date
    Mar 2005
    Posts
    2
    you are a godsend.... Thanks for helping me to save from pulling out my last reamining hairs. Have a good night.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compile Errors in my Code. Can anyone help?
    By DGLaurynP in forum C Programming
    Replies: 1
    Last Post: 10-06-2008, 09:36 AM
  2. getting massive compile errors, need help
    By jlmac2001 in forum C++ Programming
    Replies: 3
    Last Post: 03-20-2003, 03:05 PM
  3. linked list source code errors
    By C++_Learner in forum C++ Programming
    Replies: 1
    Last Post: 04-18-2002, 11:04 PM
  4. Quake 2 Compile Errors
    By Mercury in forum Game Programming
    Replies: 9
    Last Post: 01-26-2002, 08:40 PM
  5. Has anyone sucessfully compile id's source?
    By fatpotatohead in forum C Programming
    Replies: 6
    Last Post: 12-28-2001, 03:10 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21