Menu

#9 libfame on AMD Atlohn64 FX 51

open
nobody
None
5
2004-03-22
2004-03-22
Anonymous
No

Hello
can not compile libfame 0.9.1:
My system SUSE LINUX 9.0 for AMD64
first I get this :
linux:/opt/SW/libfame-0.9.1 # ./configure
checking build system type... Invalid configuration
`x86_64-unknown-linux-gnu': machine `x86_64-unknown'
not recognized
configure: error: /bin/sh ./config.sub
x86_64-unknown-linux-gnu failed

then I try
I add in configure the line 1345 :
ac_cv_build_alias="i686"

then configure run
(I was not able to change the config.sub for my machine )

then I make >>make<<
and get this:
cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libfame\"
-DVERSION=\"0.9.1\" -I. -I. -g -O2 -march=i586
-DHAS_BSWAP -Wall -fexpensive-optimizations
-funroll-loops -ffast-math -fomit-frame-pointer -MT fame.lo
-MD -MP -MF .deps/fame.Tpo -c fame.c -o fame.o
cc1: error: CPU you selected does not support x86-64
instruction set
cc1: error: CPU you selected does not support x86-64
instruction set
make[1]: *** [fame.lo] Fehler 1
make[1]: Leaving directory `/opt/SW/libfame-0.9.1/src'
make: *** [all-recursive] Fehler 1

Thanks for help.
Markus

Discussion

  • Stephane Loeuillet

    Logged In: YES
    user_id=95082

    i'd say that libfame 0.9.1 was generated with a too old
    toolchain, devs need more modern autoconf/automake/libtool

    to have libfame to compile for amd64 under gentoo, they did
    2 things :

    \# Do not add -march=i586, bug \#41770.
    sed -i -e 's:-march=i\[345\]86 ::g' configure
    
    \# This is needed for alpha and probably other newer arches
    

    (amd64)
    # (13 Jan 2004 agriffis)
    gnuconfig_update

    it is for 0.9.0, 0.9.1 is not in gentoo but i suppose it
    should work the same

     
  • Nobody/Anonymous

    Logged In: NO

    I just got it to build on my SuSE 9.1 x86_64. If it will
    work, I will try to attach my patch and spec file.

     

Log in to post a comment.

MongoDB Logo MongoDB