List:General Discussion« Previous MessageNext Message »
From:Drew M Hahn Date:March 25 1999 2:19pm
Subject:Re: why is sco build using "-belf" and what does it mean ?
View as plain text  
I just downloaded it from the Skunkware archive.  But, do let me say
this...if you get the Perl DBI and the MySQL DBD compiled for SCO
OpenServer, PLEASE LET ME KNOW!  I've had the biggest problem getting it
to work.  You would be a prince among men if you accomplished this and
emailed it to me.  Thanks.

--drew

On Wed, 24 Mar 1999, Jeffrey Dickens wrote:

> 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 <sys/types.h>
> # include <sys/stat.h>
> #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="$CFLAGS -belf"
> config.log:configure:2315: gcc  -c   -belf  conftest.c 1>&5
> config.log:configure:2315: gcc -qlanglvl=ansi -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="$CFLAGS -belf"
> configure:      CC="$CC -belf";
> configure:      CXX="$CXX -belf";
> configure.in:   CC="$CC -belf";
> configure.in:   CXX="$CXX -belf";
> libtool:# CC="gcc" CFLAGS="  -belf" CPPFLAGS="" \
> ltconfig:    special_shlib_compile_flags='-belf'
> 
> Thanks to Paul D. Smith at Bay for getting me this far...
> 
> 
> 
> Jeff Dickens
> Software Tools Engineer
> ERS Boxboro (978) 264-2832
> 
> 
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread944@stripped
> 
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
> 

Thread
why is sco build using "-belf" and what does it mean ?Jeffrey Dickens25 Mar
  • Re: why is sco build using "-belf" and what does it mean ?Drew M Hahn25 Mar
  • Re: why is sco build using "-belf" and what does it mean ?801) 250-O795 Work25 Mar
Re: why is sco build using "-belf" and what does it mean ?Jeffrey Dickens25 Mar