Ticket #3577 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

pdo compile error on revision 500 (possibly info-target::target)

Reported by: leniviy Assigned to: weyrick
Priority: immediate Milestone:
Component: Runtime Version:
Severity: block Keywords:
Cc:

Description

make[4]: Entering directory `/root/roadsend-svn/pcc/runtime/php-ext/pdo'
LD_LIBRARY_PATH="/usr/local/lib:../../../libs:/usr/local/lib/bigloo/3.0c" \
        ../../../compiler/pcc -v -L ../../../libs -L /usr/local/lib/bigloo/3.0c -l php-pdo --lib-init-file pdo_init.php pdo_class.php pdo_sqlite.php
../../../compiler/pcc: symbol lookup error: ../../../compiler/pcc: undefined symbol: BGl_infozd2targetzd2zztargetz00
make[4]: *** [libphp-pdo_u-3.0c.so] Ошибка 127
make[4]: Leaving directory `/root/roadsend-svn/pcc/runtime/php-ext/pdo'
make[3]: *** [all-run] Ошибка 2
make[3]: Leaving directory `/root/roadsend-svn/pcc/runtime/php-ext'
make[2]: *** [php-extensions] Ошибка 2
make[2]: Leaving directory `/root/roadsend-svn/pcc/runtime'
make[1]: *** [php-extensions] Ошибка 2
make[1]: Leaving directory `/root/roadsend-svn/pcc'
make: *** [unsafe] Ошибка 2

Change History

04/18/08 14:42:40 changed by weyrick

  • owner changed from anonymous to weyrick.
  • status changed from new to assigned.

i believe this will be fixed with a "make clean; make"

04/18/08 15:02:35 changed by leniviy

heh, no. I did

rm -rf pcc
svn co ...
cd pcc
./configure ...
make

484 revision compiles, 500 not

04/18/08 15:04:53 changed by leniviy

anyway I'll try that make clean; make

04/18/08 15:44:39 changed by leniviy

no, same error

04/18/08 15:57:50 changed by leniviy

pcc does not start:

[root@VMLinux pdo]# ../../../compiler/pcc 
../../../compiler/pcc: symbol lookup error: ../../../compiler/pcc: undefined symbol: BGl_infozd2targetzd2zztargetz00

04/18/08 16:24:59 changed by leniviy

solved it. had to make uninstall to remove older .so files from /usr/local/lib. Sorry

04/19/08 02:55:29 changed by weyrick

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

ok, i'm glad it wasn't a code issue because i couldn't think of where it could be :) i will note this in the FAQ, though, as it may happen to others in the future. thanks.

04/29/08 07:31:05 changed by weyrick

another note, the build system was changed to try to avoid loading the system pcc.conf during building of the PDO libs in the a new source tree, so that the old system libs are not used. so hopefully an uninstall is not necessary any more.