Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 22:07:36 GMT
From:      Jens Rehsack <rehsack@liwing.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Jens Rehsack <rehsack@liwing.de>
Subject:   ports/45997: failure building lang/php4 with sablot
Message-ID:  <200212042207.gB4M7asX010357@helo.liwing.de>

next in thread | raw e-mail | index | archive | help

>Number:         45997
>Category:       ports
>Synopsis:       failure building lang/php4 with sablot
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 04 14:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jens Rehsack
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
LiWing IT-Services
>Environment:
System: FreeBSD hogthrob.muppets.liwing.de 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Wed Nov 27 22:33:15 CET 2002 root@hogthrob.muppets.liwing.de:/usr/obj/usr/src/sys/HOGTHROB i386

	not machine specific
>Description:
	On my 5.0-CURRENT box neither www/mod_php4 nor lang/php4 works
	because of the linker error in the sablot module. The funny
	thing is, that www/mod_php4 compiles fine but fails apache start
	and lang/php4 didn't link. I assume it's because www/mod_php4 is
	a dynamic library - which doesn't really help me find the point
	where to start searching to find a fix.
>How-To-Repeat:
	$ cat /etc/make.conf | grep PHP4_OPTIONS
	PHP4_OPTIONS=\"GD2\" \"zlib\" \"bzip2\" \"mcrypt\" \"mhash\" \
		\"pdflib\" \"MySQL\" \"PostgreSQL\" \"OpenLDAP2\" \"XML\" \
		\"DOMXML\" \"XMLRPC\" \"XSLT\" \"gettext\" \"iconv\" \
		\"sockets\" \"sysvsem\" \"sysvshm\" \"OpenSSL\"
	$ cd /usr/ports/lang/php4
	$ BATCH=yes make install clean
>Fix:

/bin/sh /usr/ports/lang/php4/work/php-4.2.3/libtool --silent --mode=link \
	cc -I.  -I/usr/ports/lang/php4/work/php-4.2.3/ \
	-I/usr/ports/lang/php4/work/php-4.2.3/main i\
	-I/usr/ports/lang/php4/work/php-4.2.3 i\
	-I/usr/ports/lang/php4/work/php-4.2.3/Zend \
	-I/usr/local/include/libxml2 -I/usr/local/include \
	-I/usr/local/include/freetype2/freetype -I/usr/local/include/mysql \
	-I/usr/ports/lang/php4/work/php-4.2.3/ext/xmlrpc/libxmlrpc \
	-I/usr/ports/lang/php4/work/php-4.2.3/TSRM -O2 -pipe -DNO_WERROR \
	-march=pentium2 -I/usr/local/include -I/usr/local/include/pgsql \
	-o php -e xport-dynamic stub.lo libphp4.la
/usr/local/lib/libsablot.so: undefined reference to `operator new[](unsigned)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator delete(void*)'
/usr/local/lib/libsablot.so: undefined reference to `__gxx_personality_v0'
/usr/local/lib/libsablot.so: undefined reference to `__cxa_pure_virtual'
/usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator delete[](void*)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator new(unsigned)'
*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.2.3.
*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.2.3.
*** Error code 1

Stop in /usr/ports/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212042207.gB4M7asX010357>