Re: Help compiling a C utility



On Thursday 29 December 2005 11:52 pm, Jeremy Messenger wrote:
> Re: Help compiling a C utility
> From:
> "Jeremy Messenger" <mezz7@xxxxxxx>
> To:
> "Beech Rintoul" <akbeech@xxxxxxxxx>
> CC:
> freebsd-current@xxxxxxxxxxx
> Date:
> Yesterday 11:52:54 pm
>  
> On Fri, 30 Dec 2005 02:43:10 -0600, Beech Rintoul <akbeech@xxxxxxxxx>  
>
> 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.

Thank you much. That worked.

Beech

--

---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech@xxxxxxxxx
/"\ ASCII Ribbon Campaign | NorthWind Communications
\ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310
X - NO Word docs in e-mail | Anchorage, AK 99501
/ \ - Please visit Alaska Paradise - http://akparadise.byethost33.com
---------------------------------------------------------------------------------------











Attachment:pgpxir9cfHpOv.pgp
Description: PGP signature



Relevant Pages

  • Re: libjpeg
    ... >> I'm trying to compile a program from source that needs libjpeg6b. ... >> me to the correct path? ... Beech Rintoul - System Administrator - akbeech@xxxxxxxxx ...
    (freebsd-questions)
  • Re: Actual Lottery Stuff. WOW eh?
    ... (Clue #1) ... I never bother to compile any project because I almost always ... I put a comment into it that tells how to fix it, ... VB5 was a major upgrade from all previous versions in that it compiles ...
    (rec.gambling.lottery)
  • Re: pointer q
    ... If you were trying to fix the code further up so it would compile what you wanted was: ... More a case of only reading part of the data with my "fix". ... Am I not reading, with correction, the number that a smaller type thinks a larger type was? ... It may have looked formatted on your machine, but here it looks a right mess, and I'm not going to try all my fonts on the off chance one uses the same spacings as whatever font you used. ...
    (comp.lang.c)
  • where are the sources :-)
    ... I can't wait to get the sources and compile for test (currently using ... >Alan started doing forward-porting of 2.4.x driver updates, ... >and USB updates. ... > o fix all the paths in ide Kconfig docs ...
    (Linux-Kernel)
  • Re: [2.6 patch] add -Werror-implicit-function-declaration to CFLAGS
    ... >> Is it my fault that you applied neither Al Viro's patches to remove the ... > That won't make powerpc compile. ... And it's my job to fix every single such bug before you'd accept ... on all architectures. ...
    (Linux-Kernel)