Hello,

I'm trying to install nxlog on an openBSD client from the source, but there
are some errors during the command "make".

I'm using firstly this command :

CFLAGS="-I/usr/local/include" ./configure

And then:

make

You will find a file which contain a copy of errors joined to this mail

Thank you for your answer.

Best Regards.

L. SOMMERARD
Making all in src
Making all in common
make  all-am
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I/usr/local/include/apr-1/   -I/usr/local/include -I/usr/local/include  
-D_POSIX_THREADS -pipe -W -Wall -Wshadow -Wcast-qual -Wbad-function-cast 
-Wsign-compare -Wconversion -funsigned-char 
-Werror-implicit-function-declaration -Wswitch-default -fstrict-aliasing 
-Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-noreturn 
-Wmissing-format-attribute -Wformat -rdynamic -ggdb3 -MT 
libnx_la-config_cache.lo -MD -MP -MF .deps/libnx_la-config_cache.Tpo -c -o 
libnx_la-config_cache.lo `test -f 'config_cache.c' || echo './'`config_cache.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/include/apr-1/ 
-I/usr/local/include -I/usr/local/include -D_POSIX_THREADS -pipe -W -Wall 
-Wshadow -Wcast-qual -Wbad-function-cast -Wsign-compare -Wconversion 
-funsigned-char -Werror-implicit-function-declaration -Wswitch-default 
-fstrict-aliasing -Wpointer-arith -Wcast-align -Wwrite-strings 
-Wmissing-noreturn -Wmissing-format-attribute -Wformat -rdynamic -ggdb3 -MT 
libnx_la-config_cache.lo -MD -MP -MF .deps/libnx_la-config_cache.Tpo -c 
config_cache.c  -fPIC -DPIC -o .libs/libnx_la-config_cache.o
In file included from ../core/nxlog.h:16,
                 from config_cache.c:8:
../common/error_debug.h:58: error: syntax error before '*' token
In file included from ../common/route.h:14,
                 from ../common/module.h:21,
                 from ../core/ctx.h:12,
                 from ../core/nxlog.h:18,
                 from config_cache.c:8:
../common/logqueue.h:24: error: syntax error before "apr_thread_mutex_t"
In file included from ../common/module.h:21,
                 from ../core/ctx.h:12,
                 from ../core/nxlog.h:18,
                 from config_cache.c:8:
../common/route.h:25: error: syntax error before "apr_thread_mutex_t"
In file included from ../core/ctx.h:12,
                 from ../core/nxlog.h:18,
                 from config_cache.c:8:
../common/module.h:214: error: syntax error before "apr_thread_mutex_t"
In file included from ../core/nxlog.h:18,
                 from config_cache.c:8:
../core/ctx.h:71: error: syntax error before "apr_thread_mutex_t"
In file included from config_cache.c:8:
../core/nxlog.h:54: error: syntax error before "apr_thread_cond_t"
../core/nxlog.h:56: error: syntax error before "apr_thread_cond_t"
../core/nxlog.h:60: error: syntax error before "apr_thread_mutex_t"
../core/nxlog.h:62: error: syntax error before "apr_thread_mutex_t"
config_cache.c: In function `_update_item':
config_cache.c:47: error: implicit declaration of function 
`apr_thread_mutex_lock'
config_cache.c:47: error: structure has no member named `config_cache_mutex'
config_cache.c:74: error: implicit declaration of function 
`apr_thread_mutex_unlock'
config_cache.c:74: error: structure has no member named `config_cache_mutex'
config_cache.c:77: error: structure has no member named `config_cache_mutex'
config_cache.c: In function `_read_item':
config_cache.c:158: warning: long int format, different type arg (arg 6)
config_cache.c: In function `nx_config_cache_write':
config_cache.c:234: warning: passing arg 2 of `apr_file_trunc' with different 
width due to prototype
config_cache.c:247: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
config_cache.c:247: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
config_cache.c: In function `nx_config_cache_get_int':
config_cache.c:395: error: structure has no member named `config_cache_mutex'
config_cache.c:397: error: structure has no member named `config_cache_mutex'
config_cache.c: In function `nx_config_cache_get_string':
config_cache.c:432: error: structure has no member named `config_cache_mutex'
config_cache.c:434: error: structure has no member named `config_cache_mutex'
config_cache.c: In function `nx_config_cache_set_int':
config_cache.c:473: error: structure has no member named `config_cache_mutex'
config_cache.c:475: error: structure has no member named `config_cache_mutex'
config_cache.c:493: error: structure has no member named `config_cache_mutex'
config_cache.c:495: error: structure has no member named `config_cache_mutex'
config_cache.c: In function `nx_config_cache_set_string':
config_cache.c:518: error: structure has no member named `config_cache_mutex'
config_cache.c:520: error: structure has no member named `config_cache_mutex'
config_cache.c:538: error: structure has no member named `config_cache_mutex'
config_cache.c:540: error: structure has no member named `config_cache_mutex'
config_cache.c: In function `nx_config_cache_free':
config_cache.c:556: error: structure has no member named `config_cache_mutex'
config_cache.c:561: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
config_cache.c:561: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
config_cache.c:570: error: structure has no member named `config_cache_mutex'
config_cache.c: At top level:
config_cache.c:38: warning: `_update_item' defined but not used
*** Error code 1

Stop in /var/opt/nxlog-ce-2.4.1054/src/common (line 454 of Makefile).
*** Error code 1

Stop in /var/opt/nxlog-ce-2.4.1054/src/common (line 300 of Makefile).
*** Error code 1

Stop in /var/opt/nxlog-ce-2.4.1054/src (line 308 of Makefile).
*** Error code 1

Stop in /var/opt/nxlog-ce-2.4.1054 (line 419 of Makefile).
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to