Re: problem Compiling hello world C Program.

2003-08-14 Thread Jag
I know its not a valid program. It was a typo and I didn't check it when cutting and pasting the test. Like Igor said, the 'Looks like your gcc installation is corrupted'. I have copied the 3.2 folder from another PC and all now works. Thanks Jag - Original Message --

help for a newbie C Programmer

2003-08-14 Thread Jag
the cygwin directory but they aren't there. The makefile works on AIX and I was hoping it would be a straight forward compilation on windows 2k. Can anyone please point me in the right direction ! Thanks Jag -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem repo

problem Compiling hello world C Program.

2003-08-14 Thread Jag
/usr/include/string.h:58: parse error before "size_t" /usr/include/string.h:63: parse error before "size_t" /usr/include/string.h:64: parse error before "size_t" /usr/include/string.h:65: parse error before "size_t" /usr/include/string.h:66: parse error before "strlcat" /usr/include/string.h:67: parse error before "strlcpy" /usr/include/string.h:68: parse error before "size_t" /usr/include/string.h:69: parse error before "strnlen" hello.c:5: parse error before string constant hello.c:5: warning: conflicting types for built-in function `printf' hello.c:5: warning: data definition has no type or storage class hello.c:6: parse error before numeric constant what am i missing? Jag -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: help for a newbie C Programmer

2003-08-14 Thread Jag
: libbridge.dll.a nwutil.o(.text+0x57):nwutil.c: undefined reference to `_h_nerr' nwutil.o(.text+0x63):nwutil.c: undefined reference to `_h_errlist' collect2: ld returned 1 exit status Any idea what package is h_nerr and h_errlist are defined in? Jag - Original Message - From: "Gerrit P.

Fw: help for a newbie C Programmer

2003-08-14 Thread Jag
what the > corresponding libraries are in Cygwin? > > by the way, you are right AIX is Unix. I meant to say that I am porting some > AIX code onto windows 2k. > > Thanks > > Jag > > - Original Message - > From: "Ronald Landheer-Cieslak" <[EMAIL PRO