netdb.h parse error(libwww)
Martin Chan <[email protected]>
| Newsgroups | gmane.comp.lib.libwww |
|---|---|
| Message-ID | <[email protected]> |
Dear,
I encounter the following error while compiling my c program in Unix server:
(My c program includes wwwsys.h only)
gcc -DSOLARIS -DRELEASE5 -PREDEF -I /usr/local/include/w3c-libwww -DHAVE_CONFIG_H -O -c test_app.c `libwww-config --libs`
The following error message appears.
In file included from /usr/local/include/w3c-libwww/wwwsys.h:902,
from /usr/local/include/w3c-libwww/WWWUtil.h:48,
from cf_martin1.c:23:
/usr/include/netdb.h:126: parse error before '.' token
/usr/include/netdb.h:130: parse error before '}' token
I have checked my program for syntax and it's no problem.
Is that related to my compilation command?
Thanks for your reply.
Martin.
好心分手,上一次流淚,明年今日,孤兒仔...
火速下載至In手機鈴聲
Download the HOTTEST ringtones from Yahoo!