Help compiling a C utility

Jeremy Messenger mezz7 at cox.net
Fri Dec 30 00:51:46 PST 2005


On Fri, 30 Dec 2005 02:43:10 -0600, Beech Rintoul <akbeech at gmail.com>  
wrote:

> I'm trying to compile a utility to fix one of my wireless cards. I got  
> this
> off a freebsd list and it's supposed to work with 6.0, but I can't get  
> it to
> compile. I get the following error:
>
> stargate# gcc ar5k.c -o ar5k
> ar5k.c: In function `main':
> ar5k.c:236: error: syntax error before "t"

Change from 'don"t' to 'do not' in the 236 line.

> ar5k.c:236:47: invalid suffix "x" on integer constant
> ar5k.c:236:50: invalid suffix "X" on integer constant
> ar5k.c:236:57: invalid suffix "x" on integer constant
> ar5k.c:236:60: invalid suffix "X" on integer constant
> ar5k.c:236: error: stray '\' in program
> ar5k.c:236: error: missing terminating " character
>
> I copied this off the message to a text editor (kate). Would someone  
> take a
> look and see if it's something simple.
>
> Beech


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-current mailing list