k0r3-66 ~ # emerge dev-php5/pecl-pdo-dblib
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php5/pecl-pdo-dblib-1.0 to /
>>> md5 files ;-) pecl-pdo-dblib-1.0.ebuild
>>> md5 files ;-) files/digest-pecl-pdo-dblib-1.0
>>> md5 src_uri ;-) PDO_DBLIB-1.0.tgz
* This profile has not been tested thoroughly and is not considered to be
* a supported server profile at this time. For a supported server
* profile, please check the Hardened project (http://hardened.gentoo.org).
* This profile is merely a convenience for people who require a more
* minimal profile, yet are unable to use hardened due to restrictions in
* the software being used on the server. This profile should also be used
* if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
* applies to you, then it doesn't and you should probably be using
* Hardened, instead.
*
* Using dev-lang/php-5.1.6-r4
*
>>> Unpacking source...
>>> Unpacking PDO_DBLIB-1.0.tgz to /var/tmp/portage/pecl-pdo-dblib-1.0/work
tar: A lone zero block at 73
>>> Source unpacked.
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20050922
Zend Extension Api No: 220051025
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -mcpu=i586 -fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc -O2 -mcpu=i586 -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr/lib/php5
checking for PHP includes... -I/usr/lib/php5/include/php -I/usr/lib/php5/include/php/main -I/usr/lib/php5/include/php/TSRM -I/usr/lib/php5/include/php/Zend -I/usr/lib/php5/include/php/ext
checking for PHP extension directory... /usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922
checking for PHP installed headers prefix... /usr/lib/php5/include/php
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for PDO_DBLIB support via FreeTDS... yes, shared
checking for PDO includes... checking for PDO includes... /usr/lib/php5/include/php/ext
checking for dnet_addr in -ldnet_stub... no
checking build system type... i686-pc-linux-gnu
checking for ld used by gcc... /usr/i586-pc-linux-gnu/bin/ld
checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i586-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking for dlfcn.h... yes
checking for c++... c++
checking whether the C++ compiler (c++ -O2 -mcpu=i586 -fomit-frame-pointer ) works... yes
checking whether the C++ compiler (c++ -O2 -mcpu=i586 -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/i586-pc-linux-gnu/bin/ld
checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
updating cache ./config.cache
creating ./config.status
creating config.h
/bin/sh /var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/libtool --mode=compile gcc -I/usr/lib/php5/include/php/ext -DPDO_DBLIB_FLAVOUR=\"freetds\" -I. -I/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0 -DPHP_ATOM_INC -I/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/include -I/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/main -I/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0 -I/usr/lib/php5/include/php -I/usr/lib/php5/include/php/main -I/usr/lib/php5/include/php/TSRM -I/usr/lib/php5/include/php/Zend -I/usr/lib/php5/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -O2 -mcpu=i586 -fomit-frame-pointer -c /var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c -o pdo_dblib.lo
mkdir .libs
gcc -I/usr/lib/php5/include/php/ext -DPDO_DBLIB_FLAVOUR=\"freetds\" -I. -I/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0 -DPHP_ATOM_INC -I/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/include -I/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/main -I/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0 -I/usr/lib/php5/include/php -I/usr/lib/php5/include/php/main -I/usr/lib/php5/include/php/TSRM -I/usr/lib/php5/include/php/Zend -I/usr/lib/php5/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -O2 -mcpu=i586 -fomit-frame-pointer -c /var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c -fPIC -DPIC -o .libs/pdo_dblib.o
/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c: In function `error_handler':
/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c:107: error: `SYBESEOF' undeclared (first use in this function)
/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c:107: error: (Each undeclared identifier is reported only once
/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c:107: error: for each function it appears in.)
/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c:108: error: `SYBEFCON' undeclared (first use in this function)
/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c:109: error: `SYBEMEM' undeclared (first use in this function)
/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c:110: error: `SYBEPWD' undeclared (first use in this function)
/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c: In function `zm_startup_pdo_dblib':
/var/tmp/portage/pecl-pdo-dblib-1.0/work/PDO_DBLIB-1.0/pdo_dblib.c:196: warning: passing arg 1 of `dbmsghandle' from incompatible pointer type
make: *** [pdo_dblib.lo] Error 1
!!! ERROR: dev-php5/pecl-pdo-dblib-1.0 failed.
!!! Function php-ext-source-r1_src_compile, Line 57, Exitcode 2
!!! Unable to make code
!!! If you need support, post the topmost build error, NOT this status message.
k0r3-66 ~ #