[php-maint] Bug#329548: php4: ext/informix fails to link
$INFORMIXDIR/lib/esql/checkapi.o
Mike Wayburne
mike at gmsg.co.za
Fri Feb 3 08:05:58 UTC 2006
Hi Klaus
I have followed all the instructions at
http://forums.gentoo.org/viewtopic.php?t=245249 and
http://lists.alioth.debian.org/pipermail/pkg-php-maint/2005-September/000194
.html and get an error pretty much at the end.
I run the command "gcc /opt/informix/lib/esql/checkapi.o -o libphpifx.a" and
get the following error:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crt1.o: In function `_start':
init.c:(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
My working directory is
/var/tmp/portage/php-5.0.5-r5/work/php-5.0.5/ext/informix/
Any help on this would be hugely appreciated.
Regards,
Mike
I'm running Gentoo Base System version 1.6.13 Linux server 2.4.22 #1 SMP Wed
Nov 5 11:52:12 SAST 2003 i686 Pentium III (Coppermine) GenuineIntel
GNU/Linux with dev-lang/php-5.0.5-r5 and net-www/apache-2.0.55-r1 and
sys-devel/gcc-3.4.4-r1
Emerge --info gives the following:
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.4.22
i686)
=================================================================
System uname: 2.4.22 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
dev-lang/python: 2.2.3-r1, 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.4.3-r4, 1.5.22
virtual/os-headers: 2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo
http://www.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm arts avi berkdb bitmap-fonts bzip2 crypt cups curl eds emboss
encode expat foomaticdb fortran gd gdbm gif gmp gpm gstreamer gtk2 idn
imagemagick imlib informix ipv6 java jpeg kde lcms libg++ libwww mad maildir
mhash mikmod mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss
pam pcre pdflib perl php png python qt quicktime readline samba sdl slang
spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms
xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,
PORTDIR_OVERLAY
More information about the pkg-php-maint
mailing list