[JDEV] xdb_sql make error.

Joe Breeden jbreeden at ena.com
Thu Jul 18 10:06:30 CDT 2002


I am trying to "make" the xdb_sql and have come across this error: (I have included the complete output from make as it is only a few lines). I am compiling on a RedHat 7.3 system. The standard jabberd server is running ok. I want to use PostgreSQL as the backend db server. PostgreSQL version 7.2.1 is installed and running properly and in the standard places on the system I am trying to compile the xdb_sql component. I hope this is enough info to get an answer, thanks in advance for the help.


[jbreeden at shrieker xdb_sql]# make
gcc -I. -I../jabberd -g -Wall -I. -I.. -I/usr/local/jabber/jabber-1.4.2/jabberd/pth-1.4.0 -fPIC -I/usr/local/pgsql/include/   -DPOSTGRESQL_BACKEND   -c -o xdb_sql.o xdb_sql.c
gcc -I. -I../jabberd -g -Wall -I. -I.. -I/usr/local/jabber/jabber-1.4.2/jabberd/pth-1.4.0 -fPIC -I/usr/local/pgsql/include/   -DPOSTGRESQL_BACKEND   -c -o xdb_sql_auth0k.o xdb_sql_auth0k.c
xdb_sql_auth0k.c: In function `xdbsql_auth0k_get':
xdb_sql_auth0k.c:70: warning: unused variable `rowcount'
gcc -I. -I../jabberd -g -Wall -I. -I.. -I/usr/local/jabber/jabber-1.4.2/jabberd/pth-1.4.0 -fPIC -I/usr/local/pgsql/include/   -DPOSTGRESQL_BACKEND   -c -o xdb_sql_auth.o xdb_sql_auth.c
xdb_sql_auth.c: In function `xdbsql_auth_get':
xdb_sql_auth.c:30: warning: unused variable `rowcount'
xdb_sql_auth.c: In function `xdbsql_user_exists':
xdb_sql_auth.c:233: warning: unused variable `rowcount'
gcc -I. -I../jabberd -g -Wall -I. -I.. -I/usr/local/jabber/jabber-1.4.2/jabberd/pth-1.4.0 -fPIC -I/usr/local/pgsql/include/   -DPOSTGRESQL_BACKEND   -c -o xdb_sql_offline.o xdb_sql_offline.c
gcc -I. -I../jabberd -g -Wall -I. -I.. -I/usr/local/jabber/jabber-1.4.2/jabberd/pth-1.4.0 -fPIC -I/usr/local/pgsql/include/   -DPOSTGRESQL_BACKEND   -c -o xdb_sql_register.o xdb_sql_register.c
gcc -I. -I../jabberd -g -Wall -I. -I.. -I/usr/local/jabber/jabber-1.4.2/jabberd/pth-1.4.0 -fPIC -I/usr/local/pgsql/include/   -DPOSTGRESQL_BACKEND   -c -o xdb_sql_config.o xdb_sql_config.c
gcc -I. -I../jabberd -g -Wall -I. -I.. -I/usr/local/jabber/jabber-1.4.2/jabberd/pth-1.4.0 -fPIC -I/usr/local/pgsql/include/   -DPOSTGRESQL_BACKEND   -c -o xdb_sql_querydef.o xdb_sql_querydef.c
gcc -I. -I../jabberd -g -Wall -I. -I.. -I/usr/local/jabber/jabber-1.4.2/jabberd/pth-1.4.0 -fPIC -I/usr/local/pgsql/include/   -DPOSTGRESQL_BACKEND   -c -o xdb_sql_roster.o xdb_sql_roster.c
xdb_sql_roster.c: In function `xdbsql_roster_set':
xdb_sql_roster.c:435: warning: suggest explicit braces to avoid ambiguous `else'
gcc -I. -I../jabberd -g -Wall -I. -I.. -I/usr/local/jabber/jabber-1.4.2/jabberd/pth-1.4.0 -fPIC -I/usr/local/pgsql/include/   -DPOSTGRESQL_BACKEND   -c -o xdb_sql_last.o xdb_sql_last.c
gcc -I. -I../jabberd -g -Wall -I. -I.. -I/usr/local/jabber/jabber-1.4.2/jabberd/pth-1.4.0 -fPIC -I/usr/local/pgsql/include/   -DPOSTGRESQL_BACKEND   -c -o xdb_sql_backend.o xdb_sql_backend.c
In file included from xdb_sql_backend.c:29:
xdb_sql_pgsql.h:20:28: pgsql/libpq-fe.h: No such file or directory
make: *** [xdb_sql_backend.o] Error 1


--Joe Breeden

We don't do Extreme Programming here - we prefer Ludicrous Programming



More information about the JDev mailing list