Ticket #18 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

package asterisk cdr mysql/pgsql does not compile

Reported by: ms@freewrt.org Assigned to: somebody
Priority: major Milestone: 1.0
Component: packages Version: trunk
Keywords: Cc:

Description

Find the detailed error messages below

/mnt/freewrt/www.freewrt.org/trunk/freewrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -DLOW_MEMORY -Dlinux -fomit-frame-pointer -fPIC -I/mnt/freewrt/www.freewrt.org/trunk/freewrt/staging_dir_mipsel/usr/include -I/mnt/freewrt/www.freewrt.org/trunk/freewrt/staging_dir_mipsel/include -I/mnt/freewrt/www.freewrt.org/trunk/freewrt/staging_dir_mipsel/usr/include/mysql -c -o cdr_custom.o cdr_custom.c /mnt/freewrt/www.freewrt.org/trunk/freewrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -shared -Xlinker -x -o cdr_custom.so cdr_custom.o /mnt/freewrt/www.freewrt.org/trunk/freewrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -DLOW_MEMORY -Dlinux -fomit-frame-pointer -fPIC -I/mnt/freewrt/www.freewrt.org/trunk/freewrt/staging_dir_mipsel/usr/include -I/mnt/freewrt/www.freewrt.org/trunk/freewrt/staging_dir_mipsel/include -I/mnt/freewrt/www.freewrt.org/trunk/freewrt/staging_dir_mipsel/usr/include/mysql -c -o cdr_pgsql.o cdr_pgsql.c cdr_pgsql.c:43:22: libpq-fe.h: No such file or directory cdr_pgsql.c:67: error: parse error before '*' token cdr_pgsql.c:67: warning: type defaults to int' in declaration of conn' cdr_pgsql.c:67: warning: data definition has no type or storage class cdr_pgsql.c:68: error: parse error before '*' token cdr_pgsql.c:68: warning: type defaults to int' in declaration of result' cdr_pgsql.c:68: warning: data definition has no type or storage class cdr_pgsql.c: In function `pgsql_log': cdr_pgsql.c:82: warning: implicit declaration of function `PQsetdbLogin' cdr_pgsql.c:82: warning: assignment makes pointer from integer without a cast cdr_pgsql.c:83: warning: implicit declaration of function `PQstatus' cdr_pgsql.c:83: error: `CONNECTION_BAD' undeclared (first use in this function) cdr_pgsql.c:83: error: (Each undeclared identifier is reported only once cdr_pgsql.c:83: error: for each function it appears in.) cdr_pgsql.c:86: warning: implicit declaration of function `PQerrorMessage' cdr_pgsql.c:86: warning: assignment makes pointer from integer without a cast cdr_pgsql.c:98: warning: implicit declaration of function `PQescapeString' cdr_pgsql.c:134: error: `CONNECTION_OK' undeclared (first use in this function) cdr_pgsql.c:138: warning: implicit declaration of function `PQreset' cdr_pgsql.c:143: warning: assignment makes pointer from integer without a cast cdr_pgsql.c:151: warning: implicit declaration of function `PQexec' cdr_pgsql.c:151: warning: assignment makes pointer from integer without a cast cdr_pgsql.c:152: warning: implicit declaration of function `PQresultStatus' cdr_pgsql.c:152: error: `PGRES_COMMAND_OK' undeclared (first use in this function) cdr_pgsql.c:153: warning: implicit declaration of function `PQresultErrorMessage' cdr_pgsql.c:153: warning: assignment makes pointer from integer without a cast cdr_pgsql.c:161: warning: assignment makes pointer from integer without a cast cdr_pgsql.c:164: warning: assignment makes pointer from integer without a cast cdr_pgsql.c: In function `my_unload_module': cdr_pgsql.c:185: warning: implicit declaration of function `PQfinish' cdr_pgsql.c: In function `process_my_load_module': cdr_pgsql.c:292: warning: assignment makes pointer from integer without a cast cdr_pgsql.c:293: error: `CONNECTION_BAD' undeclared (first use in this function) cdr_pgsql.c:297: warning: assignment makes pointer from integer without a cast gmake[7]: *** [cdr_pgsql.o] Error 1 gmake[6]: *** [subdirs] Error 1 gmake[5]: *** /mnt/freewrt/www.freewrt.org/trunk/freewrt/build_mipsel/asterisk-1.2.1/.built Error 2 gmake[4]: *** [compile] Error 2 gmake[3]: *** [asterisk-compile] Error 2 gmake[2]: *** [package/compile] Error 2 gmake[1]: *** [world] Error 2 make: *** [all] Error 2

Attachments

Change History

08/02/06 12:51:21 changed by markus

  • status changed from new to closed.
  • resolution set to fixed.

build cleanly here, maybe fixed in svn?

please try again and reopen if needed.


Add/Change #18 (package asterisk cdr mysql/pgsql does not compile)




Action