[Compilation] problème d'architecture

bob031 Messages postés 8228 Statut Membre -  
dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour,

Matériel :
Mac OS X v10.4.8 / Processeur 2x2.66 Ghz Dual-Core Intel Xéon

J'essaie de compiler un programme : yuvmotionfps.tar.gz
(http://jcornet.free.fr/linux/yuvmotionfps_fr.html

et le prompt m'injurie en me disant :
Your does not even support "i386" for '-march' and '-mcpu'.

plus de détails :
Je lance simplement la commande
./configure

....blalabla
checking Architecture... IA32
checking if C compiler accepts inline MMX assembly... yes
checking sub-architecture settings... utils/cpuinfo.c: In function 'cpuid':
utils/cpuinfo.c:44: error: PIC register '%ebx' clobbered in 'asm'
utils/cpuinfo.c: In function 'main':
utils/cpuinfo.c:215: warning: incompatible implicit declaration of built-in function 'exit'
./cpuinfo.sh: line 1: ./cpuinfo: No such file or directory
./cpuinfo.sh: line 1: ./cpuinfo: No such file or directory
./cpuinfo.sh: line 1: ./cpuinfo: No such file or directory
./cpuinfo.sh: line 1: ./cpuinfo: No such file or directory
./cpuinfo.sh: line 1: ./cpuinfo: No such file or directory
./cpuinfo.sh: line 1: ./cpuinfo: No such file or directory
./cpuinfo.sh: line 1: ./cpuinfo: No such file or directory
Your does not even support "i386" for '-march' and '-mcpu'.
checking what warning flags to pass to the C compiler... -Wall -Wunused

configure: creating ./config.status
config.status: creating Makefile
config.status: creating yuvmotionfps/Makefile
config.status: creating utils/Makefile
config.status: creating utils/altivec/Makefile
config.status: creating utils/mmxsse/Makefile
config.status: creating config.h
config.status: executing mjpegtools-config.h commands
config.status: creating mjpegtools-config.h (prefix MJPEGTOOLS for config.h)
config.status: executing depfiles commands
configure:
configure: MJPEG tools 1.7.0 build configuration :
configure:
configure: - X86 Optimizations:
configure: - MMX/3DNow!/SSE enabled : true
configure: - arch/cpu compiler flags : Your does not even support "i386" for '-march' and '-mcpu'.
configure: - video4linux recording/playback: false
configure: - software MJPEG playback : false
configure: - MPEG Z/Alpha : false
configure: - Quicktime playback/recording : false
configure: - PNG input support : true
configure: - AVI MJPEG playback/recording : true (always)
configure: - libDV (digital video) support : true
configure: - Gtk+ support for glav : false
configure:

je suppose que j'ai un problème d' incompatibilité d'architecture !
Comment compiler mon programme en spécifiant l'architecture ? (je sais pas faire ......:-(

D'avance merci !
Configuration: Mac OS X v10.4.8
Processeur 2x2.66 Ghz Dual-Core Intel Xéon

Firefox 2.0.0.3

4 réponses

  1. dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   5 659
     
    Peut être une option de configure. Que dit ./configure -h ou ./configure -help ?
    0
    1. bob031 Messages postés 8228 Statut Membre 473
       
      merci pour ta réponse !

      voici la commande :

      ordinateur-de-inserm-857:~/Desktop/toto/Tarball/yuvmotionfps-1.6 inserm857$
      ./configure --help

      `configure' configures mjpegtools 1.7.0 to adapt to many kinds of systems.

      Usage: ./configure [OPTION]... [VAR=VALUE]...

      To assign environment variables (e.g., CC, CFLAGS...), specify them as
      VAR=VALUE. See below for descriptions of some of the useful variables.

      Defaults for the options are specified in brackets.

      Configuration:
      -h, --help display this help and exit
      --help=short display options specific to this package
      --help=recursive display the short help of all the included packages
      -V, --version display version information and exit
      -q, --quiet, --silent do not print `checking...' messages
      --cache-file=FILE cache test results in FILE [disabled]
      -C, --config-cache alias for `--cache-file=config.cache'
      -n, --no-create do not create output files
      --srcdir=DIR find the sources in DIR [configure dir or `..']

      Installation directories:
      --prefix=PREFIX install architecture-independent files in PREFIX
      [/usr/local]
      --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
      [PREFIX]

      By default, `make install' will install all the files in
      `/usr/local/bin', `/usr/local/lib' etc. You can specify
      an installation prefix other than `/usr/local' using `--prefix',
      for instance `--prefix=$HOME'.

      For better control, use the options below.

      Fine tuning of the installation directories:
      --bindir=DIR user executables [EPREFIX/bin]
      --sbindir=DIR system admin executables [EPREFIX/sbin]
      --libexecdir=DIR program executables [EPREFIX/libexec]
      --datadir=DIR read-only architecture-independent data [PREFIX/share]
      --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
      --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
      --localstatedir=DIR modifiable single-machine data [PREFIX/var]
      --libdir=DIR object code libraries [EPREFIX/lib]
      --includedir=DIR C header files [PREFIX/include]
      --oldincludedir=DIR C header files for non-gcc [/usr/include]
      --infodir=DIR info documentation [PREFIX/info]
      --mandir=DIR man documentation [PREFIX/man]

      Program names:
      --program-prefix=PREFIX prepend PREFIX to installed program names
      --program-suffix=SUFFIX append SUFFIX to installed program names
      --program-transform-name=PROGRAM run sed PROGRAM on installed program names

      X features:
      --x-includes=DIR X include files are in DIR
      --x-libraries=DIR X library files are in DIR

      System types:
      --build=BUILD configure for building on BUILD [guessed]
      --host=HOST cross-compile to build programs to run on HOST [BUILD]
      --target=TARGET configure for building compilers for TARGET [HOST]

      Optional Features:
      --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
      --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
      --enable-maintainer-mode enable make rules and dependencies not useful
      (and sometimes confusing) to the casual installer
      --enable-compile-warnings
      Turn on compiler warnings.
      --enable-warnings_as_errors
      Compiler warnings are errors.
      --enable-simd-accel use SIMD multimedia instructions (MMX, AltiVec,
      etc.) if possible
      --enable-zalpha include MPEG Z/Alpha support in mplex (see
      http://www.geofront.se/products_software_mza.php)
      --enable-shared[=PKGS]
      build shared libraries [default=yes]
      --enable-static[=PKGS]
      build static libraries [default=yes]
      --enable-fast-install[=PKGS]
      optimize for fast installation [default=yes]
      --disable-dependency-tracking Speeds up one-time builds
      --enable-dependency-tracking Do not reject slow dependency extractors
      --disable-libtool-lock avoid locking (might break parallel builds)
      --disable-largefile omit support for large files
      --disable-sdltest Do not try to compile and run a test SDL program
      --disable-assert Disable assertions (compile with NDEBUG).

      Optional Packages:
      --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
      --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
      --with-extra-cflags=flags
      Options to be added to CFLAGS (optional)
      --without-libquicktime Do not use libquicktime.
      --without-libdv Do not use libdv.
      --without-libpng Do not use libpng.
      --with-jpeg-mmx=PFX Prefix where jpeg-mmx is installed (optional).
      --with-gnu-ld assume the C compiler uses GNU ld [default=no]
      --with-pic try to use only PIC/non-PIC objects [default=use
      both]
      --with-tags[=TAGS]
      include additional configurations [automatic]
      --with-x use the X Window System
      --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
      --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)

      Some influential environment variables:
      CC C compiler command
      CFLAGS C compiler flags
      LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
      nonstandard directory <lib dir>
      CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
      headers in a nonstandard directory <include dir>
      CPP C preprocessor
      CXX C++ compiler command
      CXXFLAGS C++ compiler flags
      CXXCPP C++ preprocessor
      F77 Fortran 77 compiler command
      FFLAGS Fortran 77 compiler flags

      Use these variables to override the choices made by `configure' or to help
      it to find libraries and programs with nonstandard names/locations.

      Report bugs to <mjpeg-developer@lists.sourceforge.net>.
      ordinateur-de-inserm-857:~/Desktop/toto/Tarball/yuvmotionfps-1.6 inserm857$

      en fait je ne sais pas comment indiquer les options pour que ça compile !

      Merci.
      0
  2. dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   5 659
     
    Quelle la version du compilateur ?
    cc -v ou gcc -v
    0
    1. bob031 Messages postés 8228 Statut Membre 473
       
      ordinateur-de-inserm-857:~ inserm857$
      gcc -v

      Using built-in specs.
      Target: i686-apple-darwin8
      Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
      Thread model: posix
      gcc version 4.0.1 (Apple Computer, Inc. build 5367)
      ordinateur-de-inserm-857:~ inserm857$


      par defaut je suis en gcc version 4.0.1

      ordinateur-de-inserm-857:/usr/bin inserm857$ l
      s -la gcc*

      lrwxr-xr-x 1 root wheel 7 May 11 12:54 gcc -> gcc-4.0
      -r-xr-xr-x 1 root wheel 260616 Sep 11 2006 gcc-3.3
      -rwxr-xr-x 1 root wheel 80168 Sep 27 2006 gcc-4.0



      j'ai testé avec gcc version 3.3 -> résultat identique

      j'ai testé plein de choses comme :
      Building Universal Binaries from "configure"-based Open Source Projects
      (https://developer.apple.com/library/archive/navigation/topic_details/resourceType_2.html

      -> j'obtiens pas mieux !

      En fait j'y comprend pas grand chose ! (...... et en plus sur un Mac)

      merci.
      0
  3. dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   5 659
     
    L'erreur error: PIC register '%ebx' clobbered in 'asm' serait liée à la version du compilateur.
    Un site suggère gcc 3.3, comment as tu essayé ?
    CC=/usr/bin/gcc-3.3 ; export CC
    ./configure

    que dit la commande cat /proc/cpuinfo ?
    0
    1. bob031 Messages postés 8228 Statut Membre 473
       
      j'ai fait ceci :

      ordinateur-de-inserm-857:/Users/inserm857/Desktop/toto/Tarball/yuvmotionfps-1.6 root#
      gcc_select 3.3

      Default compiler has been set to:
      gcc version 3.3 20030304 (Apple Computer, Inc. build 1819)
      ordinateur-de-inserm-857:/Users/inserm857/Desktop/toto/Tarball/yuvmotionfps-1.6 root#
       ./configure

      hecking build system type... i386-apple-darwin8.8.4
      checking host system type... i386-apple-darwin8.8.4
      checking target system type... i386-apple-darwin8.8.4
      checking for a BSD-compatible install... /usr/local/Trolltech/qt-mac-free-3.3.6/install -c
      checking whether build environment is sane... yes
      checking for gawk... no
      checking for mawk... no
      checking for nawk... no
      checking for awk... awk
      checking whether make sets $(MAKE)... yes
      checking whether to enable maintainer-specific portions of Makefiles... no
      checking for style of include used by make... GNU
      checking for gcc... gcc
      checking for C compiler default output file name... configure: error: C compiler cannot create executables
      See `config.log' for more details.
      ordinateur-de-inserm-857:/Users/inserm857/Desktop/toto/Tarball/yuvmotionfps-1.6 root#

      Il y a vraiment quelque chose que je ne comprend pas !
      Ma machine semble gérer du 32 et du 64 bits. Jusqu'à présent je n'ai pas eu trop de difficulté à compiler des programmes.
      Je me demande alors si.............peut-être que, tout simplement, ce que j'essaie d'installer ne peut pas s'installer sur ma machine ?

      Encore merci pour ton aide !
      En fait il faudrait que je trouve de la doc (pas trop compliqué pour un amateur que je suis) sur l'art et la manière d'ajouter des options dans une compilation (avec des exemples pour mieux comprendre).
      Par ce que le ./configure --help et la doc d'Apple ne m'aide pas vraiment !

      :-))
      0
    2. bob031 Messages postés 8228 Statut Membre 473
       
      désolé j'ai pas répondu à la dernière question :

      cat /proc/cpuinfo ne donne rien !

      par contre j'ai bien un fichier cpuinfo.sh dans le dossier yuvmotion (le programme que j'essaie d'installer)


      ordinateur-de-inserm-857:/Users/inserm857/Desktop/toto/Tarball/yuvmotionfps-1.6 root#
      cat cpuinfo.sh

      #!/bin/sh

      if test x"$CC" = x; then
      CC=gcc
      fi

      if test $# -ne 1; then
      echo "Please give the arch (ppc or x86) as an argument!" 1>&2
      exit 1
      fi

      if test `uname -s` = Darwin; then
      IsDarwin=yes
      else
      IsDarwin=no
      fi

      target=$1

      cc_version=`$CC -dumpversion`
      _cc_major=`echo $cc_version | cut -d'.' -f1`
      _cc_minor=`echo $cc_version | cut -d'.' -f2`

      do_cc()
      {
      $CC -o conftest conftest.c $@ >/dev/null 2>&1
      }

      extcheck()
      {
      cat > conftest.c <<EOF
      #include <signal.h>
      void catch() { exit(1); }
      int main(void){
      signal(SIGILL, catch);
      __asm__ __volatile__ ("$1":::"memory");
      exit(0);
      }
      EOF

      do_cc
      if test -x ./conftest; then
      ./conftest
      if test $? -ne 0; then
      return 1
      fi
      return 0
      else
      return 1
      fi
      }

      do_x86()
      {
      if test -r /proc/cpuinfo; then
      _cpuinfo="cat /proc/cpuinfo"
      else
      $CC -o cpuinfo utils/cpuinfo.c
      _cpuinfo="./cpuinfo"
      fi

      # Cpu determination logic adapted from the MPlayer configure script.

      pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -1`
      pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d':' -f2 | cut -d' ' -f2 | head -1`
      pfamily=`$_cpuinfo | grep 'cpu family' | cut -d':' -f2 | cut -d' ' -f2 | head -1`
      pmodel=`$_cpuinfo | grep -v 'model name' | grep 'model' | cut -d':' -f2 | cut -d' ' -f2 | head -1`
      pstep=`$_cpuinfo | grep 'stepping' | cut -d':' -f2 | cut -d' ' -f2 | head -1`
      pparam=`$_cpuinfo | grep 'features' | cut -d':' -f2 | head -1`

      if test -z "$pparam" ; then
      pparam=`$_cpuinfo | grep 'flags' | cut -d ':' -f 2 | head -1`
      fi

      _mmx=no
      _3dnow=no
      _3dnowex=no
      _mmx2=no
      _sse=no
      _sse2=no
      _mtrr=no

      for i in $pparam ; do
      case "$i" in
      3dnow) _3dnow=yes ;;
      3dnowext) _3dnow=yes _3dnowex=yes ;;
      mmx) _mmx=yes ;;
      mmxext) _mmx2=yes ;;
      mtrr|k6_mtrr|cyrix_arr) _mtrr=yes ;;
      xmm|sse|kni) _sse=yes _mmx2=yes ;;
      sse2) _sse2=yes ;;
      esac
      done

      case "$pvendor" in
      AuthenticAMD)
      case "$pfamily" in
      3)proc=i386
      ;;
      4) proc=i486
      ;;
      5) iproc=586
      # models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3
      # K6 model 13 are the K6-2+ and K6-III+
      if test "$pmodel" -eq 9 -o "$pmodel" -eq 13; then
      proc=k6-3
      elif test "$pmodel" -ge 8; then
      proc=k6-2
      elif test "$pmodel" -ge 6; then
      proc=k6
      else
      proc=i586
      fi
      ;;
      6) iproc=686
      if test "$pmodel" -ge 7; then
      proc=athlon-4
      elif test "$pmodel" -ge 6; then
      if test "$_sse" = yes && test "$pstep" -ge 2; then
      proc=athlon-xp
      else
      proc=athlon-4
      fi
      elif test "$pmodel" -ge 4; then
      proc=athlon-tbird
      else
      proc=athlon
      fi
      ;;
      15)
      # Despite what the gcc into says 'athlon64' is not accepted as
      # synonym for 'k8'
      proc=k8
      ;;
      *) proc=athlon-xp
      ;;
      esac
      ;;
      GenuineIntel)
      case "$pfamily" in
      3) proc=i386
      ;;
      4) proc=i486
      ;;
      5) iproc=586
      if test "$pmodel" -eq 4 || test "$pmodel" -eq 8; then
      proc=pentium-mmx # 4 is desktop, 8 is mobile
      else
      proc=i586
      fi
      ;;
      6) iproc=686
      if test "$pmodel" -ge 7; then
      proc=pentium3
      elif test "$pmodel" -ge 3; then
      proc=pentium2
      else
      proc=i686
      fi
      ;;
      15) proc=pentium4
      ;;
      *) proc=pentium4
      ;;
      esac
      ;;
      unknown)
      case "$pfamily" in
      3) proc=i386
      ;;
      4) proc=i486
      ;;
      *) proc=i586
      ;;
      esac
      ;;
      *)
      proc=i586
      ;;
      esac

      # check that gcc supports our CPU, if not, fall back to earlier ones

      cat > conftest.c << EOF
      int main(void) { return 0; }
      EOF
      if test "$proc" = "athlon64" ; then
      do_cc -march=$proc -mcpu=$proc || proc=athlon-xp
      fi

      if test "$proc" = "athlon-xp" || test "$proc" = "athlon-4" || test "$proc" = "athlon-tbird"; then
      do_cc -march=$proc -mcpu=$proc || proc=athlon
      fi

      if test "$proc" = "k6-3" || test "$proc" = "k6-2"; then
      do_cc -march=$proc -mcpu=$proc || proc=k6
      fi

      if test "$proc" = "k6"; then
      do_cc -march=$proc -mcpu=$proc
      if test $? -ne 0; then
      if do_cc -march=i586 -mcpu=i686; then
      proc=i586-i686
      else
      proc=i586
      fi
      fi
      fi

      if test "$proc" = "pentium4" || test "$proc" = "pentium3" || test "$proc" = "pentium2" || test "$proc" = "athlon"; then
      do_cc -march=$proc -mcpu=$proc || proc=i686
      fi
      if test "$proc" = "i686" || test "$proc" = "pentium-mmx"; then
      do_cc -march=$proc -mcpu=$proc || proc=i586
      fi
      if test "$proc" = "i586" ; then
      do_cc -march=$proc -mcpu=$proc || proc=i486
      fi
      if test "$proc" = "i486" ; then
      do_cc -march=$proc -mcpu=$proc || proc=i386
      fi
      if test "$proc" = "i386" ; then
      do_cc -march=$proc -mcpu=$proc || proc=error
      fi
      if test "$proc" = "error" ; then
      echo "Your $_cc does not even support \"i386\" for '-march' and '-mcpu'."
      _mcpu=""
      _march=""
      elif test "$proc" = "i586-i686"; then
      _march="-march=i586"
      _mcpu="-mcpu=i686"
      else
      _march="-march=$proc"
      _mcpu="-mcpu=$proc"
      fi

      if test $_cc_major -ge 3; then
      extcheck "xorps %%xmm0, %%xmm0" || _gcc3_ext="$_gcc3_ext -mno-sse"
      extcheck "xorpd %%xmm0, %%xmm0" || _gcc3_ext="$_gcc3_ext -mno-sse2"

      if test x"$_gcc3_ext" != "x"; then
      # if we had to disable sse/sse2 because the active kernel does not
      # support this instruction set extension, we also have to tell
      # gcc3 to not generate sse/sse2 instructions for normal C code
      cat > conftest.c << EOF
      int main(void) { return 0; }
      EOF
      do_cc $_march $_gcc3_ext && _march="$_march $_gcc3_ext"
      fi
      fi

      echo $_march $_mcpu
      rm -f conftest.c conftest cpuinfo
      return 0
      }

      do_ppc()
      {
      # Linux on a PPC has /proc/info
      # Darwin (OS/X) has the hostinfo command
      # If neither of those we have no idea what to do - so do nothing.
      if test -r /proc/cpuinfo; then
      proc=`grep cpu /proc/cpuinfo | cut -d':' -f2 | cut -d',' -f1 | cut -b 2- | head -1`
      elif test $IsDarwin = yes; then
      proc=`hostinfo | grep "Processor type" | cut -f3 -d' ' | sed 's/ppc//'`
      else
      return 0
      fi

      case "$proc" in
      601) _march='-mcpu=601' _mcpu='-mtune=601'
      ;;
      603) _march='-mcpu=603' _mcpu='-mtune=603'
      ;;
      603e|603ev) _march='-mcpu=603e' _mcpu='-mtune=603e'
      ;;
      604|604e|604r|604ev) _march='-mcpu=604' _mcpu='-mtune=604'
      ;;
      740|740/750|745/755) _march='-mcpu=740' _mcpu='-mtune=740'
      ;;
      750|750CX) _march='-mcpu=750' _mcpu='-mtune=750'
      ;;
      *) ;;
      esac

      # gcc 3.1(.1) and up supports 7400 and 7450
      if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "1"; then
      case "$proc" in
      7400*|7410*) _march='-mcpu=7400' _mcpu='-mtune=7400' ;;
      7450*|7455*) _march='-mcpu=7450' _mcpu='-mtune=7450' ;;
      *) ;;
      esac
      fi

      # gcc 3.2 and up supports 970
      if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3"; then
      case "$proc" in
      970*) if test $IsDarwin = yes; then
      _march='-mcpu=G5 -force_cpusubtype_ALL' _mcpu='-mtune=G5'
      else
      _march='-mcpu=970' _mcpu='-mtune=970'
      fi
      ;;
      *) ;;
      esac
      fi

      echo $_march $_mcpu
      return 0
      }

      #
      # The script that runs the various functions above
      #

      if test $target = x86; then
      do_x86
      elif test $target = ppc; then
      do_ppc
      fi
      ordinateur-de-inserm-857:/Users/inserm857/Desktop/toto/Tarball/yuvmotionfps-1.6 root#
      0
  4. dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   5 659
     
    do_x86()
    {
    if test -r /proc/cpuinfo; then
    _cpuinfo="cat /proc/cpuinfo"
    else
    $CC -o cpuinfo utils/cpuinfo.c
    _cpuinfo="./cpuinfo"
    fi

    puisque /proc/cpuinfo n'existe pas ,il compile utils/cpuinfo.c et c'est là que se produit l'erreur : utils/cpuinfo.c:44: error: PIC register '%ebx' clobbered in 'asm'
    il faudrait, pour essayer, mettre ce bout de code en commentaires et compiler utils/cpuinfo.c tout seul

    essayer de compiler avec l'option gcc -fPIC
    CCFLAGS=-fPIC ; export CCFLAGS
    0
    1. bob031 Messages postés 8228 Statut Membre 473
       
      Un grand merci pour ton aide et ......la leçon ! :-))
      Vu comme cela c'est clair et limpide !
      Le travail que je réalisais s'est terminé cet après-midi (j'aurai souhaité tester ce logiciel avant de partir).
      Néanmoins je tiens à tester tes suggestions (je pense repasser dans quelques jours) .......rien de plus irritant que de ne pas arriver à ce qu'on veut ! :-))

      Encore merci !

      :-))

      Mandriva 2007
      0
    2. dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   5 659
       
      Il faut résister !
      le problème c'est utils/cpuinfo.c qui essaie de determiner le type de processeur
      - essayer de le compiler seul:
      gcc -fPIC -o cpuinfo utils/cpuinfo.c

      - commenter toute les lignes qui contiennt ebx

      - trouver une machine Linux avec le même processeur et afficher cat /proc/cpuinfo
      0
    3. bob031 Messages postés 8228 Statut Membre 473 > dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention  
       
      Ok ! Merci !
      Je testerai ça dès que je retourne devant "ce Mac".
      Chez moi j'ai une Mandriva ......mais pas le même processeur ...dommage pour moi ! :-)
      Tes explications me semblent très logiques, et je pense que ça devrait marcher !
      Bien sûr, je répondrai à ce post, problème résolu ou pas .......il n'y a pas de raison que tu donnes de ton temps sans te répondre.

      Au pire j'informerai le concepteur du programme que j'ai des soucis d'installation sur un Mac Intel (mais avant j'essairai par moi même)

      Celui qui résiste !
      :-))
      0
    4. dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention   5 659 > dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention  
       
      En cherchant cat /proc/cpuinfo dans google on trouve des exemples, pourquoi pas en copier 1 juste pour essayer
      https://mactel-linux.org/

      on touve une alternative pour MacOS:
      Under Linux with "cat /proc/cpuinfo"
      Under Mac OS X wth "sysctl -a machdep.cpu" and "sysctl -a hw"

      https://news.hitb.org/node/18755
      0
    5. bob031 Messages postés 8228 Statut Membre 473 > dubcek Messages postés 18627 Date d'inscription   Statut Contributeur Dernière intervention  
       
      Merci pour les infos !
      effectivement l'idée de copier un fichier cpuinfo est une excellente idée.
      Et dire que je bossais également avec 4 mac mini (pourqui n'y ai-je pas pensé plus tôt ...grrrr !). Je testerai l'installation sur un mac mini (en parallèle pour voir)
      A tester en premier donc ! :-)
      Merci également pour les commandes permettant d'obtenir des infos CPU sous Mac (j'avoue que je savais pas !).

      Je te tiens informer dès que je repasse à mon ancien boulot ! :-))
      0