help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] GLPK-4.49 Mac OS X (10.8.3) compiling problem (i.e. make


From: Noli Sicad
Subject: Re: [Help-glpk] GLPK-4.49 Mac OS X (10.8.3) compiling problem (i.e. make)
Date: Thu, 2 May 2013 20:55:00 +1000

Hi Andrew,

Thanks for the hint.

./configure CFLAGS="-arch x86_64" --with-gmp --enable-dl --enable-odbc

The above works.

~~~~
  /bin/sh ../libtool   --mode=install /usr/bin/install -c glpsol
'/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/glpsol /usr/local/bin/glpsol
make[2]: Nothing to be done for `install-data-am'.
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Nolis-MacBook-Pro:glpk-4.49 nsicad$ glpsol
GLPSOL: GLPK LP/MIP Solver, v4.49
No input problem file specified; try glpsol --help
Nolis-MacBook-Pro:glpk-4.49 nsicad$ glpsol --help
Usage: glpsol [options...] filename

General options:
   --mps             read LP/MIP problem in fixed MPS format

~~~~~~~~~~~~

It is working now.

Thanks again.

Regards, Noli


On 5/2/13, Andrew Makhorin <address@hidden> wrote:
>> I got this problem below.
>>
>> How do I solve this?
>
> Looks like you attempt to cross-compile, however, the assembler is not
> configured properly.  This error is not related to glpk neither to make.
>
>
>>
>> Thanks, Noli
>> ~~~~~~
>>
>>  ./configure CFLAGS="-arch x86_64  -march=native -O3" --with-gmp
>> --enable-dl --enable-odbc --enable-mysql
>> .
>> .
>> .
>> checking for gmp.h... yes
>> checking whether to use GNU MP bignum library... yes
>> checking whether to enable shared library support... ltdl
>> checking whether to enable MathProg ODBC support... yes
>> checking whether to enable MathProg MySQL support... yes
>> checking that generated files are newer than configure... done
>> configure: creating ./config.status
>> config.status: creating src/Makefile
>> config.status: creating examples/Makefile
>> config.status: creating Makefile
>> config.status: creating config.h
>> config.status: config.h is unchanged
>> config.status: executing depfiles commands
>> config.status: executing libtool commands
>> Nolis-MacBook-Pro:glpk-4.49 nsicad$
>>
>> Nolis-MacBook-Pro:glpk-4.49 nsicad$ make
>> make  all-recursive
>> Making all in src
>> /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>> -I..   -I/usr/include/mysql   -arch x86_64  -march=native -O3 -MT
>> glpapi01.lo -MD -MP -MF .deps/glpapi01.Tpo -c -o glpapi01.lo
>> glpapi01.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/mysql
>> -arch x86_64 -march=native -O3 -MT glpapi01.lo -MD -MP -MF
>> .deps/glpapi01.Tpo -c glpapi01.c  -fno-common -DPIC -o
>> .libs/glpapi01.o
>> In file included from glpdmp.h:28:0,
>>                  from glpavl.h:28,
>>                  from glpapi.h:29,
>>                  from glpios.h:28,
>>                  from glpapi01.c:25:
>> glpenv.h:59:0: warning: "SIZE_T_MAX" redefined [enabled by default]
>> In file included from /usr/include/machine/limits.h:6:0,
>>                  from /usr/include/limits.h:64,
>>                  from
>> /usr/local/Cellar/gcc/4.7.0/gcc/lib/gcc/x86_64-apple-darwin12.0.0/4.7.0/include-fixed/limits.h:169,
>>                  from
>> /usr/local/Cellar/gcc/4.7.0/gcc/lib/gcc/x86_64-apple-darwin12.0.0/4.7.0/include-fixed/syslimits.h:7,
>>                  from
>> /usr/local/Cellar/gcc/4.7.0/gcc/lib/gcc/x86_64-apple-darwin12.0.0/4.7.0/include-fixed/limits.h:34,
>>                  from glpstd.h:31,
>>                  from glpenv.h:28,
>>                  from glpdmp.h:28,
>>                  from glpavl.h:28,
>>                  from glpapi.h:29,
>>                  from glpios.h:28,
>>                  from glpapi01.c:25:
>> /usr/include/i386/limits.h:98:0: note: this is the location of the
>> previous definition
>> /var/folders/fx/vhfzfjq950d9d95k_xlxyft80000gn/T//cceWSF21.s:39:no
>> such instruction: `vxorpd %xmm0, %xmm0,%xmm0'
>> /var/folders/fx/vhfzfjq950d9d95k_xlxyft80000gn/T//cceWSF21.s:48:no
>> such instruction: `vmovsd %xmm0, 56(%rbx)'
>
>> make[2]: *** [glpapi01.lo] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> Nolis-MacBook-Pro:glpk-4.49 nsicad$
>>
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]