When trying to compile freetds (as part of an upgrade for apache24, which is dependant on devel/apr1 which is dependant on freetds), I run into the following error;
System: root@aloha:/usr/ports/databases/freetds # uname -a FreeBSD aloha 10.0-RELEASE-p9 FreeBSD 10.0-RELEASE-p9 #0: Mon Sep 15 14:32:29 UTC 2014 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 Error: root@aloha:/usr/ports/devel/apr1 # cd /usr/ports/databases/freetds root@aloha:/usr/ports/databases/freetds # make MAKE_JOBS_UNSAFE=yes ===> Building for freetds-0.64_11,1 gmake[2]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64' Making all in include gmake[3]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/include' gmake all-am gmake[4]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/include' gmake[4]: Nothing to be done for `all-am'. gmake[4]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/include' gmake[3]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/include' Making all in src gmake[3]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src' Making all in replacements gmake[4]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/replacements' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/replacements' Making all in tds gmake[4]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/tds' gmake all-recursive gmake[5]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/tds' Making all in unittests gmake[6]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/tds/unittests' gmake[6]: Nothing to be done for `all'. gmake[6]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/tds/unittests' gmake[6]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/tds' gmake[6]: Nothing to be done for `all-am'. gmake[6]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/tds' gmake[5]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/tds' gmake[4]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/tds' Making all in ctlib gmake[4]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/ctlib' Making all in unittests gmake[5]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/ctlib/unittests' gmake[5]: Nothing to be done for `all'. gmake[5]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/ctlib/unittests' gmake[5]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/ctlib' gmake[5]: Nothing to be done for `all-am'. gmake[5]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/ctlib' gmake[4]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/ctlib' Making all in dblib gmake[4]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/dblib' Making all in unittests gmake[5]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/dblib/unittests' gmake[5]: Nothing to be done for `all'. gmake[5]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/dblib/unittests' gmake[5]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/dblib' gmake[5]: Nothing to be done for `all-am'. gmake[5]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/dblib' gmake[4]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/dblib' Making all in odbc gmake[4]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/odbc' Making all in unittests gmake[5]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/odbc/unittests' gmake[5]: Nothing to be done for `all'. gmake[5]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/odbc/unittests' gmake[5]: Entering directory `/usr/ports/databases/freetds/work/freetds-0.64/src/odbc' if /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -D_FREETDS_LIBRARY_SOURCE -DIODBC -I/usr/local/include -I/usr/local/include/p11-kit-1 -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing -MT odbc.lo -MD -MP -MF ".deps/odbc.Tpo" -c -o odbc.lo odbc.c; \ then mv -f ".deps/odbc.Tpo" ".deps/odbc.Plo"; else rm -f ".deps/odbc.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -D_FREETDS_LIBRARY_SOURCE -DIODBC -I/usr/local/include -I/usr/local/include/p11-kit-1 -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing -MT odbc.lo -MD -MP -MF .deps/odbc.Tpo -c odbc.c -fPIC -DPIC -o .libs/odbc.o In file included from odbc.c:54: In file included from ../../include/tdsodbc.h:34: /usr/local/include/libiodbc/isql.h:84:10: error: 'sql.h' file not found with <angled> include; use "quotes" instead #include <sql.h> ^~~~~~~ "sql.h" In file included from odbc.c:54: In file included from ../../include/tdsodbc.h:34: In file included from /usr/local/include/libiodbc/isql.h:84: /usr/local/include/libiodbc/sql.h:89:10: error: 'sqltypes.h' file not found with <angled> include; use "quotes" instead #include <sqltypes.h> ^~~~~~~~~~~~ "sqltypes.h" In file included from odbc.c:54: In file included from ../../include/tdsodbc.h:34: In file included from /usr/local/include/libiodbc/isql.h:84: In file included from /usr/local/include/libiodbc/sql.h:89: /usr/local/include/libiodbc/sqltypes.h:92:10: error: 'iodbcunix.h' file not found with <angled> include; use "quotes" instead #include <iodbcunix.h> ^~~~~~~~~~~~~ "iodbcunix.h" In file included from odbc.c:54: In file included from ../../include/tdsodbc.h:35: /usr/local/include/libiodbc/isqlext.h:84:10: error: 'sqlext.h' file not found with <angled> include; use "quotes" instead #include <sqlext.h> ^~~~~~~~~~ "sqlext.h" In file included from odbc.c:54: In file included from ../../include/tdsodbc.h:35: In file included from /usr/local/include/libiodbc/isqlext.h:84: /usr/local/include/libiodbc/sqlext.h:2570:10: error: 'sqlucode.h' file not found with <angled> include; use "quotes" instead #include <sqlucode.h> ^~~~~~~~~~~~ "sqlucode.h" odbc.c:1680:1: error: conflicting types for 'SQLColAttribute' SQLColAttribute(SQLHSTMT hstmt, SQLUSMALLINT icol, SQLUSMALLINT fDescType, ^ /usr/local/include/libiodbc/sql.h:831:19: note: previous declaration is here SQLRETURN SQL_API SQLColAttribute ( ^ 6 errors generated. gmake[5]: *** [odbc.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/odbc' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src/odbc' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/databases/freetds/work/freetds-0.64' *** Error code 1 Stop. make[1]: stopped in /usr/ports/databases/freetds *** Error code 1 Stop. make: stopped in /usr/ports/databases/freetds _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"