Many errors when running make install
This is on SLES 9. bison, flex and m4 are all installed. make and configure went smoothly. Can someone interpret what this is telling me? The server has a minimal amount of packages installed so this might be related to a missing package, but I didn't see any that I'm missing that are called for in the INSTALL file.. Thanks!! -------------------------------- serverA:~/syslog-ng-1.6.7 # make install Making install in src make[1]: Entering directory `/root/syslog-ng-1.6.7/src' Making install in . make[2]: Entering directory `/root/syslog-ng-1.6.7/src' if gcc -DHAVE_CONFIG_H -I. -I/root/syslog-ng-1.6.7/src -I. -g -O2 -Wall -D_GNU_SOURCE -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.c' || echo '/root/syslog-ng-1.6.7/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:26: syslog-ng.h:31:21: objects.h: No such file or directory In file included from cfgfile.h:29, from main.c:27: sources.h:30:23: read_line.h: No such file or directory In file included from sources.h:32, from cfgfile.h:29, from main.c:27: log.h:30:16: io.h: No such file or directory In file included from sources.h:32, from cfgfile.h:29, from main.c:27: log.h:39: error: parse error before "UINT32" log.h:39: warning: no semicolon at end of struct or union log.h:43: error: parse error before "pri" log.h:43: warning: type defaults to `int' in declaration of `pri' log.h:43: warning: data definition has no type or storage class log.h:44: error: parse error before "flags" log.h:44: warning: type defaults to `int' in declaration of `flags' log.h:44: warning: data definition has no type or storage class log.h:51: error: parse error before '}' token In file included from log.h:54, from sources.h:32, from cfgfile.h:29, from main.c:27: log.h.x:4: error: field `super' has incomplete type In file included from sources.h:32, from cfgfile.h:29, from main.c:27: log.h:93: error: parse error before "length" log.h:94: error: parse error before "pri" In file included from cfgfile.h:29, from main.c:27: sources.h:33:18: list.h: No such file or directory In file included from cfgfile.h:29, from main.c:27: sources.h:64: error: parse error before "dgram" In file included from filters.h:33, from cfgfile.h:30, from main.c:27: filters.h.x:4: error: field `super' has incomplete type filters.h.x:40: error: field `super' has incomplete type In file included from cfgfile.h:30, from main.c:27: filters.h:63: error: parse error before "valid" filters.h:64: error: parse error before "valid" In file included from center.h:32, from cfgfile.h:32, from main.c:27: center.h.x:4: error: field `super' has incomplete type center.h.x:39: error: field `super' has incomplete type center.h.x:40: error: parse error before "UINT32" center.h.x:40: warning: no semicolon at end of struct or union center.h.x:45: error: parse error before '}' token In file included from cfgfile.h:32, from main.c:27: center.h:69: error: parse error before "UINT32" center.h:81: warning: `struct resource_node' declared inside parameter list center.h:81: warning: its scope is only this definition or declaration, which is probably not what you want In file included from cfgfile.h:35, from main.c:27: cfgfile.h.x:4: error: field `super' has incomplete type cfgfile.h.x:10: error: parse error before "UINT32" cfgfile.h.x:10: warning: no semicolon at end of struct or union cfgfile.h.x:11: warning: type defaults to `int' in declaration of `keep_hostname' cfgfile.h.x:11: warning: data definition has no type or storage class cfgfile.h.x:12: error: parse error before "mark_freq" cfgfile.h.x:12: warning: type defaults to `int' in declaration of `mark_freq' cfgfile.h.x:12: warning: data definition has no type or storage class cfgfile.h.x:13: error: parse error before "sync_freq" cfgfile.h.x:13: warning: type defaults to `int' in declaration of `sync_freq' cfgfile.h.x:13: warning: data definition has no type or storage class cfgfile.h.x:14: error: parse error before "stats_freq" cfgfile.h.x:14: warning: type defaults to `int' in declaration of `stats_freq' cfgfile.h.x:14: warning: data definition has no type or storage class cfgfile.h.x:15: error: parse error before "time_reopen" cfgfile.h.x:15: warning: type defaults to `int' in declaration of `time_reopen' cfgfile.h.x:15: warning: data definition has no type or storage class cfgfile.h.x:16: error: parse error before "time_reap" cfgfile.h.x:16: warning: type defaults to `int' in declaration of `time_reap' cfgfile.h.x:16: warning: data definition has no type or storage class cfgfile.h.x:18: error: parse error before "use_time_recvd" cfgfile.h.x:18: warning: type defaults to `int' in declaration of `use_time_recvd' cfgfile.h.x:18: warning: data definition has no type or storage class cfgfile.h.x:19: error: parse error before "use_fqdn" cfgfile.h.x:19: warning: type defaults to `int' in declaration of `use_fqdn' cfgfile.h.x:19: warning: data definition has no type or storage class cfgfile.h.x:20: error: parse error before "use_dns" cfgfile.h.x:20: warning: type defaults to `int' in declaration of `use_dns' cfgfile.h.x:20: warning: data definition has no type or storage class cfgfile.h.x:21: error: parse error before "check_hostname" cfgfile.h.x:21: warning: type defaults to `int' in declaration of `check_hostname' cfgfile.h.x:21: warning: data definition has no type or storage class cfgfile.h.x:22: error: parse error before '*' token cfgfile.h.x:23: warning: type defaults to `int' in declaration of `create_dirs' cfgfile.h.x:23: warning: data definition has no type or storage class cfgfile.h.x:24: error: parse error before "sanitize_filenames" cfgfile.h.x:24: warning: type defaults to `int' in declaration of `sanitize_filenames' cfgfile.h.x:24: warning: data definition has no type or storage class cfgfile.h.x:31: error: parse error before "dns_cache" cfgfile.h.x:31: warning: type defaults to `int' in declaration of `dns_cache' cfgfile.h.x:31: warning: data definition has no type or storage class cfgfile.h.x:32: error: parse error before "dns_cache_size" cfgfile.h.x:32: warning: type defaults to `int' in declaration of `dns_cache_size' cfgfile.h.x:32: warning: data definition has no type or storage class cfgfile.h.x:33: error: parse error before "dns_cache_expire" cfgfile.h.x:33: warning: type defaults to `int' in declaration of `dns_cache_expire' cfgfile.h.x:33: warning: data definition has no type or storage class cfgfile.h.x:34: error: parse error before "dns_cache_expire_failed" cfgfile.h.x:34: warning: type defaults to `int' in declaration of `dns_cache_expire_failed' cfgfile.h.x:34: warning: data definition has no type or storage class cfgfile.h.x:36: error: parse error before "gc_busy_threshold" cfgfile.h.x:36: warning: type defaults to `int' in declaration of `gc_busy_threshold' cfgfile.h.x:36: warning: data definition has no type or storage class cfgfile.h.x:37: error: parse error before "gc_idle_threshold" cfgfile.h.x:37: warning: type defaults to `int' in declaration of `gc_idle_threshold' cfgfile.h.x:37: warning: data definition has no type or storage class cfgfile.h.x:38: error: parse error before "log_msg_size" cfgfile.h.x:38: warning: type defaults to `int' in declaration of `log_msg_size' cfgfile.h.x:38: warning: data definition has no type or storage class cfgfile.h.x:40: error: conflicting types for `sources' center.h.x:41: error: previous declaration of `sources' cfgfile.h.x:41: error: conflicting types for `filters' center.h.x:42: error: previous declaration of `filters' cfgfile.h.x:42: error: conflicting types for `destinations' center.h.x:43: error: previous declaration of `destinations' cfgfile.h.x:45: error: parse error before '}' token cfgfile.h.x:75: error: field `super' has incomplete type cfgfile.h.x:110: error: field `super' has incomplete type In file included from main.c:27: cfgfile.h:114: error: parse error before "UINT32" main.c:29:20: format.h: No such file or directory main.c:30:20: werror.h: No such file or directory main.c:31:19: queue.h: No such file or directory main.c:32:24: pkt_buffer.h: No such file or directory In file included from main.c:51: main.c.x:4: error: field `super' has incomplete type main.c.x:19: error: variable `reread_config_class' has initializer but incomplete type main.c.x:20: error: `STATIC_HEADER' undeclared here (not in a function) main.c.x:20: warning: excess elements in struct initializer main.c.x:20: warning: (near initialization for `reread_config_class') main.c.x:21: error: `callback_class' undeclared here (not in a function) main.c.x:21: warning: excess elements in struct initializer main.c.x:21: warning: (near initialization for `reread_config_class') main.c.x:21: warning: excess elements in struct initializer main.c.x:21: warning: (near initialization for `reread_config_class') main.c.x:21: warning: excess elements in struct initializer main.c.x:21: warning: (near initialization for `reread_config_class') main.c.x:22: warning: excess elements in struct initializer main.c.x:22: warning: (near initialization for `reread_config_class') main.c.x:24: warning: excess elements in struct initializer main.c.x:24: warning: (near initialization for `reread_config_class') main.c.x:30: error: field `super' has incomplete type main.c.x:45: error: variable `report_stats_class' has initializer but incomplete type main.c.x:46: error: `STATIC_HEADER' undeclared here (not in a function) main.c.x:46: warning: excess elements in struct initializer main.c.x:46: warning: (near initialization for `report_stats_class') main.c.x:47: error: `callback_class' undeclared here (not in a function) main.c.x:47: warning: excess elements in struct initializer main.c.x:47: warning: (near initialization for `report_stats_class') main.c.x:47: warning: excess elements in struct initializer main.c.x:47: warning: (near initialization for `report_stats_class') main.c.x:47: warning: excess elements in struct initializer main.c.x:47: warning: (near initialization for `report_stats_class') main.c.x:48: warning: excess elements in struct initializer main.c.x:48: warning: (near initialization for `report_stats_class') main.c.x:50: warning: excess elements in struct initializer main.c.x:50: warning: (near initialization for `report_stats_class') main.c.x:56: error: field `super' has incomplete type main.c.x:76: error: variable `syslog_backend_class' has initializer but incomplete type main.c.x:77: error: `STATIC_HEADER' undeclared here (not in a function) main.c.x:77: warning: excess elements in struct initializer main.c.x:77: warning: (near initialization for `syslog_backend_class') main.c.x:78: error: `io_backend_class' undeclared here (not in a function) main.c.x:78: warning: excess elements in struct initializer main.c.x:78: warning: (near initialization for `syslog_backend_class') main.c.x:78: warning: excess elements in struct initializer main.c.x:78: warning: (near initialization for `syslog_backend_class') main.c.x:78: warning: excess elements in struct initializer main.c.x:78: warning: (near initialization for `syslog_backend_class') main.c.x:79: warning: excess elements in struct initializer main.c.x:79: warning: (near initialization for `syslog_backend_class') main.c.x:81: warning: excess elements in struct initializer main.c.x:81: warning: (near initialization for `syslog_backend_class') main.c: In function `do_reread_config': main.c:68: warning: implicit declaration of function `CAST' main.c:68: error: `reread_config' undeclared (first use in this function) main.c:68: error: (Each undeclared identifier is reported only once main.c:68: error: for each function it appears in.) main.c:68: error: `self' undeclared (first use in this function) main.c:82: warning: implicit declaration of function `io_callout' main.c:91: error: `debug_flag' undeclared (first use in this function) main.c:95: warning: implicit declaration of function `notice' main.c:119: warning: implicit declaration of function `exit' main.c: In function `do_report_stats': main.c:137: error: `report_stats' undeclared (first use in this function) main.c:137: error: `self' undeclared (first use in this function) main.c:139: error: `pktbuf_dropped_pkts' undeclared (first use in this function) main.c: In function `main_loop': main.c:186: warning: braces around scalar initializer main.c:186: warning: (near initialization for `s.super') main.c:186: error: `STATIC_HEADER' undeclared (first use in this function) main.c:186: error: initializer element is not constant main.c:186: error: (near initialization for `s.super') main.c:186: warning: excess elements in scalar initializer main.c:186: warning: (near initialization for `s.super') main.c:186: error: initializer element is not constant main.c:186: error: (near initialization for `s.super') main.c:186: confused by earlier errors, bailing out make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/root/syslog-ng-1.6.7/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/root/syslog-ng-1.6.7/src' make: *** [install-recursive] Error 1 dss-cs99la31:~/syslog-ng-1.6.7 # clear
On Mon, 2005-06-06 at 10:54 -0500, Ryan McCain wrote:
This is on SLES 9. bison, flex and m4 are all installed. make and configure went smoothly. Can someone interpret what this is telling me? The server has a minimal amount of packages installed so this might be related to a missing package, but I didn't see any that I'm missing that are called for in the INSTALL file.. Thanks!!
the libol headers are missing, can you paste your exact configure command line (and libol and where it has been installed) -- Bazsi
participants (2)
-
Balazs Scheidler
-
Ryan McCain