php extensions compile error - another compile bug?

Vizion vizion at vizion.occoxmail.com
Fri Sep 9 18:53:13 PDT 2005


Getting near the end and I get this:
----------------------------------------------

I do not know whether you have time to look at this one or not?
Thanks again
david

config.status: creating config.h
===>  Building for php5-wddx-5.0.5
/bin/sh /usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/libtool 
--mode=co
mpile cc  -I. -I/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx 
-DPHP_ATO
M_INC -I/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/include 
-I/usr/po
rts/textproc/php5-wddx/work/php-5.0.5/ext/wddx/main 
-I/usr/ports/textproc/php5-
wddx/work/php-5.0.5/ext/wddx -I/usr/local/include/php 
-I/usr/local/include/php/
main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend 
-I/usr/local/i
nclude/libxml2 -I/usr/local/include  -DHAVE_CONFIG_H  -O -pipe   
-c /usr/ports/
textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c -o wddx.lo
cc -I. -I/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx -DPHP_ATOM_INC 
-
I/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/include 
-I/usr/ports/tex
tproc/php5-wddx/work/php-5.0.5/ext/wddx/main 
-I/usr/ports/textproc/php5-wddx/wo
rk/php-5.0.5/ext/wddx -I/usr/local/include/php -I/usr/local/include/php/main 
-I
/usr/local/include/php/TSRM -I/usr/local/include/php/Zend 
-I/usr/local/include/
libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O -pipe 
-c /usr/ports/textproc/ph
p5-wddx/work/php-5.0.5/ext/wddx/wddx.c  -fPIC -DPIC -o wddx.lo
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:29:34: 
ext/xml/exp
at_compat.h: No such file or directory
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:34:29: 
ext/xml/php
_xml.h: No such file or directory
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:102: error: 
syntax
 error before '*' token
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:715: error: 
syntax
 error before '*' token
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: In function 
`php_
wddx_push_element':
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:718: error: 
`user_
data' undeclared (first use in this function)
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:718: error: (Each
undeclared identifier is reported only once
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:718: error: for 
ea                                                                            
ch function it appears in.)
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:720: error: 
`name'                                                                             
undeclared (first use in this function)
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:723: error: 
`atts'                                                                             
undeclared (first use in this function)
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:816: warning: 
assi                                                                            
gnment makes pointer from integer without a cast
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:837: warning: 
assi                                                                            
gnment makes pointer from integer without a cast
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:876: warning: 
assi                                                                            
gnment makes pointer from integer without a cast
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: At top level:
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:903: error: 
syntax                                                                             
error before '*' token
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: In function 
`php_                                                                            
wddx_pop_element':
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:906: error: 
`user_                                                                            
data' undeclared (first use in this function)
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:917: error: 
`name'                                                                             
undeclared (first use in this function)
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: At top level:
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1031: error: 
synta                                                                            
x error before '*' token
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: In function 
`php_                                                                            
wddx_process_data':
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1034: error: 
`user                                                                            
_data' undeclared (first use in this function)
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1043: error: `s' 
u                                                                            
ndeclared (first use in this function)
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1043: error: 
`len'                                                                             
undeclared (first use in this function)
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1043: warning: 
ass                                                                            
ignment makes pointer from integer without a cast
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: In function 
`php_                                                                            
wddx_deserialize_ex':
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1121: error: 
synta                                                                            
x error before "parser"
/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1126: error: 
`pars                                                                            
er' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx.
*** Error code 1

Stop in /usr/ports/textproc/php5-wddx.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
dns1#

******************************************************************

dns1# cat /usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-1.0/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --with-fileinfo=/usr --prefix=/usr/local 
i386-portbld-freebsd5.3

## --------- ##
## Platform. ##
## --------- ##

hostname = dns1.vizion2000.net
uname -m = i386
uname -r = 5.3-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004     
root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/libexec/autoconf259
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1499: checking build system type
configure:1517: result: i386-portbld-freebsd5.3
configure:1525: checking host system type
configure:1539: result: i386-portbld-freebsd5.3
configure:1601: checking for i386-portbld-freebsd5.3-gcc
configure:1627: result: cc
configure:1909: checking for C compiler version
configure:1912: cc --version </dev/null >&5
cc (GCC) 3.4.2 [FreeBSD] 20040728
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1915: $? = 0
configure:1917: cc -v </dev/null >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
configure:1920: $? = 0
configure:1922: cc -V </dev/null >&5
cc: `-V' option must have argument
configure:1925: $? = 1
configure:1948: checking for C compiler default output file name
configure:1951: cc -O -pipe    conftest.c  >&5
configure:1954: $? = 0
configure:2000: result: a.out
configure:2005: checking whether the C compiler works
configure:2011: ./a.out
configure:2014: $? = 0
configure:2031: result: yes
configure:2038: checking whether we are cross compiling
configure:2040: result: no
configure:2043: checking for suffix of executables
configure:2045: cc -o conftest -O -pipe    conftest.c  >&5
configure:2048: $? = 0
configure:2073: result:
configure:2079: checking for suffix of object files
configure:2100: cc -c -O -pipe   conftest.c >&5
configure:2103: $? = 0
configure:2125: result: o
configure:2129: checking whether we are using the GNU C compiler
configure:2153: cc -c -O -pipe   conftest.c >&5
configure:2159: $? = 0
configure:2163: test -z
                         || test ! -s conftest.err
configure:2166: $? = 0
configure:2169: test -s conftest.o
configure:2172: $? = 0
configure:2185: result: yes
configure:2191: checking whether cc accepts -g
configure:2212: cc -c -g  conftest.c >&5
configure:2218: $? = 0
configure:2222: test -z
                         || test ! -s conftest.err
configure:2225: $? = 0
configure:2228: test -s conftest.o
configure:2231: $? = 0
configure:2242: result: yes
configure:2259: checking for cc option to accept ANSI C
configure:2329: cc  -c -O -pipe   conftest.c >&5
configure:2335: $? = 0
configure:2339: test -z
                         || test ! -s conftest.err
configure:2342: $? = 0
configure:2345: test -s conftest.o
configure:2348: $? = 0
configure:2366: result: none needed
configure:2384: cc -c -O -pipe   conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2390: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2527: checking whether cc understands -c and -o together
configure:2554: cc -c conftest.c -o conftest.o >&5
configure:2557: $? = 0
configure:2559: cc -c conftest.c -o conftest.o >&5
configure:2562: $? = 0
configure:2601: result: yes
configure:2616: checking if compiler supports -R
configure:2640: cc -o conftest -O -pipe    conftest.c -R /usr/lib  >&5
configure:2646: $? = 0
configure:2650: test -z
                         || test ! -s conftest.err
configure:2653: $? = 0
configure:2656: test -s conftest
configure:2659: $? = 0
configure:2673: result: yes
configure:2781: checking for PHP prefix
configure:2783: result: /usr/local
configure:2785: checking for PHP includes
configure:2787: result: -I/usr/local/include/php -I/usr/local/include/php/main 
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
configure:2789: checking for PHP extension directory
configure:2791: result: /usr/local/lib/php/20041030
configure:2838: checking for re2c
configure:2865: result: exit 0;
configure:2877: checking for gawk
configure:2893: found /usr/local/bin/gawk
configure:2903: result: gawk
configure:2917: checking for fileinfo support
configure:2960: result: yes, shared
configure:3065: checking for dl
configure:3122: cc -o conftest -O -pipe    conftest.c  >&5
/var/tmp//ccvlHjst.o(.text+0x12): In function `main':
: undefined reference to `dl'
/var/tmp//ccvlHjst.o(.data+0x0): undefined reference to `dl'
configure:3128: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| /* Define dl to an innocuous variant, in case <limits.h> declares dl.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define dl innocuous_dl
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char dl (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef dl
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char dl ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_dl) || defined (__stub___dl)
| choke me
| #else
| char (*f) () = dl;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != dl;
|   ;
|   return 0;
| }
configure:3153: result: no
configure:3158: checking for __dl
configure:3215: cc -o conftest -O -pipe    conftest.c  >&5
/var/tmp//ccVPrPgx.o(.text+0x12): In function `main':
: undefined reference to `__dl'
/var/tmp//ccVPrPgx.o(.data+0x0): undefined reference to `__dl'
configure:3221: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| /* Define __dl to an innocuous variant, in case <limits.h> declares __dl.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define __dl innocuous___dl
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char __dl (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef __dl
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char __dl ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub___dl) || defined (__stub_____dl)
| choke me
| #else
| char (*f) () = __dl;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != __dl;
|   ;
|   return 0;
| }
configure:3246: result: no
configure:3272: checking for dl in -ldlopen
configure:3302: cc -o conftest -O -pipe    conftest.c -ldlopen   >&5
/usr/bin/ld: cannot find -ldlopen
configure:3308: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char dl ();
| int
| main ()
| {
| dl ();
|   ;
|   return 0;
| }
configure:3334: result: no
configure:3340: checking for __dl in -ldlopen
configure:3370: cc -o conftest -O -pipe    conftest.c -ldlopen   >&5
/usr/bin/ld: cannot find -ldlopen
configure:3376: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char __dl ();
| int
| main ()
| {
| __dl ();
|   ;
|   return 0;
| }
configure:3402: result: no
configure:3490: checking for gzgets
configure:3547: cc -o conftest -O -pipe    conftest.c  >&5
/var/tmp//ccxtHNQh.o(.text+0x12): In function `main':
: undefined reference to `gzgets'
/var/tmp//ccxtHNQh.o(.data+0x0): undefined reference to `gzgets'
configure:3553: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| /* Define gzgets to an innocuous variant, in case <limits.h> declares 
gzgets.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define gzgets innocuous_gzgets
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char gzgets (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef gzgets
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char gzgets ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_gzgets) || defined (__stub___gzgets)
| choke me
| #else
| char (*f) () = gzgets;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != gzgets;
|   ;
|   return 0;
| }
configure:3578: result: no
configure:3583: checking for __gzgets
configure:3640: cc -o conftest -O -pipe    conftest.c  >&5
/var/tmp//ccIzZGuv.o(.text+0x12): In function `main':
: undefined reference to `__gzgets'
/var/tmp//ccIzZGuv.o(.data+0x0): undefined reference to `__gzgets'
configure:3646: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| /* Define __gzgets to an innocuous variant, in case <limits.h> declares 
__gzgets.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define __gzgets innocuous___gzgets
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char __gzgets (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef __gzgets
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char __gzgets ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub___gzgets) || defined (__stub_____gzgets)
| choke me
| #else
| char (*f) () = __gzgets;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != __gzgets;
|   ;
|   return 0;
| }
configure:3671: result: no
configure:3697: checking for gzgets in -lz
configure:3727: cc -o conftest -O -pipe    conftest.c -lz   >&5
configure:3733: $? = 0
configure:3737: test -z
                         || test ! -s conftest.err
configure:3740: $? = 0
configure:3743: test -s conftest
configure:3746: $? = 0
configure:3759: result: yes
configure:3854: cc -o conftest -O -pipe    conftest.c  -lz >&5
configure:3857: $? = 0
configure:3859: ./conftest
configure:3862: $? = 0
configure:3915: checking for round
configure:3972: cc -o conftest -O -pipe    conftest.c -lz  >&5
conftest.c:35: warning: conflicting types for built-in function 'round'
/var/tmp//ccFHME9Z.o(.text+0x12): In function `main':
: undefined reference to `round'
/var/tmp//ccFHME9Z.o(.data+0x0): undefined reference to `round'
configure:3978: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_GZGETS 1
| #define HAVE_LIBZ 1
| /* end confdefs.h.  */
| /* Define round to an innocuous variant, in case <limits.h> declares round.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define round innocuous_round
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char round (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef round
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char round ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_round) || defined (__stub___round)
| choke me
| #else
| char (*f) () = round;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != round;
|   ;
|   return 0;
| }
configure:4003: result: no
configure:4008: checking for __round
configure:4065: cc -o conftest -O -pipe    conftest.c -lz  >&5
/var/tmp//ccp5sFwe.o(.text+0x12): In function `main':
: undefined reference to `__round'
/var/tmp//ccp5sFwe.o(.data+0x0): undefined reference to `__round'
configure:4071: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_GZGETS 1
| #define HAVE_LIBZ 1
| /* end confdefs.h.  */
| /* Define __round to an innocuous variant, in case <limits.h> declares 
__round.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define __round innocuous___round
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char __round (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef __round
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char __round ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub___round) || defined (__stub_____round)
| choke me
| #else
| char (*f) () = __round;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != __round;
|   ;
|   return 0;
| }
configure:4096: result: no
configure:4122: checking for round in -lm
configure:4152: cc -o conftest -O -pipe    conftest.c -lm  -lz  >&5
conftest.c:18: warning: conflicting types for built-in function 'round'
configure:4158: $? = 0
configure:4162: test -z
                         || test ! -s conftest.err
configure:4165: $? = 0
configure:4168: test -s conftest
configure:4171: $? = 0
configure:4184: result: yes
configure:4279: cc -o conftest -O -pipe    conftest.c -lz  -lm >&5
configure:4282: $? = 0
configure:4284: ./conftest
configure:4287: $? = 0
configure:4417: checking for magic_open in -lmagic
configure:4447: cc -o conftest -O -pipe    conftest.c -lmagic  -lm -lz  >&5
configure:4453: $? = 0
configure:4457: test -z
                         || test ! -s conftest.err
configure:4460: $? = 0
configure:4463: test -s conftest
configure:4466: $? = 0
configure:4479: result: yes
configure:5048: checking for ld used by GCC
configure:5111: result: /usr/bin/ld
configure:5120: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.15 [FreeBSD] 2004-05-23
configure:5132: result: yes
configure:5137: checking for /usr/bin/ld option to reload object files
configure:5144: result: -r
configure:5149: checking for BSD-compatible nm
configure:5185: result: nm
configure:5188: checking for a sed that does not truncate output
configure:5270: result: /usr/bin/sed
configure:5273: checking whether ln -s works
configure:5277: result: yes
configure:5284: checking how to recognise dependent libraries
configure:5466: result: pass_all
configure:5478: checking command to parse nm output
configure:5562: cc -c -O -pipe   conftest.c >&5
configure:5565: $? = 0
configure:5569: nm conftest.o \| sed -n -e 's/^.*[      ]\([ABCDGISTW]
[ABCDGISTW]*\)[   ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> 
conftest.nm
configure:5572: $? = 0
configure:5624: cc -o conftest -O -pipe    conftest.c conftstm.o >&5
configure:5627: $? = 0
configure:5671: result: ok
configure:5680: checking how to run the C preprocessor
configure:5715: cc -E  conftest.c
configure:5721: $? = 0
configure:5753: cc -E  conftest.c
conftest.c:16:28: ac_nonexistent.h: No such file or directory
configure:5759: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_GZGETS 1
| #define HAVE_LIBZ 1
| #define HAVE_ROUND 1
| #define HAVE_LIBM 1
| #define HAVE_FILEINFOLIB 1
| #define PHP_DEFAULT_MAGIC_FILE ""
| #define COMPILE_DL_FILEINFO 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5798: result: cc -E
configure:5822: cc -E  conftest.c
configure:5828: $? = 0
configure:5860: cc -E  conftest.c
conftest.c:16:28: ac_nonexistent.h: No such file or directory
configure:5866: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_GZGETS 1
| #define HAVE_LIBZ 1
| #define HAVE_ROUND 1
| #define HAVE_LIBM 1
| #define HAVE_FILEINFOLIB 1
| #define PHP_DEFAULT_MAGIC_FILE ""
| #define COMPILE_DL_FILEINFO 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5910: checking for egrep
configure:5920: result: grep -E
configure:5925: checking for ANSI C header files
configure:5950: cc -c -O -pipe   conftest.c >&5
configure:5956: $? = 0
configure:5960: test -z
                         || test ! -s conftest.err
configure:5963: $? = 0
configure:5966: test -s conftest.o
configure:5969: $? = 0
configure:6058: cc -o conftest -O -pipe    conftest.c -lm -lz  >&5
configure:6061: $? = 0
configure:6063: ./conftest
configure:6066: $? = 0
configure:6081: result: yes
configure:6105: checking for sys/types.h
configure:6121: cc -c -O -pipe   conftest.c >&5
configure:6127: $? = 0
configure:6131: test -z
                         || test ! -s conftest.err
configure:6134: $? = 0
configure:6137: test -s conftest.o
configure:6140: $? = 0
configure:6151: result: yes
configure:6105: checking for sys/stat.h
configure:6121: cc -c -O -pipe   conftest.c >&5
configure:6127: $? = 0
configure:6131: test -z
                         || test ! -s conftest.err
configure:6134: $? = 0
configure:6137: test -s conftest.o
configure:6140: $? = 0
configure:6151: result: yes
configure:6105: checking for stdlib.h
configure:6121: cc -c -O -pipe   conftest.c >&5
configure:6127: $? = 0
configure:6131: test -z
                         || test ! -s conftest.err
configure:6134: $? = 0
configure:6137: test -s conftest.o
configure:6140: $? = 0
configure:6151: result: yes
configure:6105: checking for string.h
configure:6121: cc -c -O -pipe   conftest.c >&5
configure:6127: $? = 0
configure:6131: test -z
                         || test ! -s conftest.err
configure:6134: $? = 0
configure:6137: test -s conftest.o
configure:6140: $? = 0
configure:6151: result: yes
configure:6105: checking for memory.h
configure:6121: cc -c -O -pipe   conftest.c >&5
configure:6127: $? = 0
configure:6131: test -z
                         || test ! -s conftest.err
configure:6134: $? = 0
configure:6137: test -s conftest.o
configure:6140: $? = 0
configure:6151: result: yes
configure:6105: checking for strings.h
configure:6121: cc -c -O -pipe   conftest.c >&5
configure:6127: $? = 0
configure:6131: test -z
                         || test ! -s conftest.err
configure:6134: $? = 0
configure:6137: test -s conftest.o
configure:6140: $? = 0
configure:6151: result: yes
configure:6105: checking for inttypes.h
configure:6121: cc -c -O -pipe   conftest.c >&5
configure:6127: $? = 0
configure:6131: test -z
                         || test ! -s conftest.err
configure:6134: $? = 0
configure:6137: test -s conftest.o
configure:6140: $? = 0
configure:6151: result: yes
configure:6105: checking for stdint.h
configure:6121: cc -c -O -pipe   conftest.c >&5
configure:6127: $? = 0
configure:6131: test -z
                         || test ! -s conftest.err
configure:6134: $? = 0
configure:6137: test -s conftest.o
configure:6140: $? = 0
configure:6151: result: yes
configure:6105: checking for unistd.h
configure:6121: cc -c -O -pipe   conftest.c >&5
configure:6127: $? = 0
configure:6131: test -z
                         || test ! -s conftest.err
configure:6134: $? = 0
configure:6137: test -s conftest.o
configure:6140: $? = 0
configure:6151: result: yes
configure:6177: checking dlfcn.h usability
configure:6189: cc -c -O -pipe   conftest.c >&5
configure:6195: $? = 0
configure:6199: test -z
                         || test ! -s conftest.err
configure:6202: $? = 0
configure:6205: test -s conftest.o
configure:6208: $? = 0
configure:6218: result: yes
configure:6222: checking dlfcn.h presence
configure:6232: cc -E  conftest.c
configure:6238: $? = 0
configure:6258: result: yes
configure:6293: checking for dlfcn.h
configure:6300: result: yes
configure:6460: checking for i386-portbld-freebsd5.3-ranlib
configure:6489: result: no
configure:6498: checking for ranlib
configure:6514: found /usr/bin/ranlib
configure:6525: result: ranlib
configure:6540: checking for i386-portbld-freebsd5.3-strip
configure:6569: result: no
configure:6578: checking for strip
configure:6594: found /usr/bin/strip
configure:6605: result: strip
configure:6827: checking for objdir
configure:6838: result: .libs
configure:6859: checking for cc option to produce PIC
configure:7005: result: -fPIC
configure:7009: checking if cc PIC flag -fPIC works
configure:7032: cc -c -O -pipe  -fPIC -DPIC  conftest.c >&5
configure:7038: $? = 0
configure:7042: test -z
                         || test ! -s conftest.err
configure:7045: $? = 0
configure:7048: test -s conftest.o
configure:7051: $? = 0
configure:7089: result: yes
configure:7109: checking if cc static flag -static works
configure:7133: cc -o conftest -O -pipe    -static conftest.c -lm -lz  >&5
configure:7139: $? = 0
configure:7143: test -z
                         || test ! -s conftest.err
configure:7146: $? = 0
configure:7149: test -s conftest
configure:7152: $? = 0
configure:7169: result: yes
configure:7185: checking if cc supports -c -o file.o
configure:7205: cc -c -O -pipe  -o out/conftest2.o  conftest.c >&5
configure:7229: result: yes
configure:7234: checking if cc supports -c -o file.lo
configure:7261: cc -c -O -pipe  -c -o conftest.lo  conftest.c >&5
configure:7267: $? = 0
configure:7271: test -z
                         || test ! -s conftest.err
configure:7274: $? = 0
configure:7277: test -s conftest.lo
configure:7280: $? = 0
configure:7302: result: yes
configure:7341: checking if cc supports -fno-rtti -fno-exceptions
configure:7363: cc -c -O -pipe  -fno-rtti -fno-exceptions -c conftest.c  
conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not 
for C
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not 
for C
configure:7369: $? = 0
configure:7373: test -z
                         || test ! -s conftest.err
configure:7376: $? = 0
configure:7379: test -s conftest.o
configure:7382: $? = 0
configure:7399: result: no
configure:7414: checking whether the linker (/usr/bin/ld) supports shared 
libraries
configure:8097: result: yes
configure:8106: checking how to hardcode library paths into programs
configure:8130: result: immediate
configure:8139: checking whether stripping libraries is possible
configure:8144: result: yes
configure:8159: checking dynamic linker characteristics
configure:8590: result: freebsd5.3 ld.so
configure:8599: checking if libtool supports shared libraries
configure:8601: result: yes
configure:8608: checking whether to build shared libraries
configure:8629: result: yes
configure:8636: checking whether to build static libraries
configure:8640: result: no
configure:9394: checking whether -lc should be explicitly linked in
configure:9402: cc -c -O -pipe   conftest.c >&5
configure:9405: $? = 0
configure:9419: cc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 
2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:9422: $? = 1
configure:9435: result: yes
configure:10232: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on dns1.vizion2000.net

config.status:10730: creating config.h

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_func_dl=no
ac_cv_lib_m_round=yes
ac_cv_header_stdlib_h=yes
lt_cv_file_magic_cmd='$MAGIC_CMD'
ac_cv_prog_cc_g=yes
ac_cv_env_LDFLAGS_set=
lt_cv_prog_cc_can_build_shared=yes
ac_cv_lib_z_gzgets=yes
ac_cv_c_compiler_gnu=yes
ac_cv_exeext=
ac_cv_env_CFLAGS_set=set
lt_cv_sys_max_cmd_len=65536
ac_cv_env_CPP_value=
ac_cv_env_CPPFLAGS_set=
lt_cv_prog_cc_static_works=yes
lt_cv_prog_cc_no_builtin=
lt_cv_prog_cc_shlib=
lt_cv_prog_cc_static=-static
ac_cv_env_host_alias_set=set
lt_cv_ld_reload_flag=-r
ac_cv_prog_CC=cc
lt_cv_archive_cmds_need_lc=yes
ac_cv_header_sys_stat_h=yes
lt_cv_prog_gnu_ld=yes
ac_cv_env_build_alias_set=set
ac_cv_func___gzgets=no
ac_cv_env_LDFLAGS_value=
ac_cv_env_target_alias_set=set
ac_cv_prog_cc_stdc=
ac_cv_host_alias=i386-portbld-freebsd5.3
ac_cv_env_CFLAGS_value='-O -pipe '
ac_cv_env_CC_set=set
lt_cv_prog_cc_wl=-Wl,
ac_cv_header_sys_types_h=yes
ac_cv_header_stdc=yes
ac_cv_header_strings_h=yes
lt_cv_path_SED=/usr/bin/sed
ac_cv_header_stdint_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_prog_egrep='grep -E'
ac_cv_func_gzgets=yes
ac_cv_header_unistd_h=yes
ac_cv_header_string_h=yes
lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char 
\1;/p'\'''
lt_cv_path_LD=/usr/bin/ld
ac_cv_build_alias=i386-portbld-freebsd5.3
ac_cv_env_CPPFLAGS_value=
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_header_memory_h=yes
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_func___round=no
ac_cv_host=i386-portbld-freebsd5.3
ac_cv_env_host_alias_value=i386-portbld-freebsd5.3
lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  
{\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  
{"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_compiler_c_o=yes
lt_cv_prog_cc_pic_works=yes
lt_cv_file_magic_test_file=
ac_cv_lib_dlopen___dl=no
ac_cv_prog_CPP='cc -E'
ac_cv_prog_AWK=gawk
ac_cv_build=i386-portbld-freebsd5.3
ac_cv_env_build_alias_value=i386-portbld-freebsd5.3
lt_cv_prog_cc_pic=' -fPIC'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[      ]\([ABCDGISTW]
[ABCDGISTW]*\)[   ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
lt_cv_deplibs_check_method=pass_all
ac_cv_func_round=yes
ac_cv_prog_cc_cc_c_o=yes
lt_cv_compiler_o_lo=yes
ac_cv_lib_magic___magic_open=yes
ac_cv_prog_RE2C='exit 0;'
ac_cv_env_target_alias_value=i386-portbld-freebsd5.3
ac_cv_func___dl=no
ac_cv_env_CC_value=cc
lt_cv_path_NM=nm
ac_cv_lib_dlopen_dl=no
php_cv_cc_dashr=yes
ac_cv_env_CPP_set=
ac_cv_header_dlfcn_h=yes
ac_cv_objext=o

## ----------------- ##
## Output variables. ##
## ----------------- ##

AWK='gawk'
CC='cc'
CFLAGS='-O -pipe '
CPP='cc -E'
CPPFLAGS=' -DHAVE_CONFIG_H'
DEFS='-DHAVE_CONFIG_H'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
LDFLAGS=''
LIBOBJS=''
LIBS='-lm -lz '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RE2C='exit 0;'
SHELL='/bin/sh'
STRIP='strip'
ac_ct_CC=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP='strip'
bindir='${exec_prefix}/bin'
build='i386-portbld-freebsd5.3'
build_alias='i386-portbld-freebsd5.3'
build_cpu='i386'
build_os='freebsd5.3'
build_vendor='portbld'
datadir='${prefix}/share'
exec_prefix='$(prefix)'
host='i386-portbld-freebsd5.3'
host_alias='i386-portbld-freebsd5.3'
host_cpu='i386'
host_os='freebsd5.3'
host_vendor='portbld'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='i386-portbld-freebsd5.3'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define COMPILE_DL_FILEINFO 1
#define HAVE_DLFCN_H 1
#define HAVE_FILEINFOLIB 1
#define HAVE_GZGETS 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBM 1
#define HAVE_LIBZ 1
#define HAVE_MEMORY_H 1
#define HAVE_ROUND 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PHP_DEFAULT_MAGIC_FILE ""
#define STDC_HEADERS 1

configure: exit 0



-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.


More information about the freebsd-questions mailing list