Hi,
I am trying to build Os-sim 0.9.9rc3 & 0.9.8 on
slackware 11.0 & FreeBSD
6.1
The build ends up on both systems with the same gda error :
with os-sim 0.9.9rc3 :
make all-recursive
make[1]: Entering directory `/root/build/os-sim-0.9.9rc3'
Making all in src
make[2]: Entering directory
`/root/build/os-sim-0.9.9rc3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN="OSSIM"
-DOS_SIM_GLOBAL_CONFIG_FILE=""/etc/ossim/server/c
onfig.xml""
-DOS_SIM_GLOBAL_DIRECTIVE_FILE=""/etc/ossim/serve
r/directives.xml""
-DOS_SIM_LOG_DIR=""/var/log/ossim/""
-pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgda-1.99
-I/usr/include/libxml2 -I/usr/include/gnet-2.0
-I/usr/lib/gnet-2.0/include/ -g -O2 -MT sim-util.o -MD
-MP -MF
".deps/sim-util.Tpo" -c -o sim-util.o sim-util.c;
then mv -f ".deps/sim-util.Tpo"
".deps/sim-util.Po"; else rm -f
".deps/sim-util.Tpo"; exit 1; fi
sim-util.c:745: error: syntax error before '*' token
sim-util.c: In function `sim_gda_value_extract_type':
sim-util.c:747: error: `GdaValueType' undeclared (first use
in this
function)
sim-util.c:747: error: (Each undeclared identifier is
reported only once
sim-util.c:747: error: for each function it appears in.)
sim-util.c:747: error: syntax error before "lala"
sim-util.c:748: error: `lala' undeclared (first use in this
function)
sim-util.c:748: error: `value' undeclared (first use in this
function)
sim-util.c:753: error: `GDA_VALUE_TYPE_NULL' undeclared
(first use in
this function)
sim-util.c:756: error: `GDA_VALUE_TYPE_BIGINT' undeclared
(first use in
this function)
sim-util.c:759: error: `GDA_VALUE_TYPE_BIGUINT' undeclared
(first use in
this function)
sim-util.c:762: error: `GDA_VALUE_TYPE_BINARY' undeclared
(first use in
this function)
sim-util.c:765: error: `GDA_VALUE_TYPE_BLOB' undeclared
(first use in
this function)
sim-util.c:768: error: `GDA_VALUE_TYPE_BOOLEAN' undeclared
(first use in
this function)
sim-util.c:771: error: `GDA_VALUE_TYPE_DATE' undeclared
(first use in
this function)
sim-util.c:774: error: `GDA_VALUE_TYPE_DOUBLE' undeclared
(first use in
this function)
sim-util.c:777: error: `GDA_VALUE_TYPE_GEOMETRIC_POINT'
undeclared
(first use in this function)
sim-util.c:780: error: `GDA_VALUE_TYPE_GOBJECT' undeclared
(first use in
this function)
sim-util.c:783: error: `GDA_VALUE_TYPE_INTEGER' undeclared
(first use in
this function)
sim-util.c:786: error: `GDA_VALUE_TYPE_LIST' undeclared
(first use in
this function)
sim-util.c:789: error: `GDA_VALUE_TYPE_MONEY' undeclared
(first use in
this function)
sim-util.c:792: error: `GDA_VALUE_TYPE_NUMERIC' undeclared
(first use in
this function)
sim-util.c:795: error: `GDA_VALUE_TYPE_SINGLE' undeclared
(first use in
this function)
sim-util.c:798: error: `GDA_VALUE_TYPE_SMALLINT' undeclared
(first use
in this function)
sim-util.c:801: error: `GDA_VALUE_TYPE_SMALLUINT' undeclared
(first use
in this function)
sim-util.c:804: error: `GDA_VALUE_TYPE_STRING' undeclared
(first use in
this function)
sim-util.c:807: error: `GDA_VALUE_TYPE_TIME' undeclared
(first use in
this function)
sim-util.c:810: error: `GDA_VALUE_TYPE_TIMESTAMP' undeclared
(first use
in this function)
sim-util.c:813: error: `GDA_VALUE_TYPE_TINYINT' undeclared
(first use in
this function)
sim-util.c:816: error: `GDA_VALUE_TYPE_TINYUINT' undeclared
(first use
in this function)
sim-util.c:819: error: `GDA_VALUE_TYPE_TYPE' undeclared
(first use in
this function)
sim-util.c:822: error: `GDA_VALUE_TYPE_UINTEGER' undeclared
(first use
in this function)
sim-util.c:825: error: `GDA_VALUE_TYPE_UNKNOWN' undeclared
(first use in
this function)
make[2]: *** [sim-util.o] Error 1
make[2]: Leaving directory `/root/build/os-sim-0.9.9rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/build/os-sim-0.9.9rc3'
make: *** [all] Error 2
With os-sim 0.9.8
make all-recursive
make[1]: Entering directory `/root/build/os-sim-0.9.8'
Making all in src
make[2]: Entering directory `/root/build/os-sim-0.9.8/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN="OSSIM"
-DOS_SIM_GLOBAL_CONFIG_FILE=""/etc/ossim/server/c
onfig.xml""
-DOS_SIM_GLOBAL_DIRECTIVE_FILE=""/etc/ossim/serve
r/directives.xml""
-DOS_SIM_LOG_DIR=""/var/log/ossim/""
-pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgda-1.99
-I/usr/include/libxml2 -I/usr/include/gnet-2.0
-I/usr/lib/gnet-2.0/include/ -g -O2 -MT sim-util.o -MD
-MP -MF
".deps/sim-util.Tpo" -c -o sim-util.o sim-util.c;
then mv -f ".deps/sim-util.Tpo"
".deps/sim-util.Po"; else rm -f
".deps/sim-util.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN="OSSIM"
-DOS_SIM_GLOBAL_CONFIG_FILE=""/etc/ossim/server/c
onfig.xml""
-DOS_SIM_GLOBAL_DIRECTIVE_FILE=""/etc/ossim/serve
r/directives.xml""
-DOS_SIM_LOG_DIR=""/var/log/ossim/""
-pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgda-1.99
-I/usr/include/libxml2 -I/usr/include/gnet-2.0
-I/usr/lib/gnet-2.0/include/ -g -O2 -MT sim-inet.o -MD
-MP -MF
".deps/sim-inet.Tpo" -c -o sim-inet.o sim-inet.c;
then mv -f ".deps/sim-inet.Tpo"
".deps/sim-inet.Po"; else rm -f
".deps/sim-inet.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN="OSSIM"
-DOS_SIM_GLOBAL_CONFIG_FILE=""/etc/ossim/server/c
onfig.xml""
-DOS_SIM_GLOBAL_DIRECTIVE_FILE=""/etc/ossim/serve
r/directives.xml""
-DOS_SIM_LOG_DIR=""/var/log/ossim/""
-pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgda-1.99
-I/usr/include/libxml2 -I/usr/include/gnet-2.0
-I/usr/lib/gnet-2.0/include/ -g -O2 -MT sim-smtp.o -MD
-MP -MF
".deps/sim-smtp.Tpo" -c -o sim-smtp.o sim-smtp.c;
then mv -f ".deps/sim-smtp.Tpo"
".deps/sim-smtp.Po"; else rm -f
".deps/sim-smtp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN="OSSIM"
-DOS_SIM_GLOBAL_CONFIG_FILE=""/etc/ossim/server/c
onfig.xml""
-DOS_SIM_GLOBAL_DIRECTIVE_FILE=""/etc/ossim/serve
r/directives.xml""
-DOS_SIM_LOG_DIR=""/var/log/ossim/""
-pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgda-1.99
-I/usr/include/libxml2 -I/usr/include/gnet-2.0
-I/usr/lib/gnet-2.0/include/ -g -O2 -MT sim-config.o -MD
-MP -MF
".deps/sim-config.Tpo" -c -o sim-config.o
sim-config.c;
then mv -f ".deps/sim-config.Tpo"
".deps/sim-config.Po"; else rm
-f ".deps/sim-config.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN="OSSIM"
-DOS_SIM_GLOBAL_CONFIG_FILE=""/etc/ossim/server/c
onfig.xml""
-DOS_SIM_GLOBAL_DIRECTIVE_FILE=""/etc/ossim/serve
r/directives.xml""
-DOS_SIM_LOG_DIR=""/var/log/ossim/""
-pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgda-1.99
-I/usr/include/libxml2 -I/usr/include/gnet-2.0
-I/usr/lib/gnet-2.0/include/ -g -O2 -MT sim-database.o
-MD -MP -MF
".deps/sim-database.Tpo" -c -o sim-database.o
sim-database.c;
then mv -f ".deps/sim-database.Tpo"
".deps/sim-database.Po";
else rm -f ".deps/sim-database.Tpo"; exit 1; fi
sim-database.c: In function `sim_database_new':
sim-database.c:158: error: `GdaError' undeclared (first use
in this
function)
sim-database.c:158: error: (Each undeclared identifier is
reported only
once
sim-database.c:158: error: for each function it appears in.)
sim-database.c:158: error: `error' undeclared (first use in
this
function)
sim-database.c:188: warning: passing arg 4 of
`gda_client_open_connection_from_string' makes pointer from
integer
without a cast
sim-database.c:188: error: too few arguments to function
`gda_client_open_connection_from_string'
sim-database.c:199: warning: assignment makes pointer from
integer
without a cast
sim-database.c:202: error: syntax error before ')' token
sim-database.c: In function `sim_database_execute_no_query':
sim-database.c:221: error: `GdaError' undeclared (first use
in this
function)
sim-database.c:221: error: `error' undeclared (first use in
this
function)
sim-database.c:242: warning: passing arg 4 of
`gda_client_open_connection_from_string' makes pointer from
integer
without a cast
sim-database.c:242: error: too few arguments to function
`gda_client_open_connection_from_string'
sim-database.c:248: warning: assignment makes pointer from
integer
without a cast
sim-database.c:251: error: syntax error before ')' token
sim-database.c: In function `sim_database_execute_command':
sim-database.c:287: error: too few arguments to function
`gda_connection_execute_command'
sim-database.c: In function
`sim_database_execute_single_command':
sim-database.c:325: warning: passing arg 4 of
`gda_client_open_connection_from_string' makes pointer from
integer
without a cast
sim-database.c:325: error: too few arguments to function
`gda_client_open_connection_from_string'
sim-database.c:327: warning: assignment makes pointer from
integer
without a cast
make[2]: *** [sim-database.o] Error 1
make[2]: Leaving directory `/root/build/os-sim-0.9.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/build/os-sim-0.9.8'
make: *** [all] Error 2
All needed libraries & include files have been
installed.
Libgda2.0 is 1.99.1
I have no problem building both on CentOS 4.x.
Thanx for your help.
Sébastien
------------------------------------------------------------
-------------
SF.net email is sponsored by: A Better Job is Waiting for
You - Find it Now.
Check out Slashdot's new job board. Browse through tons of
technical jobs
posted by companies looking to hire people just like you.
http://jobs.slashdot.org/
a>
_______________________________________________
Os-sim-support mailing list
Os-sim-support lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/os-sim-s
upport
|