I have installed and compiled the phoenix libraires in
/usr/local/phoenix/lib
and compiled msession in
/usr/local/phoenix/bin

"configure --with-msession" works but compile fails with errors

ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/opt/src/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of
`tempnam' is dangerous, better use `mkstemp'
/usr/local/phoenix//lib/libphoenix.a(reqclient.o):/usr/local/phoenix/src/reqclient.cpp:36:
undefined reference to `__gxx_personality_v0'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/mfile.cpp:31:
undefined reference to `__cxa_pure_virtual'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/mfile.cpp:31:
undefined reference to `__cxa_pure_virtual'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/mfile.cpp:31:
undefined reference to `__cxa_pure_virtual'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/mfile.cpp:31:
undefined reference to `__cxa_pure_virtual'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/marray.h:122:
undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/marray.h:122:
undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/marray.h:122:
undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/mfile.cpp:31:
undefined reference to `__cxa_pure_virtual'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/mfile.cpp:31:
undefined reference to `__cxa_pure_virtual'
/usr/local/phoenix//lib/libphoenix.a(mfile.o): In function
`__static_initialization_and_destruction_0':
/usr/local/phoenix/src/mfile.cpp:294: undefined reference to
`__cxa_pure_virtual'
/usr/local/phoenix/src/mfile.cpp:296: undefined reference to
`__cxa_pure_virtual'
/usr/local/phoenix/src/mfile.cpp:296: undefined reference to
`__cxa_pure_virtual'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/mfile.cpp:297:
more undefined references to `__cxa_pure_virtual' follow
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/marray.h:122:
undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/local/phoenix//lib/libphoenix.a(mfile.o):/usr/local/phoenix/src/mfile.cpp:31:
undefined reference to `__gxx_personality_v0'
/usr/local/phoenix//lib/libphoenix.a(mutils.o):/usr/local/phoenix/src/mutils.cpp:118:
undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/local/phoenix//lib/libphoenix.a(mutils.o):/usr/local/phoenix/src/mutils.cpp:120:
undefined reference to `__gxx_personality_v0'
/usr/local/phoenix//lib/libphoenix.a(msocket.o):/usr/local/phoenix/src/msocket.cpp:53:
undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/local/phoenix//lib/libphoenix.a(msocket.o):/usr/local/phoenix/src/msocket.cpp:54:
undefined reference to `__gxx_personality_v0'


I have noticed that the mohawk software website mentions to copy
reqclient.h, php-msession.h, and msession.c in to your PHP's ext/msession
but these files are already there
the previous errors are when i do not overwrite the files and the below
errors are for when I did overwrite the files in ext/msession with the
files provided by mohawk software.

When I overwrite the files and execute make it errors out immediately with
[robin@desktop php-4.3.0]# make
gcc  -Iext/msession/ -I/opt/src/php-4.3.0/ext/msession/ -DPHP_ATOM_INC
-I/opt/src/php-4.3.0/include -I/opt/src/php-4.3.0/main
-I/opt/src/php-4.3.0 -I/opt/src/php-4.3.0/Zend
-I/opt/src/php-4.3.0/ext/xml/expat  -I/opt/src/php-4.3.0/TSRM  -g -O2  -c
/opt/src/php-4.3.0/ext/msession/msession.c -o ext/msession/msession.o  &&
echo > ext/msession/msession.lo
In file included from /opt/src/php-4.3.0/ext/msession/msession.c:27:
/opt/src/php-4.3.0/ext/msession/reqclient.h:144: parse error before
"ReopenReqConn"
/opt/src/php-4.3.0/ext/msession/reqclient.h:144: warning: data definition
has no type or storage class
/opt/src/php-4.3.0/ext/msession/msession.c:151: `zif_msession_exec'
undeclared here (not in a function)
/opt/src/php-4.3.0/ext/msession/msession.c:151: initializer element is not
constant
/opt/src/php-4.3.0/ext/msession/msession.c:151: (near initialization for
`msession_functions[23].handler')
/opt/src/php-4.3.0/ext/msession/msession.c:151: initializer element is not
constant
/opt/src/php-4.3.0/ext/msession/msession.c:151: (near initialization for
`msession_functions[23]')
/opt/src/php-4.3.0/ext/msession/msession.c:152: `zif_msession_ping'
undeclared here (not in a function)
/opt/src/php-4.3.0/ext/msession/msession.c:152: initializer element is not
constant
/opt/src/php-4.3.0/ext/msession/msession.c:152: (near initialization for
`msession_functions[24].handler')
/opt/src/php-4.3.0/ext/msession/msession.c:152: initializer element is not
constant
/opt/src/php-4.3.0/ext/msession/msession.c:152: (near initialization for
`msession_functions[24]')
/opt/src/php-4.3.0/ext/msession/msession.c:153: initializer element is not
constant
/opt/src/php-4.3.0/ext/msession/msession.c:153: (near initialization for
`msession_functions[25]')
/opt/src/php-4.3.0/ext/msession/msession.c: In function
`PHPMsessionGetData':
/opt/src/php-4.3.0/ext/msession/msession.c:344: `REQ_DATAGET' undeclared
(first use in this function)
/opt/src/php-4.3.0/ext/msession/msession.c:344: (Each undeclared
identifier is reported only once
/opt/src/php-4.3.0/ext/msession/msession.c:344: for each function it
appears in.)
/opt/src/php-4.3.0/ext/msession/msession.c: In function
`PHPMsessionSetData':
/opt/src/php-4.3.0/ext/msession/msession.c:358: `REQ_DATASET' undeclared
(first use in this function)



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to