a colleague is trying to update the fink packages we made for the mac.
gavl can't compile and stops here:

-------------------

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/gavl -I../include 
-I../include/gavl -I../include -I/sw/include -D__GAVL__ -march=nocona 
-mtune=nocona -O3 -funroll-all-loops -fomit-frame-pointer -ffast-math -Wall 
-Wmissing-declarations -Wdeclaration-after-statement -mfpmath=387 
-fvisibility=hidden -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c timer.c  
-fno-common -DPIC -o .libs/timer.o
timer.c: In function 'gavl_benchmark_get_time':
timer.c:129: error: 'GAVL_ACCEL_MMX' undeclared (first use in this  
function)
timer.c:129: error: (Each undeclared identifier is reported only once
timer.c:129: error: for each function it appears in.)
timer.c: In function 'gavl_benchmark_get_desc':
timer.c:149: error: 'config_flags' undeclared (first use in this function)
timer.c:149: error: 'GAVL_ACCEL_MMX' undeclared (first use in this  
function)
timer.c:158: error: syntax error before '}' token
timer.c:147: warning: unused variable 'x'
make[2]: *** [timer.lo] Error 1

------------------

any idea?

I can't see what is going on.  GAVL_ACCEL_MMX is defined in gavl.h which
it should see, I think.

attached is his config.log


-august.
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.64.  Invocation command line was

  $ ./configure --prefix=/sw --disable-libpng

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

hostname = palatschinken
uname -m = i386
uname -r = 9.8.0
uname -s = Darwin
uname -v = Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; 
root:xnu-1228.15.4~1/RELEASE_I386

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
         Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; 
root:xnu-1228.15.4~1/RELEASE_I386
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 3.00 gigabytes
Default processor set: 108 tasks, 418 threads, 2 processors
Load average: 4.13, Mach factor: 0.41
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sw/var/lib/fink/path-prefix-g++-4.0
PATH: /sw/bin
PATH: /sw/sbin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/X11R6/bin


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

configure:2558: checking for a BSD-compatible install
configure:2626: result: /sw/bin/ginstall -c
configure:2637: checking whether build environment is sane
configure:2687: result: yes
configure:2828: checking for a thread-safe mkdir -p
configure:2867: result: /sw/bin/mkdir -p
configure:2880: checking for gawk
configure:2896: found /sw/bin/gawk
configure:2907: result: gawk
configure:2918: checking whether make sets $(MAKE)
configure:2940: result: yes
configure:3046: checking build system type
configure:3060: result: i386-apple-darwin9.8.0
configure:3080: checking host system type
configure:3093: result: i386-apple-darwin9.8.0
configure:3183: checking for style of include used by make
configure:3211: result: GNU
configure:3281: checking for gcc
configure:3297: found /usr/bin/gcc
configure:3308: result: gcc
configure:3537: checking for C compiler version
configure:3546: gcc --version >&5
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
Copyright (C) 2005 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:3557: $? = 0
configure:3546: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking 
-enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ 
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib 
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic 
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
configure:3557: $? = 0
configure:3546: gcc -V >&5
gcc-4.0: argument to `-V' is missing
configure:3557: $? = 1
configure:3546: gcc -qversion >&5
i686-apple-darwin9-gcc-4.0.1: no input files
configure:3557: $? = 1
configure:3579: checking for C compiler default output file name
configure:3601: gcc  -I/sw/include -L/sw/lib conftest.c  >&5
configure:3605: $? = 0
configure:3642: result: a.out
configure:3658: checking whether the C compiler works
configure:3667: ./a.out
configure:3671: $? = 0
configure:3686: result: yes
configure:3693: checking whether we are cross compiling
configure:3695: result: no
configure:3698: checking for suffix of executables
configure:3705: gcc -o conftest  -I/sw/include -L/sw/lib conftest.c  >&5
configure:3709: $? = 0
configure:3731: result: 
configure:3737: checking for suffix of object files
configure:3759: gcc -c  -I/sw/include conftest.c >&5
configure:3763: $? = 0
configure:3784: result: o
configure:3788: checking whether we are using the GNU C compiler
configure:3807: gcc -c  -I/sw/include conftest.c >&5
configure:3807: $? = 0
configure:3816: result: yes
configure:3825: checking whether gcc accepts -g
configure:3845: gcc -c -g -I/sw/include conftest.c >&5
configure:3845: $? = 0
configure:3886: result: yes
configure:3903: checking for gcc option to accept ISO C89
configure:3967: gcc  -c -g -O2 -I/sw/include conftest.c >&5
configure:3967: $? = 0
configure:3980: result: none needed
configure:4002: checking dependency style of gcc
configure:4112: result: gcc3
configure:4127: checking for a sed that does not truncate output
configure:4191: result: /sw/bin/sed
configure:4209: checking for grep that handles long lines and -e
configure:4267: result: /usr/bin/grep
configure:4272: checking for egrep
configure:4334: result: /usr/bin/grep -E
configure:4339: checking for fgrep
configure:4401: result: /usr/bin/grep -F
configure:4436: checking for ld used by gcc
configure:4503: result: /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
configure:4510: checking if the linker 
(/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld
configure:4525: result: no
configure:4537: checking for BSD- or MS-compatible name lister (nm)
configure:4586: result: /usr/bin/nm -p
configure:4704: checking the name lister (/usr/bin/nm -p) interface
configure:4711: gcc -c -g -O2 -I/sw/include conftest.c >&5
configure:4714: /usr/bin/nm -p "conftest.o"
configure:4717: output
00000174 D _some_variable
configure:4724: result: BSD nm
configure:4727: checking whether ln -s works
configure:4731: result: yes
configure:4739: checking the maximum length of command line arguments
configure:4859: result: 196608
configure:4876: checking whether the shell understands some XSI constructs
configure:4886: result: yes
configure:4890: checking whether the shell understands "+="
configure:4896: result: yes
configure:4931: checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld 
option to reload object files
configure:4938: result: -r
configure:5007: checking for objdump
configure:5037: result: no
configure:5066: checking how to recognize dependent libraries
configure:5262: result: pass_all
configure:5322: checking for ar
configure:5338: found /usr/bin/ar
configure:5349: result: ar
configure:5427: checking for strip
configure:5443: found /usr/bin/strip
configure:5454: result: strip
configure:5526: checking for ranlib
configure:5542: found /usr/bin/ranlib
configure:5553: result: ranlib
configure:5643: checking command to parse /usr/bin/nm -p output from gcc object
configure:5761: gcc -c -g -O2 -I/sw/include conftest.c >&5
configure:5764: $? = 0
configure:5768: /usr/bin/nm -p conftest.o \| sed -n -e 's/^.*[   
]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 
\2/p' \> conftest.nm
configure:5771: $? = 0
cannot find nm_test_var in conftest.nm
configure:5761: gcc -c -g -O2 -I/sw/include conftest.c >&5
configure:5764: $? = 0
configure:5768: /usr/bin/nm -p conftest.o \| sed -n -e 's/^.*[   
]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 
\2/p' \> conftest.nm
configure:5771: $? = 0
configure:5825: gcc -o conftest -g -O2 -I/sw/include -L/sw/lib conftest.c 
conftstm.o >&5
configure:5828: $? = 0
configure:5866: result: ok
configure:6131: checking for dsymutil
configure:6147: found /usr/bin/dsymutil
configure:6158: result: dsymutil
configure:6223: checking for nmedit
configure:6239: found /usr/bin/nmedit
configure:6250: result: nmedit
configure:6315: checking for lipo
configure:6331: found /usr/bin/lipo
configure:6342: result: lipo
configure:6407: checking for otool
configure:6423: found /usr/bin/otool
configure:6434: result: otool
configure:6499: checking for otool64
configure:6529: result: no
configure:6574: checking for -single_module linker flag
gcc -g -O2 -L/sw/lib -o libconftest.dylib -dynamiclib -Wl,-single_module 
conftest.c
configure:6601: result: yes
configure:6603: checking for -exported_symbols_list linker flag
configure:6623: gcc -o conftest -g -O2 -I/sw/include -L/sw/lib 
-Wl,-exported_symbols_list,conftest.sym conftest.c  >&5
configure:6623: $? = 0
configure:6633: result: yes
configure:6675: checking how to run the C preprocessor
configure:6706: gcc -E -I/sw/include conftest.c
configure:6706: $? = 0
configure:6720: gcc -E -I/sw/include conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:6720: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gavl"
| #define VERSION "1.1.2"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6745: result: gcc -E
configure:6765: gcc -E -I/sw/include conftest.c
configure:6765: $? = 0
configure:6779: gcc -E -I/sw/include conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:6779: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gavl"
| #define VERSION "1.1.2"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6808: checking for ANSI C header files
configure:6828: gcc -c -g -O2 -I/sw/include conftest.c >&5
configure:6828: $? = 0
configure:6901: gcc -o conftest -g -O2 -I/sw/include -L/sw/lib conftest.c  >&5
configure:6901: $? = 0
configure:6901: ./conftest
configure:6901: $? = 0
configure:6912: result: yes
configure:6925: checking for sys/types.h
configure:6925: gcc -c -g -O2 -I/sw/include conftest.c >&5
configure:6925: $? = 0
configure:6925: result: yes
configure:6925: checking for sys/stat.h
configure:6925: gcc -c -g -O2 -I/sw/include conftest.c >&5
configure:6925: $? = 0
configure:6925: result: yes
configure:6925: checking for stdlib.h
configure:6925: gcc -c -g -O2 -I/sw/include conftest.c >&5
configure:6925: $? = 0
configure:6925: result: yes
configure:6925: checking for string.h
configure:6925: gcc -c -g -O2 -I/sw/include conftest.c >&5
configure:6925: $? = 0
configure:6925: result: yes
configure:6925: checking for memory.h

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

ac_cv_build=i386-apple-darwin9.8.0
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/sw/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/sw/lib
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_stdc=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_host=i386-apple-darwin9.8.0
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_INTLTOOL_PERL=/usr/bin/perl
ac_cv_path_SED=/sw/bin/sed
ac_cv_path_install='/sw/bin/ginstall -c'
ac_cv_path_mkdir=/sw/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
ac_cv_prog_ac_ct_LIPO=lipo
ac_cv_prog_ac_ct_NMEDIT=nmedit
ac_cv_prog_ac_ct_OTOOL=otool
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_apple_cc_single_mod=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_exported_symbols_list=yes
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_path_LD=/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
lt_cv_path_NM='/usr/bin/nm -p'
lt_cv_prog_gnu_ld=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       
]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 
\2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  
{\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/  {"\2", 
(void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ 
]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ 
]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ 
]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int 
\1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=196608

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

ACLOCAL='${SHELL} /sw/src/fink.build/libgavl1-1.1.2-1/gavl-1.1.2/missing --run 
aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /sw/src/fink.build/libgavl1-1.1.2-1/gavl-1.1.2/missing --run 
tar'
AR='ar'
AUTOCONF='${SHELL} /sw/src/fink.build/libgavl1-1.1.2-1/gavl-1.1.2/missing --run 
autoconf'
AUTOHEADER='${SHELL} /sw/src/fink.build/libgavl1-1.1.2-1/gavl-1.1.2/missing 
--run autoheader'
AUTOMAKE='${SHELL} /sw/src/fink.build/libgavl1-1.1.2-1/gavl-1.1.2/missing --run 
automake-1.11'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS='-I/sw/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DOXYGEN=''
DSYMUTIL='dsymutil'
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GAVL_VERSION='1.1.2'
GAVL_VERSION_MAJOR='1'
GAVL_VERSION_MICRO='2'
GAVL_VERSION_MINOR='1'
GMERLIN_DEP_LIBS=''
GREP='/usr/bin/grep'
HAVE_3DNOW_FALSE=''
HAVE_3DNOW_TRUE=''
HAVE_DOXYGEN_FALSE=''
HAVE_DOXYGEN_TRUE=''
HAVE_LIBPNG_FALSE=''
HAVE_LIBPNG_TRUE=''
HAVE_MMX_FALSE=''
HAVE_MMX_TRUE=''
HAVE_SSE2_FALSE=''
HAVE_SSE2_TRUE=''
HAVE_SSE3_FALSE=''
HAVE_SSE3_TRUE=''
HAVE_SSE_FALSE=''
HAVE_SSE_TRUE=''
HAVE_SSSE3_FALSE=''
HAVE_SSSE3_TRUE=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld'
LDFLAGS='-L/sw/lib'
LIBGAVL_CFLAGS=''
LIBGAVL_LDFLAGS=''
LIBGAVL_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
LTVERSION_AGE='0'
LTVERSION_CURRENT='1'
LTVERSION_REVISION='0'
MAKEINFO='${SHELL} /sw/src/fink.build/libgavl1-1.1.2-1/gavl-1.1.2/missing --run 
makeinfo'
MKDIR_P='/sw/bin/mkdir -p'
NM='/usr/bin/nm -p'
NMEDIT='nmedit'
OBJDUMP='false'
OBJEXT='o'
OS_WIN32_FALSE=''
OS_WIN32_TRUE=''
OTOOL64=':'
OTOOL='otool'
PACKAGE='gavl'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PNG_CFLAGS=''
PNG_LIBS=''
PNG_REQUIRED=''
RANLIB='ranlib'
RT_LIBS=''
SED='/sw/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
TOP_SRCDIR=''
VERSION='1.1.2'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin9.8.0'
build_alias=''
build_cpu='i386'
build_os='darwin9.8.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-apple-darwin9.8.0'
host_alias=''
host_cpu='i386'
host_os='darwin9.8.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /sw/src/fink.build/libgavl1-1.1.2-1/gavl-1.1.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='/sw/bin/echo'
mandir='${datarootdir}/man'
mkdir_p='/sw/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/sw'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "gavl"
#define VERSION "1.1.2"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1

configure: caught signal 2
configure: exit 1
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to