Which compiler was used for pre-built libiodbc?

Richard L. Hamilton rlhamil at smart.net
Tue Jul 26 17:23:37 PDT 2016


Which compiler was used for pre-built libiodbc?  It failed on both my El Capitan boxes, until the pre-built was available, and that installed of course.  It's also failing on the Snow Leopard, and I doubt there's a pre-built one for that.  I'm hoping for better luck if I build with the same options and compiler that was used with the pre-built ones.

Hardware Version: Mac mini (Mid 2007) (Macmini2,1)
Mac OS X 10.6.8 10K549 (Snow Leopard)
Xcode 4.2 4C199
MacPorts Version: 2.3.4

Here's the error log, starting with the first command that failed:
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/iODBC-3.52.12/iodbcadm'
:info:build /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/llvm-gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../include  -I../include -I../iodbc -I../iodbcinst -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -D__GTK__ -I/opt/local/include -DWITH_PTHREADS -D_REENTRANT  -pipe -Os -arch x86_64 -arch i386 -DODBCVER=0x0350 -DIODBC_BUILD=12160712 -DNO_FRAMEWORKS -c -o drvconn.lo drvconn.c
:info:build libtool: compile:  /usr/bin/llvm-gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../include -I../iodbc -I../iodbcinst -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -D__GTK__ -I/opt/local/include -DWITH_PTHREADS -D_REENTRANT -pipe -Os -arch x86_64 -arch i386 -DODBCVER=0x0350 -DIODBC_BUILD=12160712 -DNO_FRAMEWORKS -c drvconn.c  -fno-common -DPIC -o .libs/drvconn.o
:info:build In file included from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/iodbc.h:151:1: warning: "SYS_ODBC_INI" redefined
:info:build In file included from ../include/iodbc.h:83,
:info:build                  from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/config.h:149:1: warning: this is the location of the previous definition
:info:build In file included from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/iodbc.h:163:1: warning: "SYS_ODBCINST_INI" redefined
:info:build In file included from ../include/iodbc.h:83,
:info:build                  from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/config.h:146:1: warning: this is the location of the previous definition
:info:build drvconn.c: In function ‘iodbcdm_drvconn_dialboxw’:
:info:build drvconn.c:501: error: ‘liburl’ undeclared (first use in this function)
:info:build drvconn.c:501: error: (Each undeclared identifier is reported only once
:info:build drvconn.c:501: error: for each function it appears in.)
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFURLCreateFromFileSystemRepresentation’
:info:build drvconn.c:501: error: ‘UInt8’ undeclared (first use in this function)
:info:build drvconn.c:501: error: expected expression before ‘)’ token
:info:build drvconn.c:501: error: ‘CFArrayRef’ undeclared (first use in this function)
:info:build drvconn.c:501: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:501: error: ‘arr’ undeclared (first use in this function)
:info:build drvconn.c:501: error: ‘bundle_dll’ undeclared (first use in this function)
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFBundleCreate’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFRelease’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFBundleGetFunctionPointerForName’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFSTR’
:info:build drvconn.c:501: warning: cast to pointer from integer of different size
:info:build drvconn.c:501: warning: cast to pointer from integer of different size
:info:build drvconn.c:504: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:504: error: expected expression before ‘)’ token
:info:build drvconn.c:504: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:504: warning: cast to pointer from integer of different size
:info:build drvconn.c:504: warning: cast to pointer from integer of different size
:info:build drvconn.c:507: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:507: error: expected expression before ‘)’ token
:info:build drvconn.c:507: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:507: warning: cast to pointer from integer of different size
:info:build drvconn.c:507: warning: cast to pointer from integer of different size
:info:build drvconn.c:510: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:510: error: expected expression before ‘)’ token
:info:build drvconn.c:510: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:510: warning: cast to pointer from integer of different size
:info:build drvconn.c:510: warning: cast to pointer from integer of different size
:info:build drvconn.c:513: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:513: error: expected expression before ‘)’ token
:info:build drvconn.c:513: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:513: warning: cast to pointer from integer of different size
:info:build drvconn.c:513: warning: cast to pointer from integer of different size
:info:build drvconn.c:517: error: expected expression before ‘)’ token
:info:build drvconn.c:517: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:517: warning: cast to pointer from integer of different size
:info:build drvconn.c:517: warning: cast to pointer from integer of different size
:info:build drvconn.c:520: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:520: error: expected expression before ‘)’ token
:info:build drvconn.c:520: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:520: warning: cast to pointer from integer of different size
:info:build drvconn.c:520: warning: cast to pointer from integer of different size
:info:build drvconn.c:523: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:523: error: expected expression before ‘)’ token
:info:build drvconn.c:523: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:523: warning: cast to pointer from integer of different size
:info:build drvconn.c:523: warning: cast to pointer from integer of different size
:info:build drvconn.c:526: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:526: error: expected expression before ‘)’ token
:info:build drvconn.c:526: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:526: warning: cast to pointer from integer of different size
:info:build drvconn.c:526: warning: cast to pointer from integer of different size
:info:build drvconn.c:529: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:529: error: expected expression before ‘)’ token
:info:build drvconn.c:529: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:529: warning: cast to pointer from integer of different size
:info:build drvconn.c:529: warning: cast to pointer from integer of different size
:info:build In file included from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/iodbc.h:151:1: warning: "SYS_ODBC_INI" redefined
:info:build In file included from ../include/iodbc.h:83,
:info:build                  from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/config.h:149:1: warning: this is the location of the previous definition
:info:build In file included from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/iodbc.h:163:1: warning: "SYS_ODBCINST_INI" redefined
:info:build In file included from ../include/iodbc.h:83,
:info:build                  from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/config.h:146:1: warning: this is the location of the previous definition
:info:build drvconn.c: In function ‘iodbcdm_drvconn_dialboxw’:
:info:build drvconn.c:501: error: ‘liburl’ undeclared (first use in this function)
:info:build drvconn.c:501: error: (Each undeclared identifier is reported only once
:info:build drvconn.c:501: error: for each function it appears in.)
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFURLCreateFromFileSystemRepresentation’
:info:build drvconn.c:501: error: ‘UInt8’ undeclared (first use in this function)
:info:build drvconn.c:501: error: expected expression before ‘)’ token
:info:build drvconn.c:501: error: ‘CFArrayRef’ undeclared (first use in this function)
:info:build drvconn.c:501: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:501: error: ‘arr’ undeclared (first use in this function)
:info:build drvconn.c:501: error: ‘bundle_dll’ undeclared (first use in this function)
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFBundleCreate’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFRelease’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFBundleGetFunctionPointerForName’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFSTR’
:info:build drvconn.c:504: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:504: error: expected expression before ‘)’ token
:info:build drvconn.c:504: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:507: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:507: error: expected expression before ‘)’ token
:info:build drvconn.c:507: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:510: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:510: error: expected expression before ‘)’ token
:info:build drvconn.c:510: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:513: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:513: error: expected expression before ‘)’ token
:info:build drvconn.c:513: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:517: error: expected expression before ‘)’ token
:info:build drvconn.c:517: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:520: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:520: error: expected expression before ‘)’ token
:info:build drvconn.c:520: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:523: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:523: error: expected expression before ‘)’ token
:info:build drvconn.c:523: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:526: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:526: error: expected expression before ‘)’ token
:info:build drvconn.c:526: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:529: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:529: error: expected expression before ‘)’ token
:info:build drvconn.c:529: error: expected ‘;’ before ‘arr’
:info:build fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/.tmp/ccPQznnu.out (No such file or directory)
:info:build make[2]: *** [drvconn.lo] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/iODBC-3.52.12/iodbcadm'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/iODBC-3.52.12/iodbcadm'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/iODBC-3.52.12'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/iODBC-3.52.12" && /usr/bin/make -w all 
:info:build Exit code: 2
:error:build org.macports.build for port libiodbc returned: command execution failed
:debug:build Error code: CHILDSTATUS 21969 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for libiodbc: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port libiodbc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/main.log
sh-3.2# uname -n
myeye.local
sh-3.2# cat /var/tmp/libiodbc_errs
cat: /var/tmp/libiodbc_errs: No such file or directory
sh-3.2# ls /var/tmp
.2F7MXW					.VH5LXW					dcraw_patch				old-StartupItems
.A6TQXW					.wmp4					ic					rootdu
.BlankFile				_ol					krb5kdc_rcache				sysctl.out
.DS_Store				afpserver_0				launchd					vnc_0
.GCQMXW					com.apple.HIToolbox.loginwindow.plist	libiodbc_err
sh-3.2# cat /var/tmp/libiodbc_err
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/iODBC-3.52.12/iodbcadm'
:info:build /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/llvm-gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../include  -I../include -I../iodbc -I../iodbcinst -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -D__GTK__ -I/opt/local/include -DWITH_PTHREADS -D_REENTRANT  -pipe -Os -arch x86_64 -arch i386 -DODBCVER=0x0350 -DIODBC_BUILD=12160712 -DNO_FRAMEWORKS -c -o drvconn.lo drvconn.c
:info:build libtool: compile:  /usr/bin/llvm-gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../include -I../iodbc -I../iodbcinst -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -D__GTK__ -I/opt/local/include -DWITH_PTHREADS -D_REENTRANT -pipe -Os -arch x86_64 -arch i386 -DODBCVER=0x0350 -DIODBC_BUILD=12160712 -DNO_FRAMEWORKS -c drvconn.c  -fno-common -DPIC -o .libs/drvconn.o
:info:build In file included from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/iodbc.h:151:1: warning: "SYS_ODBC_INI" redefined
:info:build In file included from ../include/iodbc.h:83,
:info:build                  from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/config.h:149:1: warning: this is the location of the previous definition
:info:build In file included from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/iodbc.h:163:1: warning: "SYS_ODBCINST_INI" redefined
:info:build In file included from ../include/iodbc.h:83,
:info:build                  from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/config.h:146:1: warning: this is the location of the previous definition
:info:build drvconn.c: In function ‘iodbcdm_drvconn_dialboxw’:
:info:build drvconn.c:501: error: ‘liburl’ undeclared (first use in this function)
:info:build drvconn.c:501: error: (Each undeclared identifier is reported only once
:info:build drvconn.c:501: error: for each function it appears in.)
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFURLCreateFromFileSystemRepresentation’
:info:build drvconn.c:501: error: ‘UInt8’ undeclared (first use in this function)
:info:build drvconn.c:501: error: expected expression before ‘)’ token
:info:build drvconn.c:501: error: ‘CFArrayRef’ undeclared (first use in this function)
:info:build drvconn.c:501: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:501: error: ‘arr’ undeclared (first use in this function)
:info:build drvconn.c:501: error: ‘bundle_dll’ undeclared (first use in this function)
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFBundleCreate’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFRelease’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFBundleGetFunctionPointerForName’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFSTR’
:info:build drvconn.c:501: warning: cast to pointer from integer of different size
:info:build drvconn.c:501: warning: cast to pointer from integer of different size
:info:build drvconn.c:504: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:504: error: expected expression before ‘)’ token
:info:build drvconn.c:504: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:504: warning: cast to pointer from integer of different size
:info:build drvconn.c:504: warning: cast to pointer from integer of different size
:info:build drvconn.c:507: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:507: error: expected expression before ‘)’ token
:info:build drvconn.c:507: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:507: warning: cast to pointer from integer of different size
:info:build drvconn.c:507: warning: cast to pointer from integer of different size
:info:build drvconn.c:510: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:510: error: expected expression before ‘)’ token
:info:build drvconn.c:510: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:510: warning: cast to pointer from integer of different size
:info:build drvconn.c:510: warning: cast to pointer from integer of different size
:info:build drvconn.c:513: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:513: error: expected expression before ‘)’ token
:info:build drvconn.c:513: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:513: warning: cast to pointer from integer of different size
:info:build drvconn.c:513: warning: cast to pointer from integer of different size
:info:build drvconn.c:517: error: expected expression before ‘)’ token
:info:build drvconn.c:517: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:517: warning: cast to pointer from integer of different size
:info:build drvconn.c:517: warning: cast to pointer from integer of different size
:info:build drvconn.c:520: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:520: error: expected expression before ‘)’ token
:info:build drvconn.c:520: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:520: warning: cast to pointer from integer of different size
:info:build drvconn.c:520: warning: cast to pointer from integer of different size
:info:build drvconn.c:523: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:523: error: expected expression before ‘)’ token
:info:build drvconn.c:523: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:523: warning: cast to pointer from integer of different size
:info:build drvconn.c:523: warning: cast to pointer from integer of different size
:info:build drvconn.c:526: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:526: error: expected expression before ‘)’ token
:info:build drvconn.c:526: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:526: warning: cast to pointer from integer of different size
:info:build drvconn.c:526: warning: cast to pointer from integer of different size
:info:build drvconn.c:529: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:529: error: expected expression before ‘)’ token
:info:build drvconn.c:529: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:529: warning: cast to pointer from integer of different size
:info:build drvconn.c:529: warning: cast to pointer from integer of different size
:info:build In file included from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/iodbc.h:151:1: warning: "SYS_ODBC_INI" redefined
:info:build In file included from ../include/iodbc.h:83,
:info:build                  from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/config.h:149:1: warning: this is the location of the previous definition
:info:build In file included from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/iodbc.h:163:1: warning: "SYS_ODBCINST_INI" redefined
:info:build In file included from ../include/iodbc.h:83,
:info:build                  from gui.h:75,
:info:build                  from drvconn.c:78:
:info:build ../include/config.h:146:1: warning: this is the location of the previous definition
:info:build drvconn.c: In function ‘iodbcdm_drvconn_dialboxw’:
:info:build drvconn.c:501: error: ‘liburl’ undeclared (first use in this function)
:info:build drvconn.c:501: error: (Each undeclared identifier is reported only once
:info:build drvconn.c:501: error: for each function it appears in.)
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFURLCreateFromFileSystemRepresentation’
:info:build drvconn.c:501: error: ‘UInt8’ undeclared (first use in this function)
:info:build drvconn.c:501: error: expected expression before ‘)’ token
:info:build drvconn.c:501: error: ‘CFArrayRef’ undeclared (first use in this function)
:info:build drvconn.c:501: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:501: error: ‘arr’ undeclared (first use in this function)
:info:build drvconn.c:501: error: ‘bundle_dll’ undeclared (first use in this function)
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFBundleCreate’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFRelease’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFBundleGetFunctionPointerForName’
:info:build drvconn.c:501: warning: implicit declaration of function ‘CFSTR’
:info:build drvconn.c:504: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:504: error: expected expression before ‘)’ token
:info:build drvconn.c:504: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:507: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:507: error: expected expression before ‘)’ token
:info:build drvconn.c:507: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:510: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:510: error: expected expression before ‘)’ token
:info:build drvconn.c:510: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:513: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:513: error: expected expression before ‘)’ token
:info:build drvconn.c:513: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:517: error: expected expression before ‘)’ token
:info:build drvconn.c:517: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:520: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:520: error: expected expression before ‘)’ token
:info:build drvconn.c:520: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:523: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:523: error: expected expression before ‘)’ token
:info:build drvconn.c:523: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:526: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:526: error: expected expression before ‘)’ token
:info:build drvconn.c:526: error: expected ‘;’ before ‘arr’
:info:build drvconn.c:529: warning: passing argument 1 of ‘strdup’ from incompatible pointer type
:info:build drvconn.c:529: error: expected expression before ‘)’ token
:info:build drvconn.c:529: error: expected ‘;’ before ‘arr’
:info:build fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/.tmp/ccPQznnu.out (No such file or directory)
:info:build make[2]: *** [drvconn.lo] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/iODBC-3.52.12/iodbcadm'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/iODBC-3.52.12/iodbcadm'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/iODBC-3.52.12'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/work/iODBC-3.52.12" && /usr/bin/make -w all 
:info:build Exit code: 2
:error:build org.macports.build for port libiodbc returned: command execution failed
:debug:build Error code: CHILDSTATUS 21969 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for libiodbc: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port libiodbc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/main.log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160726/fb5849f2/attachment.html>


More information about the macports-users mailing list