[syslog-ng] sun streams in 1.9.6

John.Dickinson at nominet.org.uk John.Dickinson at nominet.org.uk
Tue Nov 22 17:55:07 CET 2005


syslog-ng-bounces at lists.balabit.hu wrote on 22/11/2005 15:32:21:

> 
> Sorry for the confusion, I meant a test of the latest snapshot would be 
> appreciated, where I've commited the fix. I have now doublechecked that 
> the snapshot dated 20051122 really contains the fix I've commited.
> 
> Sorry again, and thanks for the report.
> 
> -- 
> Bazsi

OK - Sorry about that.

It fails to compile. This is what I did

tar -xzf syslog-ng-1.9.6+20051122.tar.gz 
cd syslog-ng-1.9.6+20051122
export PKG_CONFIG=/opt/pkgconfig/bin/pkg-config
export PKG_CONFIG_PATH=/opt/glib/lib/pkgconfig:/opt/eventlog/lib/pkgconfig
./configure --prefix=/opt/syslog-ng2 --with-glib=/opt/glib 
--with-eventlog=/opt/eventlog --enable-sun-streams --enable-sun-door 
--enable-dynamic-linking >& /tmp/syslog-ng.configure.out

and here is the output of make.

make  all-recursive
make[1]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6+20051122'
Making all in src
make[2]: Entering directory `/home2/jad/pkg/syslog-ng-1.9.6+20051122/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT misc.o -MD -MP -MF ".deps/misc.Tpo" \
  -c -o misc.o `test -f 'misc.c' || echo './'`misc.c; \
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; \
else rm -f ".deps/misc.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT utils.o -MD -MP -MF ".deps/utils.Tpo" \
  -c -o utils.o `test -f 'utils.c' || echo './'`utils.c; \
then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; \
else rm -f ".deps/utils.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT messages.o -MD -MP -MF 
".deps/messages.Tpo" \
  -c -o messages.o `test -f 'messages.c' || echo './'`messages.c; \
then mv -f ".deps/messages.Tpo" ".deps/messages.Po"; \
else rm -f ".deps/messages.Tpo"; exit 1; \
fi
messages.c: In function `msg_send_internal_message':
messages.c:56: warning: int format, pid_t arg (arg 5)
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT syslog-names.o -MD -MP -MF 
".deps/syslog-names.Tpo" \
  -c -o syslog-names.o `test -f 'syslog-names.c' || echo 
'./'`syslog-names.c; \
then mv -f ".deps/syslog-names.Tpo" ".deps/syslog-names.Po"; \
else rm -f ".deps/syslog-names.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT cfg.o -MD -MP -MF ".deps/cfg.Tpo" \
  -c -o cfg.o `test -f 'cfg.c' || echo './'`cfg.c; \
then mv -f ".deps/cfg.Tpo" ".deps/cfg.Po"; \
else rm -f ".deps/cfg.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT cfg-lex.o -MD -MP -MF 
".deps/cfg-lex.Tpo" \
  -c -o cfg-lex.o `test -f 'cfg-lex.c' || echo './'`cfg-lex.c; \
then mv -f ".deps/cfg-lex.Tpo" ".deps/cfg-lex.Po"; \
else rm -f ".deps/cfg-lex.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT cfg-grammar.o -MD -MP -MF 
".deps/cfg-grammar.Tpo" \
  -c -o cfg-grammar.o `test -f 'cfg-grammar.c' || echo './'`cfg-grammar.c; 
\
then mv -f ".deps/cfg-grammar.Tpo" ".deps/cfg-grammar.Po"; \
else rm -f ".deps/cfg-grammar.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT macros.o -MD -MP -MF ".deps/macros.Tpo" 
\
  -c -o macros.o `test -f 'macros.c' || echo './'`macros.c; \
then mv -f ".deps/macros.Tpo" ".deps/macros.Po"; \
else rm -f ".deps/macros.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT filter.o -MD -MP -MF ".deps/filter.Tpo" 
\
  -c -o filter.o `test -f 'filter.c' || echo './'`filter.c; \
then mv -f ".deps/filter.Tpo" ".deps/filter.Po"; \
else rm -f ".deps/filter.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT logmsg.o -MD -MP -MF ".deps/logmsg.Tpo" 
\
  -c -o logmsg.o `test -f 'logmsg.c' || echo './'`logmsg.c; \
then mv -f ".deps/logmsg.Tpo" ".deps/logmsg.Po"; \
else rm -f ".deps/logmsg.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT logpipe.o -MD -MP -MF 
".deps/logpipe.Tpo" \
  -c -o logpipe.o `test -f 'logpipe.c' || echo './'`logpipe.c; \
then mv -f ".deps/logpipe.Tpo" ".deps/logpipe.Po"; \
else rm -f ".deps/logpipe.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT logsource.o -MD -MP -MF 
".deps/logsource.Tpo" \
  -c -o logsource.o `test -f 'logsource.c' || echo './'`logsource.c; \
then mv -f ".deps/logsource.Tpo" ".deps/logsource.Po"; \
else rm -f ".deps/logsource.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT driver.o -MD -MP -MF ".deps/driver.Tpo" 
\
  -c -o driver.o `test -f 'driver.c' || echo './'`driver.c; \
then mv -f ".deps/driver.Tpo" ".deps/driver.Po"; \
else rm -f ".deps/driver.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT sgroup.o -MD -MP -MF ".deps/sgroup.Tpo" 
\
  -c -o sgroup.o `test -f 'sgroup.c' || echo './'`sgroup.c; \
then mv -f ".deps/sgroup.Tpo" ".deps/sgroup.Po"; \
else rm -f ".deps/sgroup.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT dgroup.o -MD -MP -MF ".deps/dgroup.Tpo" 
\
  -c -o dgroup.o `test -f 'dgroup.c' || echo './'`dgroup.c; \
then mv -f ".deps/dgroup.Tpo" ".deps/dgroup.Po"; \
else rm -f ".deps/dgroup.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT center.o -MD -MP -MF ".deps/center.Tpo" 
\
  -c -o center.o `test -f 'center.c' || echo './'`center.c; \
then mv -f ".deps/center.Tpo" ".deps/center.Po"; \
else rm -f ".deps/center.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT templates.o -MD -MP -MF 
".deps/templates.Tpo" \
  -c -o templates.o `test -f 'templates.c' || echo './'`templates.c; \
then mv -f ".deps/templates.Tpo" ".deps/templates.Po"; \
else rm -f ".deps/templates.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT logreader.o -MD -MP -MF 
".deps/logreader.Tpo" \
  -c -o logreader.o `test -f 'logreader.c' || echo './'`logreader.c; \
then mv -f ".deps/logreader.Tpo" ".deps/logreader.Po"; \
else rm -f ".deps/logreader.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT logwriter.o -MD -MP -MF 
".deps/logwriter.Tpo" \
  -c -o logwriter.o `test -f 'logwriter.c' || echo './'`logwriter.c; \
then mv -f ".deps/logwriter.Tpo" ".deps/logwriter.Po"; \
else rm -f ".deps/logwriter.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT affile.o -MD -MP -MF ".deps/affile.Tpo" 
\
  -c -o affile.o `test -f 'affile.c' || echo './'`affile.c; \
then mv -f ".deps/affile.Tpo" ".deps/affile.Po"; \
else rm -f ".deps/affile.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/glib/include/glib-2.0 
-I/opt/glib/lib/glib-2.0/include   -I/opt/eventlog/include/eventlog 
-D_GNU_SOURCE  -g -O2 -Wall -g -MT afstreams.o -MD -MP -MF 
".deps/afstreams.Tpo" \
  -c -o afstreams.o `test -f 'afstreams.c' || echo './'`afstreams.c; \
then mv -f ".deps/afstreams.Tpo" ".deps/afstreams.Po"; \
else rm -f ".deps/afstreams.Tpo"; exit 1; \
fi
afstreams.c: In function `streams_read_read_method':
afstreams.c:63: error: `fd' undeclared (first use in this function)
afstreams.c:63: error: (Each undeclared identifier is reported only once
afstreams.c:63: error: for each function it appears in.)
afstreams.c:66: warning: format argument is not a pointer (arg 6)
afstreams.c:71: warning: implicit declaration of function `msg_warning'
afstreams.c: In function `afstreams_sd_set_sundoor':
afstreams.c:92: error: 'self' redeclared as different kind of symbol
afstreams.c:90: error: previous definition of 'self' was here
afstreams.c:92: error: `s' undeclared (first use in this function)
afstreams.c: At top level:
afstreams.c:98: error: parse error before "door_desc_t"
afstreams.c: In function `afstreams_door_server_proc':
afstreams.c:100: warning: implicit declaration of function `door_return'
afstreams.c: In function `afstreams_sd_init':
afstreams.c:112: warning: implicit declaration of function `open'
afstreams.c:112: error: `O_RDONLY' undeclared (first use in this function)
afstreams.c:112: error: `O_NOCTTY' undeclared (first use in this function)
afstreams.c:112: error: `O_NONBLOCK' undeclared (first use in this 
function)
afstreams.c:117: warning: implicit declaration of function `memset'
afstreams.c:121: warning: passing arg 2 of `evt_tag_str' from incompatible 
pointer type
afstreams.c:128: error: too few arguments to function `streams_read_new'
afstreams.c:128: warning: assignment from incompatible pointer type
afstreams.c:137: warning: implicit declaration of function `creat'
afstreams.c:149: error: structure has no member named `door_fd'
afstreams.c:149: warning: implicit declaration of function `door_create'
afstreams.c:149: error: `afstreams_sd_door_server_proc' undeclared (first 
use in this function)
afstreams.c:150: error: structure has no member named `door_fd'
afstreams.c:152: error: `EVT_TAG_OSRROR' undeclared (first use in this 
function)
afstreams.c:156: error: structure has no member named `door_fd'
afstreams.c:159: error: structure has no member named `door_fd'
afstreams.c:165: error: structure has no member named `door_fd'
afstreams.c: In function `afstreams_sd_deinit':
afstreams.c:187: warning: passing arg 1 of `log_pipe_deinit' from 
incompatible pointer type
afstreams.c:188: warning: implicit declaration of function `door_revoke'
afstreams.c:188: error: structure has no member named `door_fd'
afstreams.c:189: error: structure has no member named `door_fd'
afstreams.c: In function `afstreams_sd_free':
afstreams.c:202: warning: passing arg 1 of `log_pipe_unref' from 
incompatible pointer type
afstreams.c: In function `afstreams_sd_new':
afstreams.c:211: error: `AFStreamsDriver' undeclared (first use in this 
function)
afstreams.c:211: error: `self' undeclared (first use in this function)
afstreams.c: At top level:
afstreams.c:99: warning: 'afstreams_door_server_proc' defined but not used
make[2]: *** [afstreams.o] Error 1
make[2]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6+20051122/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/jad/pkg/syslog-ng-1.9.6+20051122'
make: *** [all] Error 2


More information about the syslog-ng mailing list