From: Jeffrey Dickens Date: March 24 1999 6:42pm Subject: why is sco build using "-belf" and what does it mean ? List-Archive: http://lists.mysql.com/mysql/944 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I'm having problems running configure for mysql V3.22.20a on SCO OpenServer= V5.0.4. I get this in config.log: configure:2315: gcc -c -belf conftest.c 1>&5 gcc: installation problem, cannot exec `cpp': No such file or directory gcc: file path prefix `/usr/local/lib/gcc-lib/elf/2.8.1/' never used configure: failed program was: #line 2297 "configure" #include "confdefs.h" #if !defined(__STDC__) choke me #endif /* DYNIX/ptx V4.1.3 can't compile sys/stat.h with -Xc -D__EXTENSIONS__. */ #ifdef _SEQUENT_ # include # include #endif int main() { int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; ; return 0; } I see that somehow Mysql's config thinks it's needed. Any idea why ? What does architecture type "elf" mean ? Should I just make a link from = /usr/local/lib/gcc-lib/elf to my actual architecture-specific library ? # grep belf * | more aclocal.m4: # On SCO OpenServer 5, we need -belf to get full-featured = binaries. aclocal.m4: CFLAGS=3D"$CFLAGS -belf" config.log:configure:2315: gcc -c -belf conftest.c 1>&5 config.log:configure:2315: gcc -qlanglvl=3Dansi -c -belf conftest.c = 1>&5 config.log:configure:2315: gcc -std1 -c -belf conftest.c 1>&5 config.log:configure:2315: gcc -Aa -D_HPUX_SOURCE -c -belf conftest.c = 1>&5 configure: # On SCO OpenServer 5, we need -belf to get full-featured = binaries. configure: CFLAGS=3D"$CFLAGS -belf" configure: CC=3D"$CC -belf"; configure: CXX=3D"$CXX -belf"; configure.in: CC=3D"$CC -belf"; configure.in: CXX=3D"$CXX -belf"; libtool:# CC=3D"gcc" CFLAGS=3D" -belf" CPPFLAGS=3D"" \ ltconfig: special_shlib_compile_flags=3D'-belf' Thanks to Paul D. Smith at Bay for getting me this far... Jeff Dickens Software Tools Engineer ERS Boxboro (978) 264-2832