[ale] [Error: symbol foo is already defined] continued....

John Wells jb at sourceillustrated.com
Sun Feb 2 23:49:08 EST 2003


Ok, this is odd.  I had opened the file and searched on a few patterns,
but hadn't paid attention to line numbers because when I hit n (vi) the
code looked identical, so I thought there was only one match.  Last time I
take line numbers for granted.

Turns out somehow there were four identical copies of the code in the same
file.  My patch must have screwed up somehow....

Thanks for the help.  That fixed things!

John

cfowler said:
>
> John,
>
> Check incorrect DEFINES being used.  To me it seems that since you have
> that many redecleration errors, that would fist point me to the the
> problem of husing DEFINE incorrectly when you compile.  I would normally
> expect this to be it .c and .h files but not in the same .c.  Post a
> code snipet from the usbdnet.c with line nubers displayed showing 2
> places where the code is redeclaring variables.  Make sure to include
> lines before and after th redeclearation.  Use vi's set number command
> to turn on the display of line numbers so you can do a cut and paste
> into your email program



_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list