Antwort: [syslog-ng] syslog-ng on cygwin

Gerardo Amaya joseg at galileo.edu
Tue Aug 23 17:04:56 CEST 2005


Hermann-Josef Beckers wrote:

>  
>
>>I check the src/ directory and indeed there is no resolv.h file. What
>>can I do to resolve this issue.
>>
>>    
>>
>
>You need the cygwin sources. Go to www.cygwin.com, select find and search
>for resolv.h
>
>HTH
>hjb
>
>
>_________________________________________
>Diese E-Mail wurde geprüft von Symantec Antivirus
>
>------------------------------------------------------------------------
>
>_______________________________________________
>syslog-ng maillist  -  syslog-ng at lists.balabit.hu
>https://lists.balabit.hu/mailman/listinfo/syslog-ng
>Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>  
>
I added the resolv.h files from the cygwin source and I get the 
following error:

make[3]: Entering directory 
`/home/Administrator/packages/syslog-ng-1.6.8/src'
if gcc -DHAVE_CONFIG_H -I. 
-I/home/Administrator/packages/syslog-ng-1.6.8/src -I
.     -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -MT main.o 
-MD -MP -
MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.c' || echo 
'/home/Administrator/packages/syslog-ng
-1.6.8/src/'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
In file included from main.c:49:
./resolv.h:125: error: field `nsaddr_list' has incomplete type
./resolv.h:130: error: field `in6a' has incomplete type
make[3]: *** [main.o] Error 1
make[3]: Leaving directory 
`/home/Administrator/packages/syslog-ng-1.6.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/Administrator/packages/syslog-ng-1.6.8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/home/Administrator/packages/syslog-ng-1.6.8/src'
make: *** [all-recursive] Error 1

Do I need to change something?

Thanks in advance

Gerardo Amaya


More information about the syslog-ng mailing list