gcc bug on mac os X?

David Jimenez-Perez/UPC David.Jimenez-Perez@upc.es
Sun Jan 4 23:00:00 GMT 2004


Hello!
Regarding Michael Hopkins's e-mail, I think I have the same problem as him
when I try to compile the tsl1.4 socket. I'm using the gcc 3.1 version. I
must confess that I'm quite new to linux/Unix world, but after doing some
intensive research on that point (compiling tsl from source on an Apple's
G4) I gave up due to the exhausting and poor rewarding task. The message I
get when typing the make command is this:
./strncasecmp.c:15: header file 'strcasecmp.c' not found
./strncasecmp.c:63: illegal external declaration, missing `;' after
`strncasecmp'
./strncasecmp.c:64: illegal external declaration, missing `;' after `CONST'
./strncasecmp.c:64: illegal external declaration, missing `;' after
`size_t'
./strncasecmp.c:66: illegal external declaration, missing `;' after
`strcasecmp'
./strncasecmp.c:67: illegal external declaration, missing `;' after `CONST'
./strncasecmp.c:67: illegal external declaration, missing `;' after `s2'
./strncasecmp.c:89: illegal function definition, found `CONST'
./strncasecmp.c:89: illegal external declaration, missing `;' after `CONST'
./strncasecmp.c:90: illegal external declaration, missing `;' after `CONST'
./strncasecmp.c:91: illegal external declaration, found `{'
./strncasecmp.c:94: illegal external declaration, found `for'
./strncasecmp.c:95: illegal external declaration, missing `;' after `char'
./strncasecmp.c:96: illegal external declaration, missing `;' after `char'
./strncasecmp.c:101: illegal method definition, found `['
./strncasecmp.c:101: illegal method definition, missing `{' after `]'
./strncasecmp.c:124: illegal function definition, found `CONST'
./strncasecmp.c:124: illegal external declaration, missing `;' after
`CONST'
./strncasecmp.c:125: illegal external declaration, missing `;' after
`CONST'
./strncasecmp.c:126: undefined type, found `size_t'
./strncasecmp.c:129: illegal external declaration, found `{'
./strncasecmp.c:132: illegal external declaration, found `for'
./strncasecmp.c:133: illegal external declaration, missing `;' after `char'
./strncasecmp.c:134: illegal external declaration, missing `;' after `char'
./strncasecmp.c:136: illegal method definition, found `['
./strncasecmp.c:136: illegal method definition, missing `{' after `]'
./strncasecmp.c:138: illegal external declaration, found `if'
The odd think is that, in my opinion, those errors do not exist. I hope
this helps and if that is just my fault don't  blame on a poor and scared
newbie.  Thanks a lot.




More information about the Gcc-bugs mailing list