Re: hamm and compiling.
In your email to me, Bob Clark, you wrote: > > Tim Sailer wrote: > > > > On 1 machine I have, I'm running hamm... updating daily. Real bleeding > > edge. I have a problem with compiling a program that I don't > > understand. > > > > Here is the error: > > > > gcc -g -ansi -pedantic -Wall -I./../include -I../include > ^^^ > These two are equivalent. Did you mean to type > ../../include? Dunno... this came out of a configure generated Makefile. > >in buffer starting at BUF with length of LEN bytes. */ > > extern char *inet_neta __P ((u_long __net, char *__buf, > > u_long is defined in /usr/include/linux/types.h. Are you > including that file? Try using the "-E" switch on gcc and > look at the output to see what is being sent to the compiler > for the offending line. I'm not including it. I'll bet that the includes for hamm may not be pointing to it.. maybe I should purge libc[5-6]-dev and reinstall? Tim -- (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps Do not meddle in the affairs of Dragons, for you are Crunchy, and good with Catsup! ** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.** -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: hamm and compiling.
Tim Sailer wrote: > > On 1 machine I have, I'm running hamm... updating daily. Real bleeding > edge. I have a problem with compiling a program that I don't > understand. > > Here is the error: > > gcc -g -ansi -pedantic -Wall -I./../include -I../include ^^^ These two are equivalent. Did you mean to type ../../include? -I. -I.. > -c fcgiapp.c -o fcgiapp.o > In file included from ../include/fcgimisc.h:30, > from fcgiapp.c:33: > /usr/include/arpa/inet.h:46: parse error before `__net' > fcgiapp.c: In function `FCGX_IsCGI': > fcgiapp.c:1889: warning: pointer targets in passing arg 3 of > `getpeername' differ in signedness > fcgiapp.c: In function `FCGX_Accept': > fcgiapp.c:2121: warning: pointer targets in passing arg 3 of `accept' > differ in signedness > make[3]: *** [fcgiapp.o] Error 1 > > The warinings I can deal with, but the parse error has me baffled. The > line > from inet.h that it's choking on is: > > /* Format a network number NET into presentation format and place > result >in buffer starting at BUF with length of LEN bytes. */ > extern char *inet_neta __P ((u_long __net, char *__buf, u_long is defined in /usr/include/linux/types.h. Are you including that file? Try using the "-E" switch on gcc and look at the output to see what is being sent to the compiler for the offending line. size_t > __len)); > > Can anyone point out what the problem is that I'm missing? > > Thanks, > Tim > > -- > (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - > http://www.buoy.com/~tps > "Too much information running through my brain, > too much information, driving me insane." > -- The Police > ** Disclaimer: My views/comments/beliefs, as strange as they are, are > my own.** -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
hamm and compiling.
On 1 machine I have, I'm running hamm... updating daily. Real bleeding edge. I have a problem with compiling a program that I don't understand. Here is the error: gcc -g -ansi -pedantic -Wall -I./../include -I../include -I. -I..-c fcgiapp.c -o fcgiapp.o In file included from ../include/fcgimisc.h:30, from fcgiapp.c:33: /usr/include/arpa/inet.h:46: parse error before `__net' fcgiapp.c: In function `FCGX_IsCGI': fcgiapp.c:1889: warning: pointer targets in passing arg 3 of `getpeername' differ in signedness fcgiapp.c: In function `FCGX_Accept': fcgiapp.c:2121: warning: pointer targets in passing arg 3 of `accept' differ in signedness make[3]: *** [fcgiapp.o] Error 1 The warinings I can deal with, but the parse error has me baffled. The line from inet.h that it's choking on is: /* Format a network number NET into presentation format and place result in buffer starting at BUF with length of LEN bytes. */ extern char *inet_neta __P ((u_long __net, char *__buf, size_t __len)); Can anyone point out what the problem is that I'm missing? Thanks, Tim -- (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps "Too much information running through my brain, too much information, driving me insane." -- The Police ** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.** -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .