From: Darrick H. <dha...@dj...> - 2007-03-12 19:32:07
|
Sebastian, I know what the problem is, but I don't have time to fix it this afternoon. For the short term, either include libpq or delete the asterisk-makefile-apps.patch. I need to edit the patch to only add apps_sql_postgres if selected. Darrick Sebastian Auriol wrote: > And I don't even have Asterisk PostgrSQL support enabled! > > /home/seb/astlinux-0.4/build_i586/staging_dir/bin/i586-linux-uclibc-gcc > -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations > -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -Os -pipe -march=i586 > -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -c -o > app_stack.o app_stack.c > /home/seb/astlinux-0.4/build_i586/staging_dir/bin/i586-linux-uclibc-gcc > -shared -Xlinker -x -o app_stack.so app_stack.o > /home/seb/astlinux-0.4/build_i586/staging_dir/bin/i586-linux-uclibc-gcc > -pipe > -I/home/seb/astlinux-0.4/build_i586/asterisk-1.2.16/apps/../../staging_dir/u > sr/local/pgsql/include -pipe -Wall -Wstrict-prototypes > -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include > -D_REENTRANT -D_GNU_SOURCE -Os -pipe -march=i586 -DZAPTEL_OPTIMIZATIONS > -fomit-frame-pointer -fPIC -c -o app_sql_postgres.o app_sql_postgres.c > app_sql_postgres.c:46:22: libpq-fe.h: No such file or directory > app_sql_postgres.c: In function `aPGSQL_connect': > app_sql_postgres.c:231: error: `PGconn' undeclared (first use in this > function) > app_sql_postgres.c:231: error: (Each undeclared identifier is reported only > once > app_sql_postgres.c:231: error: for each function it appears in.) > app_sql_postgres.c:231: error: `karoto' undeclared (first use in this > function) > app_sql_postgres.c:245: warning: implicit declaration of function > `PQconnectdb' > app_sql_postgres.c:246: warning: implicit declaration of function `PQstatus' > app_sql_postgres.c:246: error: `CONNECTION_BAD' undeclared (first use in > this function) > app_sql_postgres.c:248: warning: implicit declaration of function > `PQerrorMessage' > app_sql_postgres.c:248: warning: format argument is not a pointer (arg 7) > app_sql_postgres.c: In function `aPGSQL_query': > app_sql_postgres.c:270: error: `PGconn' undeclared (first use in this > function) > app_sql_postgres.c:270: error: `karoto' undeclared (first use in this > function) > app_sql_postgres.c:271: error: `PGresult' undeclared (first use in this > function) > app_sql_postgres.c:271: error: `PGSQLres' undeclared (first use in this > function) > app_sql_postgres.c:294: warning: implicit declaration of function `PQexec' > app_sql_postgres.c:296: warning: format argument is not a pointer (arg 7) > app_sql_postgres.c:300: warning: implicit declaration of function > `PQresultStatus' > app_sql_postgres.c:300: error: `PGRES_BAD_RESPONSE' undeclared (first use in > this function) > app_sql_postgres.c:301: error: `PGRES_NONFATAL_ERROR' undeclared (first use > in this function) > app_sql_postgres.c:302: error: `PGRES_FATAL_ERROR' undeclared (first use in > this function) > app_sql_postgres.c:303: warning: implicit declaration of function > `PQcmdStatus' > app_sql_postgres.c:303: warning: format argument is not a pointer (arg 7) > app_sql_postgres.c:307: warning: implicit declaration of function > `PQnfields' > app_sql_postgres.c: In function `aPGSQL_fetch': > app_sql_postgres.c:328: error: `PGresult' undeclared (first use in this > function) > app_sql_postgres.c:328: error: `PGSQLres' undeclared (first use in this > function) > app_sql_postgres.c:380: warning: implicit declaration of function > `PQntuples' > app_sql_postgres.c:389: warning: implicit declaration of function > `PQgetvalue' > app_sql_postgres.c:389: warning: assignment makes pointer from integer > without a cast > app_sql_postgres.c: In function `aPGSQL_reset': > app_sql_postgres.c:419: error: `PGconn' undeclared (first use in this > function) > app_sql_postgres.c:419: error: `karoto' undeclared (first use in this > function) > app_sql_postgres.c:434: warning: implicit declaration of function `PQreset' > app_sql_postgres.c: In function `aPGSQL_clear': > app_sql_postgres.c:445: error: `PGresult' undeclared (first use in this > function) > app_sql_postgres.c:445: error: `karoto' undeclared (first use in this > function) > app_sql_postgres.c:460: warning: implicit declaration of function `PQclear' > app_sql_postgres.c: In function `aPGSQL_disconnect': > app_sql_postgres.c:475: error: `PGconn' undeclared (first use in this > function) > app_sql_postgres.c:475: error: `karoto' undeclared (first use in this > function) > app_sql_postgres.c:490: warning: implicit declaration of function `PQfinish' > make[2]: *** [app_sql_postgres.o] Error 1 > make[2]: Leaving directory > `/home/seb/astlinux-0.4/build_i586/asterisk-1.2.16/apps' > make[1]: *** [subdirs] Error 1 > make[1]: Leaving directory > `/home/seb/astlinux-0.4/build_i586/asterisk-1.2.16' > make: *** [/home/seb/astlinux-0.4/build_i586/asterisk-1.2.16/asterisk] Error > 2 > [seb@IVRA1 astlinux-0.4]$ > > Kind regards, > > Sebastian > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... > -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |