On Thu, Apr 10, 2003 at 06:35:04PM +0100, José Pedro Oliveira wrote:
Balazs Scheidler,
The building process still fails but now with a different error.
Steps 1) placed the file in the src directory 2) Now there is a new dependency problem
Problem: The program gperf is now a requirement Solution: I installed the gperf rpm Better solution: Make configure look for it?
the generated macros-gperf.c is included in the dist (at least should be included).... I've checked the tarball, macros-gperf.c is included, so it definitely should compile without gperf.
3) The error is now
gcc -DHAVE_CONFIG_H -I. -I/home/users/jpo/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src -I. -g -O2 -Wall -I/usr/include/libol -D_GNU_SOURCE -c macros.c macros.c: In function `expand_macros': macros.c:506: warning: implicit declaration of function `find_macro' macros.c:506: warning: assignment makes pointer from integer without a cast macros.c:516: dereferencing pointer to incomplete type macros.c:517: dereferencing pointer to incomplete type macros.c:517: dereferencing pointer to incomplete type macros.c:518: dereferencing pointer to incomplete type macros.c:519: dereferencing pointer to incomplete type make[3]: *** [macros.o] Error 1 make[3]: Leaving directory `/exports/src/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src'
this is caused by a 0 length macros-gperf.c file (gperf was not installed therefore the shell redirection caused a zero length file) -- Bazsi