Code: Select all
/bin/bash /TEMPO/sqlsrv-5.9.0/libtool --mode=compile x86_64-QNAP_FW43-linux-gnu-g++ -std=c++11 -I. -I/TEMPO/sqlsrv-5.9.0 -DPHP_ATOM_INC -I/TEMPO/sqlsrv-5.9.0/include -I/TEMPO/sqlsrv-5.9.0/main -I/TEMPO/sqlsrv-5.9.0 -I/opt/Apache74/include/php -I/opt/Apache74/include/php/main -I/opt/Apache74/include/php/TSRM -I/opt/Apache74/include/php/Zend -I/opt/Apache74/include/php/ext -I/opt/Apache74/include/php/ext/date/lib -I/TEMPO/sqlsrv-5.9.0/shared -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -DHAVE_CONFIG_H -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /TEMPO/sqlsrv-5.9.0/conn.cpp -o conn.lo
mkdir .libs
x86_64-QNAP_FW43-linux-gnu-g++ -std=c++11 -I. -I/TEMPO/sqlsrv-5.9.0 -DPHP_ATOM_INC -I/TEMPO/sqlsrv-5.9.0/include -I/TEMPO/sqlsrv-5.9.0/main -I/TEMPO/sqlsrv-5.9.0 -I/opt/Apache74/include/php -I/opt/Apache74/include/php/main -I/opt/Apache74/include/php/TSRM -I/opt/Apache74/include/php/Zend -I/opt/Apache74/include/php/ext -I/opt/Apache74/include/php/ext/date/lib -I/TEMPO/sqlsrv-5.9.0/shared -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -DHAVE_CONFIG_H -O2 -I/opt/Apache74/include -I/opt/Apache74/include/ncursesw -I/opt/Apache74/include/ncurses -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /TEMPO/sqlsrv-5.9.0/conn.cpp -fPIC -DPIC -o .libs/conn.o
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:182:0: warning: "FALSE" redefined
#define FALSE ((BOOL)0)
^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
from /opt/Apache74/include/sql.h:89,
from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:112:0: note: this is the location of the previous definition
#define FALSE 0
^
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:183:0: warning: "TRUE" redefined
#define TRUE ((BOOL)1)
^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
from /opt/Apache74/include/sql.h:89,
from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:109:0: note: this is the location of the previous definition
#define TRUE 1
^
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:132:16: error: conflicting declaration 'typedef WCHAR* LPWSTR'
typedef WCHAR *LPWSTR;
^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
from /opt/Apache74/include/sql.h:89,
from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:131:20: note: previous declaration as 'typedef wchar_t* LPWSTR'
typedef wchar_t * LPWSTR;
^
In file included from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23:0,
from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/xplat.h:133:22: error: conflicting declaration 'typedef const WCHAR* LPCWSTR'
typedef CONST WCHAR *LPCWSTR;
^
In file included from /opt/Apache74/include/sqltypes.h:92:0,
from /opt/Apache74/include/sql.h:89,
from /TEMPO/sqlsrv-5.9.0/shared/xplat.h:30,
from /TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:23,
from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/opt/Apache74/include/iodbcunix.h:132:26: note: previous declaration as 'typedef const wchar_t* LPCWSTR'
typedef const wchar_t * LPCWSTR;
^
In file included from /TEMPO/sqlsrv-5.9.0/shared/xplat_winnls.h:24:0,
from /TEMPO/sqlsrv-5.9.0/shared/FormattedPrint.h:24,
from /TEMPO/sqlsrv-5.9.0/shared/core_sqlsrv.h:41,
from /TEMPO/sqlsrv-5.9.0/php_sqlsrv_int.h:25,
from /TEMPO/sqlsrv-5.9.0/conn.cpp:24:
/TEMPO/sqlsrv-5.9.0/shared/typedefs_for_linux.h:35:5: error: 'LPTSTR' has not been declared
LPTSTR lpBuffer,
^
make: *** [conn.lo] Error 1