![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
*Hi, i try to compile the sqlcmd-86 tool from J Leffler on Ubuntu 10 (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)) and get following error: INFORMIXC="gcc" esql * -DESQLC_VERSION=350 *-I. -I/opt/IBM/informix/incl/esql -O *-DHAVE_CONFIG_H * -g -O2 *-c appblob.ec In file included from appblob.ec:29: jlss.h:45: error: conflicting types for 'getline' /usr/include/stdio.h:651: note: previous declaration of 'getline' was here make: *** [appblob.o] Fehler 1 The same on Ubuntu 8.04 with same CSDK works fine. Perhaps it could be an compiler configuration problem? Perhaps the "--disable-werror " option? TIA * Dirk gcc -v on Ubuntu10: Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) gcc -v on Ubuntu8 Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4) *dirk_niemeier.vcf 1 KWeergevenDownloaden *signature.asc 1 KWeergevenDownloaden |
#3
| |||
| |||
|
|
Hi, i try to compile the sqlcmd-86 tool from J Leffler on Ubuntu 10 (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)) and get following error: INFORMIXC="gcc" esql -DESQLC_VERSION=350 -I. -I/opt/IBM/informix/incl/esql -O -DHAVE_CONFIG_H -g -O2 -c appblob.ec In file included from appblob.ec:29: jlss.h:45: error: conflicting types for 'getline' /usr/include/stdio.h:651: note: previous declaration of 'getline' was here make: *** [appblob.o] Fehler 1 The same on Ubuntu 8.04 with same CSDK works fine. Perhaps it could be an compiler configuration problem? Perhaps the "--disable-werror " option? TIA Dirk gcc -v on Ubuntu10: Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) gcc -v on Ubuntu8 Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4) _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#4
| |||
| |||
|
|
here is the solution: http://newsgroups.derkeiler.com/Arch...ases.informix/... -- Holger de Wall Am 09.09.2010 15:26, schrieb Dirk Niemeier: *Hi, i try to compile the sqlcmd-86 tool from J Leffler on Ubuntu 10 (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)) and get following error: INFORMIXC="gcc" esql * -DESQLC_VERSION=350 *-I. -I/opt/IBM/informix/incl/esql -O *-DHAVE_CONFIG_H * -g -O2 *-c appblob.ec In file included from appblob.ec:29: jlss.h:45: error: conflicting types for 'getline' /usr/include/stdio.h:651: note: previous declaration of 'getline' was here make: *** [appblob.o] Fehler 1 The same on Ubuntu 8.04 with same CSDK works fine. Perhaps it could be an compiler configuration problem? Perhaps the "--disable-werror " option? |
![]() |
| Thread Tools | |
| Display Modes | |
| |