Ticket #3577 (closed defect: fixed)

Opened 23 months ago

Last modified 23 months ago

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

Reported by: leniviy Owned by: 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

Changed 23 months ago 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"

Changed 23 months ago by leniviy

heh, no. I did

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

484 revision compiles, 500 not

Changed 23 months ago by leniviy

anyway I'll try that make clean; make

Changed 23 months ago by leniviy

no, same error

Changed 23 months ago by leniviy

pcc does not start:

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

Changed 23 months ago by leniviy

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

Changed 23 months ago 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.

Changed 23 months ago 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.

Note: See TracTickets for help on using tickets.