Bug #2903 Updated: fails to compile ifx.ec, report a syntax-error
| From: | Bug Database | Date: | Mon, 06 Dec 1999 13:49:21 +0000 |
| Subject: | Bug #2903 Updated: fails to compile ifx.ec, report a syntax-error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13471@lists.php.net to get a copy of this message | ||
ID: 2903
User Update by: baard.kregnes@postbanken.no
Status: Open
Bug Type: Compile Failure
Description: fails to compile ifx.ec, report a syntax-error
Snipped from the Makefile:
functions/ifx.c: functions/ifx.ec
(esql -e -EUHAVE_IFX_IUS functions/ifx.ec; mv ifx.c functions)
After further 'invistigations' I found that these varibles causes the error:
intrvl_t intvl_data = {0};
dtime_t dt_data = {0};
dec_t dec_data = {0};
Theses variables are defined in <../esql/datetime.h>, and
this datetime.h are included in 'sqlhdr.h'.
If I stick #include <datetime.h> in ifx.c (yes .c), it compiles.
( I'm not sure if this is a part of the same problem ?)
And the story goes on .. now it fails with:
cc -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -qnogenpcomp -qnousepcomp -DUSE_HSREGEX
-DUSE_EXPAT -I./lib/expat-lite
./apaci -lm -o httpd buildmark.o modules.o
modules/php3/libphp3.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a
ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a -Lmodules/php3 -L../modules/php3
-L../../modules/php3 -lmodphp3 -L/opt/informix/lib -L/opt/informix/lib/esql
-lixsqlshr -lixasfshr -lixgenshr -lixosshr -lixglsshr -ltli -lc -lmsaa -lbsd
/opt/informix/lib/esql/checkapi.o -lixglx -lm -ldl -lnsl
ld: 0711-317 ERROR: Undefined symbol: .ldopen
ld: 0711-317 ERROR: Undefined symbol: .ldclose
ld: 0711-317 ERROR: Undefined symbol: .ldnshread
ld: 0711-317 ERROR: Undefined symbol: .alloca
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
Full Bug description available at: http://bugs.php.net/?id=2903