[syslog-ng] FW: Make file on RHEL3
Quinn, Martin
Martin.Quinn at au.fujitsu.com
Fri Dec 1 03:40:45 CET 2006
> I have a problem with compiling syslog-ng on RHEL3, have been able to
> run configure,etc, but when I issue make command the following error
> occurs. Any help would be much appreciated.
> Thanks
>
> make
> make all-recursive
> make[1]: Entering directory `/etc/syslog-ng'
> Making all in src
> make[2]: Entering directory `/etc/syslog-ng/src'
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/local/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
> In file included from misc.h:27,
> from misc.c:24:
> syslog-ng.h:37:18: glib.h: No such file or directory
> In file included from misc.h:28,
> from misc.c:24:
> gsockaddr.h:42: syntax error before "gint"
> gsockaddr.h:42: warning: no semicolon at end of struct or union
> gsockaddr.h:43: warning: type defaults to `int' in declaration of
> `flags'
> gsockaddr.h:43: warning: data definition has no type or storage class
> gsockaddr.h:47: syntax error before '}' token
> gsockaddr.h:47: warning: type defaults to `int' in declaration of
> `GSockAddr'
> gsockaddr.h:47: warning: data definition has no type or storage class
> gsockaddr.h:51: syntax error before "GIOStatus"
> gsockaddr.h:51: warning: no semicolon at end of struct or union
> gsockaddr.h:52: syntax error before '*' token
> gsockaddr.h:52: syntax error before "GSockAddr"
> gsockaddr.h:52: warning: type defaults to `int' in declaration of
> `GIOStatus'
> gsockaddr.h:52: `GIOStatus' declared as function returning a function
> gsockaddr.h:52: warning: data definition has no type or storage class
> gsockaddr.h:53: syntax error before '*' token
> gsockaddr.h:53: syntax error before '*' token
> gsockaddr.h:55: warning: type defaults to `int' in declaration of
> `sa_format'
> gsockaddr.h:55: warning: data definition has no type or storage class
> gsockaddr.h:56: syntax error before '*' token
> gsockaddr.h:59: syntax error before '*' token
> gsockaddr.h:59: warning: type defaults to `int' in declaration of
> `g_sockaddr_new'
> gsockaddr.h:59: warning: data definition has no type or storage class
> gsockaddr.h:60: syntax error before '*' token
> gsockaddr.h:60: syntax error before '*' token
> gsockaddr.h:60: warning: type defaults to `int' in declaration of
> `g_sockaddr_format'
> gsockaddr.h:60: warning: data definition has no type or storage class
> gsockaddr.h:61: syntax error before '*' token
> gsockaddr.h:61: syntax error before '*' token
> gsockaddr.h:61: warning: type defaults to `int' in declaration of
> `g_sockaddr_ref'
> gsockaddr.h:61: warning: data definition has no type or storage class
> gsockaddr.h:62: syntax error before '*' token
> gsockaddr.h:64: syntax error before "g_sockaddr_inet_check"
> gsockaddr.h:64: syntax error before '*' token
> gsockaddr.h:64: warning: type defaults to `int' in declaration of
> `g_sockaddr_inet_check'
> gsockaddr.h:64: warning: data definition has no type or storage class
> gsockaddr.h:65: syntax error before '*' token
> gsockaddr.h:65: syntax error before '*' token
> gsockaddr.h:65: warning: type defaults to `int' in declaration of
> `g_sockaddr_inet_new'
> gsockaddr.h:65: warning: data definition has no type or storage class
> gsockaddr.h:66: syntax error before '*' token
> gsockaddr.h:66: warning: type defaults to `int' in declaration of
> `g_sockaddr_inet_new2'
> gsockaddr.h:66: warning: data definition has no type or storage class
> gsockaddr.h:67: syntax error before '*' token
> gsockaddr.h:67: syntax error before '*' token
> gsockaddr.h:67: warning: type defaults to `int' in declaration of
> `g_sockaddr_inet_range_new'
> gsockaddr.h:67: warning: data definition has no type or storage class
> gsockaddr.h:70: syntax error before '*' token
> gsockaddr.h: In function `g_sockaddr_get_sa':
> gsockaddr.h:72: `self' undeclared (first use in this function)
> gsockaddr.h:72: (Each undeclared identifier is reported only once
> gsockaddr.h:72: for each function it appears in.)
> gsockaddr.h: At top level:
> gsockaddr.h:76: syntax error before '*' token
> gsockaddr.h: In function `g_sockaddr_inet_get_sa':
> gsockaddr.h:78: warning: implicit declaration of function `g_assert'
> gsockaddr.h:78: `s' undeclared (first use in this function)
> gsockaddr.h: At top level:
> gsockaddr.h:92: syntax error before '*' token
> gsockaddr.h: In function `g_sockaddr_inet_get_address':
> gsockaddr.h:94: `s' undeclared (first use in this function)
> gsockaddr.h: At top level:
> gsockaddr.h:106: syntax error before '*' token
> gsockaddr.h: In function `g_sockaddr_inet_set_address':
> gsockaddr.h:108: `s' undeclared (first use in this function)
> gsockaddr.h:108: `addr' undeclared (first use in this function)
> gsockaddr.h: At top level:
> gsockaddr.h:122: syntax error before "g_sockaddr_inet_get_port"
> gsockaddr.h:122: syntax error before '*' token
> gsockaddr.h:123: warning: return type defaults to `int'
> gsockaddr.h: In function `g_sockaddr_inet_get_port':
> gsockaddr.h:124: `s' undeclared (first use in this function)
> In file included from misc.h:28,
> from misc.c:24:
> gsockaddr.h: At top level:
> gsockaddr.h:135: syntax error before '*' token
> gsockaddr.h: In function `g_sockaddr_inet_set_port':
> gsockaddr.h:137: `s' undeclared (first use in this function)
> gsockaddr.h:137: `port' undeclared (first use in this function)
> gsockaddr.h: At top level:
> gsockaddr.h:143: syntax error before "g_sockaddr_inet6_check"
> gsockaddr.h:143: syntax error before '*' token
> gsockaddr.h:143: warning: type defaults to `int' in declaration of
> `g_sockaddr_inet6_check'
> gsockaddr.h:143: warning: data definition has no type or storage class
> gsockaddr.h:144: syntax error before '*' token
> gsockaddr.h:144: syntax error before '*' token
> gsockaddr.h:144: warning: type defaults to `int' in declaration of
> `g_sockaddr_inet6_new'
> gsockaddr.h:144: warning: data definition has no type or storage class
> gsockaddr.h:145: syntax error before '*' token
> gsockaddr.h:145: warning: type defaults to `int' in declaration of
> `g_sockaddr_inet6_new2'
> gsockaddr.h:145: warning: data definition has no type or storage class
> gsockaddr.h:148: syntax error before '*' token
> gsockaddr.h: In function `g_sockaddr_inet6_get_sa':
> gsockaddr.h:150: `s' undeclared (first use in this function)
> gsockaddr.h: At top level:
> gsockaddr.h:163: syntax error before '*' token
> gsockaddr.h: In function `g_sockaddr_inet6_get_address':
> gsockaddr.h:165: `s' undeclared (first use in this function)
> gsockaddr.h: At top level:
> gsockaddr.h:177: syntax error before '*' token
> gsockaddr.h: In function `g_sockaddr_inet6_set_address':
> gsockaddr.h:179: `s' undeclared (first use in this function)
> gsockaddr.h:179: `addr' undeclared (first use in this function)
> gsockaddr.h: At top level:
> gsockaddr.h:193: syntax error before "g_sockaddr_inet6_get_port"
> gsockaddr.h:193: syntax error before '*' token
> gsockaddr.h:194: warning: return type defaults to `int'
> gsockaddr.h: In function `g_sockaddr_inet6_get_port':
> gsockaddr.h:195: `s' undeclared (first use in this function)
> In file included from misc.h:28,
> from misc.c:24:
> gsockaddr.h: At top level:
> gsockaddr.h:206: syntax error before '*' token
> gsockaddr.h: In function `g_sockaddr_inet6_set_port':
> gsockaddr.h:208: `s' undeclared (first use in this function)
> gsockaddr.h:208: `port' undeclared (first use in this function)
> gsockaddr.h: At top level:
> gsockaddr.h:212: syntax error before '*' token
> gsockaddr.h:212: syntax error before '*' token
> gsockaddr.h:212: warning: type defaults to `int' in declaration of
> `g_sockaddr_unix_new'
> gsockaddr.h:212: warning: data definition has no type or storage class
> gsockaddr.h:213: syntax error before '*' token
> gsockaddr.h:213: warning: type defaults to `int' in declaration of
> `g_sockaddr_unix_new2'
> gsockaddr.h:213: warning: data definition has no type or storage class
> gsockaddr.h:215: syntax error before "g_bind"
> gsockaddr.h:215: syntax error before "GSockAddr"
> gsockaddr.h:215: warning: type defaults to `int' in declaration of
> `g_bind'
> gsockaddr.h:215: warning: data definition has no type or storage class
> gsockaddr.h:216: syntax error before "g_accept"
> gsockaddr.h:216: syntax error before "GSockAddr"
> gsockaddr.h:216: warning: type defaults to `int' in declaration of
> `g_accept'
> gsockaddr.h:216: warning: data definition has no type or storage class
> gsockaddr.h:217: syntax error before "g_connect"
> gsockaddr.h:217: syntax error before "GSockAddr"
> gsockaddr.h:217: warning: type defaults to `int' in declaration of
> `g_connect'
> gsockaddr.h:217: warning: data definition has no type or storage class
> gsockaddr.h:218: syntax error before '*' token
> gsockaddr.h:218: warning: type defaults to `int' in declaration of
> `g_inet_ntoa'
> gsockaddr.h:218: warning: data definition has no type or storage class
> gsockaddr.h:219: syntax error before "g_inet_aton"
> gsockaddr.h:219: warning: type defaults to `int' in declaration of
> `g_inet_aton'
> gsockaddr.h:219: warning: data definition has no type or storage class
> In file included from misc.c:24:
> misc.h:33: syntax error before '*' token
> misc.h:33: syntax error before '*' token
> misc.h:33: warning: type defaults to `int' in declaration of
> `g_string_assign_len'
> misc.h:33: warning: data definition has no type or storage class
> misc.h:37: syntax error before '*' token
> misc.h:39: syntax error before "g_fd_set_nonblock"
> misc.h:39: syntax error before "gboolean"
> misc.h:39: warning: type defaults to `int' in declaration of
> `g_fd_set_nonblock'
> misc.h:39: warning: data definition has no type or storage class
> misc.h:40: syntax error before "g_fd_set_cloexec"
> misc.h:40: syntax error before "gboolean"
> misc.h:40: warning: type defaults to `int' in declaration of
> `g_fd_set_cloexec'
> misc.h:40: warning: data definition has no type or storage class
> misc.h:42: syntax error before "resolve_user"
> misc.h:42: warning: type defaults to `int' in declaration of
> `resolve_user'
> misc.h:42: warning: data definition has no type or storage class
> misc.h:43: syntax error before "resolve_group"
> misc.h:43: warning: type defaults to `int' in declaration of
> `resolve_group'
> misc.h:43: warning: data definition has no type or storage class
> misc.h:44: syntax error before "resolve_user_group"
> misc.h:44: warning: type defaults to `int' in declaration of
> `resolve_user_group'
> misc.h:44: warning: data definition has no type or storage class
> misc.h:45: syntax error before "resolve_hostname"
> misc.h:45: syntax error before '*' token
> misc.h:45: warning: type defaults to `int' in declaration of
> `resolve_hostname'
> misc.h:45: warning: data definition has no type or storage class
> misc.c:40: syntax error before '*' token
> misc.c:41: syntax error before '*' token
> misc.c:42: warning: return type defaults to `int'
> misc.c: In function `g_string_assign_len':
> misc.c:43: warning: implicit declaration of function
> `g_string_truncate'
> misc.c:43: `s' undeclared (first use in this function)
> misc.c:44: `val' undeclared (first use in this function)
> misc.c:44: `len' undeclared (first use in this function)
> misc.c:45: warning: implicit declaration of function
> `g_string_append_len'
> misc.c: At top level:
> misc.c:80: syntax error before '*' token
> misc.c: In function `format_zone_info':
> misc.c:82: `buf' undeclared (first use in this function)
> misc.c:82: `buflen' undeclared (first use in this function)
> misc.c:83: `gmtoff' undeclared (first use in this function)
> misc.c: At top level:
> misc.c:127: syntax error before "resolve_hostname"
> misc.c:127: syntax error before '*' token
> misc.c:128: warning: return type defaults to `int'
> misc.c: In function `resolve_hostname':
> misc.c:129: syntax error before "local_hostname"
> misc.c:132: `saddr' undeclared (first use in this function)
> misc.c:152: `usedns' undeclared (first use in this function)
> misc.c:169: `usefqdn' undeclared (first use in this function)
> misc.c:178: warning: implicit declaration of function
> `g_assert_not_reached'
> misc.c:183: `local_hostname' undeclared (first use in this function)
> misc.c:193: warning: implicit declaration of function
> `g_string_assign'
> misc.c:193: `result' undeclared (first use in this function)
> misc.c:194: `TRUE' undeclared (first use in this function)
> misc.c: At top level:
> misc.c:198: syntax error before "g_fd_set_nonblock"
> misc.c:198: syntax error before "gboolean"
> misc.c:199: warning: return type defaults to `int'
> misc.c: In function `g_fd_set_nonblock':
> misc.c:202: `fd' undeclared (first use in this function)
> misc.c:203: `FALSE' undeclared (first use in this function)
> misc.c:204: `enable' undeclared (first use in this function)
> misc.c:213: `TRUE' undeclared (first use in this function)
> misc.c: At top level:
> misc.c:217: syntax error before "g_fd_set_cloexec"
> misc.c:217: syntax error before "gboolean"
> misc.c:218: warning: return type defaults to `int'
> misc.c: In function `g_fd_set_cloexec':
> misc.c:221: `fd' undeclared (first use in this function)
> misc.c:222: `FALSE' undeclared (first use in this function)
> misc.c:223: `enable' undeclared (first use in this function)
> misc.c:232: `TRUE' undeclared (first use in this function)
> misc.c: At top level:
> misc.c:236: syntax error before "resolve_user"
> misc.c:237: warning: return type defaults to `int'
> misc.c: In function `resolve_user':
> misc.c:250: `FALSE' undeclared (first use in this function)
> misc.c:252: `TRUE' undeclared (first use in this function)
> misc.c: At top level:
> misc.c:256: syntax error before "resolve_group"
> misc.c:257: warning: return type defaults to `int'
> misc.c: In function `resolve_group':
> misc.c:270: `FALSE' undeclared (first use in this function)
> misc.c:272: `TRUE' undeclared (first use in this function)
> misc.c: At top level:
> misc.c:276: syntax error before "resolve_user_group"
> misc.c:277: warning: return type defaults to `int'
> misc.c: In function `resolve_user_group':
> misc.c:285: `FALSE' undeclared (first use in this function)
> misc.c:288: `TRUE' undeclared (first use in this function)
> make[2]: *** [misc.o] Error 1
> make[2]: Leaving directory `/etc/syslog-ng/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/etc/syslog-ng'
> make: *** [all] Error 2
>
>
> M Quinn
>
>
This is an email from Fujitsu Australia Limited, ABN 19 001 011 427. It is confidential to the ordinary user of the email address to which it was addressed and may contain copyright and/or legally privileged information. No one else may read, print, store, copy or forward all or any of it or its attachments. If you receive this email in error, please return to sender. Thank you.
If you do not wish to receive commercial email messages from Fujitsu Australia Limited, please email unsubscribe at au.fujitsu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20061201/d0d69ec2/attachment-0001.html
More information about the syslog-ng
mailing list