Closed ghost closed 10 years ago
Are you using make
or are you running mex
manually? (#11 seems to imply the latter.)
P.S. A reason for that is because I usually have a number of OSes open so I don't like to change my approach every time I'm on a different os.
On 11/02/2014 20:42, Steven G. Johnson wrote:
Are you using |make| or are you running |mex| manually? (#11 https://github.com/stevengj/nlopt/issues/11 seems to imply the latter.)
— Reply to this email directly or view it on GitHub https://github.com/stevengj/nlopt/issues/10#issuecomment-34803757.
yes, I'm using it manually - I usually make my own makefiles in matlab lang when it comes to matlab.. old habit I guess.
On 11/02/2014 20:42, Steven G. Johnson wrote:
Are you using |make| or are you running |mex| manually? (#11 https://github.com/stevengj/nlopt/issues/11 seems to imply the latter.)
— Reply to this email directly or view it on GitHub https://github.com/stevengj/nlopt/issues/10#issuecomment-34803757.
That's fine, but I just want to check whether it has the same problem if you use the built-in Makefile (just in case you are missing a -I
flag or something). Can you try that?
i.e. try building with ./configure --enable-shared && make
. If mex
is not in your shell PATH
, then you can specify the mex
location manually by passing MEX=/path/to/mex
as an argument to ./configure
.
Okay did that! Now I remember what was the problem with the makefile. In mac I have latex installed, and there exists already an executable in path with the name: mex. That's from pdflatex (TeX Live 2013 distribution). Of course since mex is not the right mex it can't produce a mex file thus this part of the configuration fails.
Attached is the output of ./configure --enable-shared
Otherwise the compilation goes on just fine (attached is also the make output) - except of course the matlab plugin isn't built.
On 11/02/2014 21:32, Steven G. Johnson wrote:
That's fine, but I just want to check whether it has the same problem if you use the built-in Makefile (just in case you are missing a |-I| flag or something). Can you try that?
i.e. try building with |./configure --enable-shared && make|. If |mex| is not in your shell |PATH|, then you can specify the |mex| location manually by passing |MEX=/path/to/mex| as an argument to |./configure|.
— Reply to this email directly or view it on GitHub https://github.com/stevengj/nlopt/issues/10#issuecomment-34809839.
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-apple-darwin13.0.0 checking host system type... x86_64-apple-darwin13.0.0 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-apple-darwin13.0.0 file names to x86_64-apple-darwin13.0.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin13.0.0 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from gcc -std=gnu99 object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -std=gnu99 -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fno-common -DPIC checking if gcc -std=gnu99 PIC flag -fno-common -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... no checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.0.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.0.0 dyld checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for unistd.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for stdint.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for C thread-local keyword... __thread checking size of unsigned int... 4 checking size of unsigned long... 8 checking for uint32_t... yes checking for sin in -lm... yes checking for BSDgettimeofday... no checking for gettimeofday... yes checking for time... yes checking for qsort_r... yes checking for getpid... yes checking for gettid syscall... yes checking for isnan... yes checking for isinf... yes checking for copysign... yes checking for guile-config... unknown checking for guile... unknown checking for python... /Applications/VAPOR/VAPOR.app/Contents/MacOS/python checking for python version... 2.7 checking for python platform... darwin checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for python2.7-config... /usr/bin/python2.7-config checking for Python include flags... -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for Numpy include directory... /Applications/VAPOR/VAPOR.app/Contents/MacOS/lib/python2.7/site-packages/numpy/core/include checking for numpy/arrayobject.h... yes checking for mkoctfile... no checking for mex... mex checking for extension of compiled mex files... checking for working HUGE_VAL... ok checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating nlopt.pc config.status: creating api/Makefile config.status: creating util/Makefile config.status: creating octave/Makefile config.status: creating direct/Makefile config.status: creating cdirect/Makefile config.status: creating stogo/Makefile config.status: creating praxis/Makefile config.status: creating luksan/Makefile config.status: creating crs/Makefile config.status: creating mlsl/Makefile config.status: creating mma/Makefile config.status: creating cobyla/Makefile config.status: creating newuoa/Makefile config.status: creating neldermead/Makefile config.status: creating auglag/Makefile config.status: creating bobyqa/Makefile config.status: creating isres/Makefile config.status: creating slsqp/Makefile config.status: creating esch/Makefile config.status: creating test/Makefile config.status: creating swig/Makefile config.status: creating swig/nlopt.scm config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in util
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT mt19937ar.lo -MD -MP -MF .deps/mt19937ar.Tpo -c -o mt19937ar.lo mt19937ar.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT mt19937ar.lo -MD -MP -MF .deps/mt19937ar.Tpo -c mt19937ar.c -fno-common -DPIC -o .libs/mt19937ar.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT mt19937ar.lo -MD -MP -MF .deps/mt19937ar.Tpo -c mt19937ar.c -o mt19937ar.o >/dev/null 2>&1
mv -f .deps/mt19937ar.Tpo .deps/mt19937ar.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT sobolseq.lo -MD -MP -MF .deps/sobolseq.Tpo -c -o sobolseq.lo sobolseq.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT sobolseq.lo -MD -MP -MF .deps/sobolseq.Tpo -c sobolseq.c -fno-common -DPIC -o .libs/sobolseq.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT sobolseq.lo -MD -MP -MF .deps/sobolseq.Tpo -c sobolseq.c -o sobolseq.o >/dev/null 2>&1
mv -f .deps/sobolseq.Tpo .deps/sobolseq.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c -o timer.lo timer.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c timer.c -fno-common -DPIC -o .libs/timer.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c timer.c -o timer.o >/dev/null 2>&1
mv -f .deps/timer.Tpo .deps/timer.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT stop.lo -MD -MP -MF .deps/stop.Tpo -c -o stop.lo stop.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT stop.lo -MD -MP -MF .deps/stop.Tpo -c stop.c -fno-common -DPIC -o .libs/stop.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT stop.lo -MD -MP -MF .deps/stop.Tpo -c stop.c -o stop.o >/dev/null 2>&1
mv -f .deps/stop.Tpo .deps/stop.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT redblack.lo -MD -MP -MF .deps/redblack.Tpo -c -o redblack.lo redblack.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT redblack.lo -MD -MP -MF .deps/redblack.Tpo -c redblack.c -fno-common -DPIC -o .libs/redblack.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT redblack.lo -MD -MP -MF .deps/redblack.Tpo -c redblack.c -o redblack.o >/dev/null 2>&1
mv -f .deps/redblack.Tpo .deps/redblack.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT qsort_r.lo -MD -MP -MF .deps/qsort_r.Tpo -c -o qsort_r.lo qsort_r.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT qsort_r.lo -MD -MP -MF .deps/qsort_r.Tpo -c qsort_r.c -fno-common -DPIC -o .libs/qsort_r.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT qsort_r.lo -MD -MP -MF .deps/qsort_r.Tpo -c qsort_r.c -o qsort_r.o >/dev/null 2>&1
mv -f .deps/qsort_r.Tpo .deps/qsort_r.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT rescale.lo -MD -MP -MF .deps/rescale.Tpo -c -o rescale.lo rescale.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT rescale.lo -MD -MP -MF .deps/rescale.Tpo -c rescale.c -fno-common -DPIC -o .libs/rescale.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT rescale.lo -MD -MP -MF .deps/rescale.Tpo -c rescale.c -o rescale.o >/dev/null 2>&1
mv -f .deps/rescale.Tpo .deps/rescale.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libutil.la mt19937ar.lo sobolseq.lo timer.lo stop.lo redblack.lo qsort_r.lo rescale.lo -lm
libtool: link: ar cru .libs/libutil.a .libs/mt19937ar.o .libs/sobolseq.o .libs/timer.o .libs/stop.o .libs/redblack.o .libs/qsort_r.o .libs/rescale.o
libtool: link: ranlib .libs/libutil.a
libtool: link: ( cd ".libs" && rm -f "libutil.la" && ln -s "../libutil.la" "libutil.la" )
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT redblack_test.o -MD -MP -MF .deps/redblack_test.Tpo -c -o redblack_test.o redblack_test.c
mv -f .deps/redblack_test.Tpo .deps/redblack_test.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o redblack_test redblack_test.o libutil.la -lm
libtool: link: gcc -std=gnu99 -g -O2 -o redblack_test redblack_test.o ./.libs/libutil.a -lm
Making all in direct
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT DIRect.lo -MD -MP -MF .deps/DIRect.Tpo -c -o DIRect.lo DIRect.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT DIRect.lo -MD -MP -MF .deps/DIRect.Tpo -c DIRect.c -fno-common -DPIC -o .libs/DIRect.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT DIRect.lo -MD -MP -MF .deps/DIRect.Tpo -c DIRect.c -o DIRect.o >/dev/null 2>&1
mv -f .deps/DIRect.Tpo .deps/DIRect.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT direct_wrap.lo -MD -MP -MF .deps/direct_wrap.Tpo -c -o direct_wrap.lo direct_wrap.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT direct_wrap.lo -MD -MP -MF .deps/direct_wrap.Tpo -c direct_wrap.c -fno-common -DPIC -o .libs/direct_wrap.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT direct_wrap.lo -MD -MP -MF .deps/direct_wrap.Tpo -c direct_wrap.c -o direct_wrap.o >/dev/null 2>&1
mv -f .deps/direct_wrap.Tpo .deps/direct_wrap.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT DIRserial.lo -MD -MP -MF .deps/DIRserial.Tpo -c -o DIRserial.lo DIRserial.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT DIRserial.lo -MD -MP -MF .deps/DIRserial.Tpo -c DIRserial.c -fno-common -DPIC -o .libs/DIRserial.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT DIRserial.lo -MD -MP -MF .deps/DIRserial.Tpo -c DIRserial.c -o DIRserial.o >/dev/null 2>&1
mv -f .deps/DIRserial.Tpo .deps/DIRserial.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT DIRsubrout.lo -MD -MP -MF .deps/DIRsubrout.Tpo -c -o DIRsubrout.lo DIRsubrout.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT DIRsubrout.lo -MD -MP -MF .deps/DIRsubrout.Tpo -c DIRsubrout.c -fno-common -DPIC -o .libs/DIRsubrout.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT DIRsubrout.lo -MD -MP -MF .deps/DIRsubrout.Tpo -c DIRsubrout.c -o DIRsubrout.o >/dev/null 2>&1
mv -f .deps/DIRsubrout.Tpo .deps/DIRsubrout.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libdirect.la DIRect.lo direct_wrap.lo DIRserial.lo DIRsubrout.lo -lm
libtool: link: ar cru .libs/libdirect.a .libs/DIRect.o .libs/direct_wrap.o .libs/DIRserial.o .libs/DIRsubrout.o
libtool: link: ranlib .libs/libdirect.a
libtool: link: ( cd ".libs" && rm -f "libdirect.la" && ln -s "../libdirect.la" "libdirect.la" )
Making all in cdirect
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT cdirect.lo -MD -MP -MF .deps/cdirect.Tpo -c -o cdirect.lo cdirect.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT cdirect.lo -MD -MP -MF .deps/cdirect.Tpo -c cdirect.c -fno-common -DPIC -o .libs/cdirect.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT cdirect.lo -MD -MP -MF .deps/cdirect.Tpo -c cdirect.c -o cdirect.o >/dev/null 2>&1
mv -f .deps/cdirect.Tpo .deps/cdirect.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT hybrid.lo -MD -MP -MF .deps/hybrid.Tpo -c -o hybrid.lo hybrid.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT hybrid.lo -MD -MP -MF .deps/hybrid.Tpo -c hybrid.c -fno-common -DPIC -o .libs/hybrid.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT hybrid.lo -MD -MP -MF .deps/hybrid.Tpo -c hybrid.c -o hybrid.o >/dev/null 2>&1
mv -f .deps/hybrid.Tpo .deps/hybrid.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libcdirect.la cdirect.lo hybrid.lo -lm
libtool: link: ar cru .libs/libcdirect.a .libs/cdirect.o .libs/hybrid.o
libtool: link: ranlib .libs/libcdirect.a
libtool: link: ( cd ".libs" && rm -f "libcdirect.la" && ln -s "../libcdirect.la" "libcdirect.la" )
Making all in praxis
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT praxis.lo -MD -MP -MF .deps/praxis.Tpo -c -o praxis.lo praxis.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT praxis.lo -MD -MP -MF .deps/praxis.Tpo -c praxis.c -fno-common -DPIC -o .libs/praxis.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT praxis.lo -MD -MP -MF .deps/praxis.Tpo -c praxis.c -o praxis.o >/dev/null 2>&1
mv -f .deps/praxis.Tpo .deps/praxis.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libpraxis.la praxis.lo -lm
libtool: link: ar cru .libs/libpraxis.a .libs/praxis.o
libtool: link: ranlib .libs/libpraxis.a
libtool: link: ( cd ".libs" && rm -f "libpraxis.la" && ln -s "../libpraxis.la" "libpraxis.la" )
Making all in luksan
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT plis.lo -MD -MP -MF .deps/plis.Tpo -c -o plis.lo plis.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT plis.lo -MD -MP -MF .deps/plis.Tpo -c plis.c -fno-common -DPIC -o .libs/plis.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT plis.lo -MD -MP -MF .deps/plis.Tpo -c plis.c -o plis.o >/dev/null 2>&1
mv -f .deps/plis.Tpo .deps/plis.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT plip.lo -MD -MP -MF .deps/plip.Tpo -c -o plip.lo plip.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT plip.lo -MD -MP -MF .deps/plip.Tpo -c plip.c -fno-common -DPIC -o .libs/plip.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT plip.lo -MD -MP -MF .deps/plip.Tpo -c plip.c -o plip.o >/dev/null 2>&1
mv -f .deps/plip.Tpo .deps/plip.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT pnet.lo -MD -MP -MF .deps/pnet.Tpo -c -o pnet.lo pnet.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT pnet.lo -MD -MP -MF .deps/pnet.Tpo -c pnet.c -fno-common -DPIC -o .libs/pnet.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT pnet.lo -MD -MP -MF .deps/pnet.Tpo -c pnet.c -o pnet.o >/dev/null 2>&1
mv -f .deps/pnet.Tpo .deps/pnet.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT mssubs.lo -MD -MP -MF .deps/mssubs.Tpo -c -o mssubs.lo mssubs.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT mssubs.lo -MD -MP -MF .deps/mssubs.Tpo -c mssubs.c -fno-common -DPIC -o .libs/mssubs.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT mssubs.lo -MD -MP -MF .deps/mssubs.Tpo -c mssubs.c -o mssubs.o >/dev/null 2>&1
mv -f .deps/mssubs.Tpo .deps/mssubs.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT pssubs.lo -MD -MP -MF .deps/pssubs.Tpo -c -o pssubs.lo pssubs.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT pssubs.lo -MD -MP -MF .deps/pssubs.Tpo -c pssubs.c -fno-common -DPIC -o .libs/pssubs.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT pssubs.lo -MD -MP -MF .deps/pssubs.Tpo -c pssubs.c -o pssubs.o >/dev/null 2>&1
mv -f .deps/pssubs.Tpo .deps/pssubs.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libluksan.la plis.lo plip.lo pnet.lo mssubs.lo pssubs.lo -lm
libtool: link: ar cru .libs/libluksan.a .libs/plis.o .libs/plip.o .libs/pnet.o .libs/mssubs.o .libs/pssubs.o
libtool: link: ranlib .libs/libluksan.a
libtool: link: ( cd ".libs" && rm -f "libluksan.la" && ln -s "../libluksan.la" "libluksan.la" )
Making all in crs
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT crs.lo -MD -MP -MF .deps/crs.Tpo -c -o crs.lo crs.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT crs.lo -MD -MP -MF .deps/crs.Tpo -c crs.c -fno-common -DPIC -o .libs/crs.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT crs.lo -MD -MP -MF .deps/crs.Tpo -c crs.c -o crs.o >/dev/null 2>&1
mv -f .deps/crs.Tpo .deps/crs.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libcrs.la crs.lo -lm
libtool: link: ar cru .libs/libcrs.a .libs/crs.o
libtool: link: ranlib .libs/libcrs.a
libtool: link: ( cd ".libs" && rm -f "libcrs.la" && ln -s "../libcrs.la" "libcrs.la" )
Making all in mlsl
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT mlsl.lo -MD -MP -MF .deps/mlsl.Tpo -c -o mlsl.lo mlsl.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT mlsl.lo -MD -MP -MF .deps/mlsl.Tpo -c mlsl.c -fno-common -DPIC -o .libs/mlsl.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT mlsl.lo -MD -MP -MF .deps/mlsl.Tpo -c mlsl.c -o mlsl.o >/dev/null 2>&1
mv -f .deps/mlsl.Tpo .deps/mlsl.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libmlsl.la mlsl.lo -lm
libtool: link: ar cru .libs/libmlsl.a .libs/mlsl.o
libtool: link: ranlib .libs/libmlsl.a
libtool: link: ( cd ".libs" && rm -f "libmlsl.la" && ln -s "../libmlsl.la" "libmlsl.la" )
Making all in mma
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT mma.lo -MD -MP -MF .deps/mma.Tpo -c -o mma.lo mma.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT mma.lo -MD -MP -MF .deps/mma.Tpo -c mma.c -fno-common -DPIC -o .libs/mma.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT mma.lo -MD -MP -MF .deps/mma.Tpo -c mma.c -o mma.o >/dev/null 2>&1
mv -f .deps/mma.Tpo .deps/mma.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT ccsa_quadratic.lo -MD -MP -MF .deps/ccsa_quadratic.Tpo -c -o ccsa_quadratic.lo ccsa_quadratic.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT ccsa_quadratic.lo -MD -MP -MF .deps/ccsa_quadratic.Tpo -c ccsa_quadratic.c -fno-common -DPIC -o .libs/ccsa_quadratic.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT ccsa_quadratic.lo -MD -MP -MF .deps/ccsa_quadratic.Tpo -c ccsa_quadratic.c -o ccsa_quadratic.o >/dev/null 2>&1
mv -f .deps/ccsa_quadratic.Tpo .deps/ccsa_quadratic.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libmma.la mma.lo ccsa_quadratic.lo -lm
libtool: link: ar cru .libs/libmma.a .libs/mma.o .libs/ccsa_quadratic.o
libtool: link: ranlib .libs/libmma.a
libtool: link: ( cd ".libs" && rm -f "libmma.la" && ln -s "../libmma.la" "libmma.la" )
Making all in cobyla
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT cobyla.lo -MD -MP -MF .deps/cobyla.Tpo -c -o cobyla.lo cobyla.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT cobyla.lo -MD -MP -MF .deps/cobyla.Tpo -c cobyla.c -fno-common -DPIC -o .libs/cobyla.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT cobyla.lo -MD -MP -MF .deps/cobyla.Tpo -c cobyla.c -o cobyla.o >/dev/null 2>&1
mv -f .deps/cobyla.Tpo .deps/cobyla.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libcobyla.la cobyla.lo -lm
libtool: link: ar cru .libs/libcobyla.a .libs/cobyla.o
libtool: link: ranlib .libs/libcobyla.a
libtool: link: ( cd ".libs" && rm -f "libcobyla.la" && ln -s "../libcobyla.la" "libcobyla.la" )
Making all in newuoa
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT newuoa.lo -MD -MP -MF .deps/newuoa.Tpo -c -o newuoa.lo newuoa.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT newuoa.lo -MD -MP -MF .deps/newuoa.Tpo -c newuoa.c -fno-common -DPIC -o .libs/newuoa.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT newuoa.lo -MD -MP -MF .deps/newuoa.Tpo -c newuoa.c -o newuoa.o >/dev/null 2>&1
mv -f .deps/newuoa.Tpo .deps/newuoa.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libnewuoa.la newuoa.lo -lm
libtool: link: ar cru .libs/libnewuoa.a .libs/newuoa.o
libtool: link: ranlib .libs/libnewuoa.a
libtool: link: ( cd ".libs" && rm -f "libnewuoa.la" && ln -s "../libnewuoa.la" "libnewuoa.la" )
Making all in neldermead
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT nldrmd.lo -MD -MP -MF .deps/nldrmd.Tpo -c -o nldrmd.lo nldrmd.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT nldrmd.lo -MD -MP -MF .deps/nldrmd.Tpo -c nldrmd.c -fno-common -DPIC -o .libs/nldrmd.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT nldrmd.lo -MD -MP -MF .deps/nldrmd.Tpo -c nldrmd.c -o nldrmd.o >/dev/null 2>&1
mv -f .deps/nldrmd.Tpo .deps/nldrmd.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT sbplx.lo -MD -MP -MF .deps/sbplx.Tpo -c -o sbplx.lo sbplx.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT sbplx.lo -MD -MP -MF .deps/sbplx.Tpo -c sbplx.c -fno-common -DPIC -o .libs/sbplx.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT sbplx.lo -MD -MP -MF .deps/sbplx.Tpo -c sbplx.c -o sbplx.o >/dev/null 2>&1
mv -f .deps/sbplx.Tpo .deps/sbplx.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libneldermead.la nldrmd.lo sbplx.lo -lm
libtool: link: ar cru .libs/libneldermead.a .libs/nldrmd.o .libs/sbplx.o
libtool: link: ranlib .libs/libneldermead.a
libtool: link: ( cd ".libs" && rm -f "libneldermead.la" && ln -s "../libneldermead.la" "libneldermead.la" )
Making all in auglag
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT auglag.lo -MD -MP -MF .deps/auglag.Tpo -c -o auglag.lo auglag.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT auglag.lo -MD -MP -MF .deps/auglag.Tpo -c auglag.c -fno-common -DPIC -o .libs/auglag.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT auglag.lo -MD -MP -MF .deps/auglag.Tpo -c auglag.c -o auglag.o >/dev/null 2>&1
mv -f .deps/auglag.Tpo .deps/auglag.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libauglag.la auglag.lo -lm
libtool: link: ar cru .libs/libauglag.a .libs/auglag.o
libtool: link: ranlib .libs/libauglag.a
libtool: link: ( cd ".libs" && rm -f "libauglag.la" && ln -s "../libauglag.la" "libauglag.la" )
Making all in bobyqa
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT bobyqa.lo -MD -MP -MF .deps/bobyqa.Tpo -c -o bobyqa.lo bobyqa.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT bobyqa.lo -MD -MP -MF .deps/bobyqa.Tpo -c bobyqa.c -fno-common -DPIC -o .libs/bobyqa.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT bobyqa.lo -MD -MP -MF .deps/bobyqa.Tpo -c bobyqa.c -o bobyqa.o >/dev/null 2>&1
mv -f .deps/bobyqa.Tpo .deps/bobyqa.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libbobyqa.la bobyqa.lo -lm
libtool: link: ar cru .libs/libbobyqa.a .libs/bobyqa.o
libtool: link: ranlib .libs/libbobyqa.a
libtool: link: ( cd ".libs" && rm -f "libbobyqa.la" && ln -s "../libbobyqa.la" "libbobyqa.la" )
Making all in isres
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT isres.lo -MD -MP -MF .deps/isres.Tpo -c -o isres.lo isres.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT isres.lo -MD -MP -MF .deps/isres.Tpo -c isres.c -fno-common -DPIC -o .libs/isres.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT isres.lo -MD -MP -MF .deps/isres.Tpo -c isres.c -o isres.o >/dev/null 2>&1
mv -f .deps/isres.Tpo .deps/isres.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libisres.la isres.lo -lm
libtool: link: ar cru .libs/libisres.a .libs/isres.o
libtool: link: ranlib .libs/libisres.a
libtool: link: ( cd ".libs" && rm -f "libisres.la" && ln -s "../libisres.la" "libisres.la" )
Making all in slsqp
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT slsqp.lo -MD -MP -MF .deps/slsqp.Tpo -c -o slsqp.lo slsqp.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT slsqp.lo -MD -MP -MF .deps/slsqp.Tpo -c slsqp.c -fno-common -DPIC -o .libs/slsqp.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT slsqp.lo -MD -MP -MF .deps/slsqp.Tpo -c slsqp.c -o slsqp.o >/dev/null 2>&1
mv -f .deps/slsqp.Tpo .deps/slsqp.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libslsqp.la slsqp.lo -lm
libtool: link: ar cru .libs/libslsqp.a .libs/slsqp.o
libtool: link: ranlib .libs/libslsqp.a
libtool: link: ( cd ".libs" && rm -f "libslsqp.la" && ln -s "../libslsqp.la" "libslsqp.la" )
Making all in esch
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT esch.lo -MD -MP -MF .deps/esch.Tpo -c -o esch.lo esch.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT esch.lo -MD -MP -MF .deps/esch.Tpo -c esch.c -fno-common -DPIC -o .libs/esch.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../util -I../api -g -O2 -MT esch.lo -MD -MP -MF .deps/esch.Tpo -c esch.c -o esch.o >/dev/null 2>&1
mv -f .deps/esch.Tpo .deps/esch.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libesch.la esch.lo -lm
libtool: link: ar cru .libs/libesch.a .libs/esch.o
libtool: link: ranlib .libs/libesch.a
libtool: link: ( cd ".libs" && rm -f "libesch.la" && ln -s "../libesch.la" "libesch.la" )
Making all in api
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT general.lo -MD -MP -MF .deps/general.Tpo -c -o general.lo general.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT general.lo -MD -MP -MF .deps/general.Tpo -c general.c -fno-common -DPIC -o .libs/general.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT general.lo -MD -MP -MF .deps/general.Tpo -c general.c -o general.o >/dev/null 2>&1
mv -f .deps/general.Tpo .deps/general.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT options.lo -MD -MP -MF .deps/options.Tpo -c -o options.lo options.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT options.lo -MD -MP -MF .deps/options.Tpo -c options.c -fno-common -DPIC -o .libs/options.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT options.lo -MD -MP -MF .deps/options.Tpo -c options.c -o options.o >/dev/null 2>&1
mv -f .deps/options.Tpo .deps/options.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT optimize.lo -MD -MP -MF .deps/optimize.Tpo -c -o optimize.lo optimize.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT optimize.lo -MD -MP -MF .deps/optimize.Tpo -c optimize.c -fno-common -DPIC -o .libs/optimize.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT optimize.lo -MD -MP -MF .deps/optimize.Tpo -c optimize.c -o optimize.o >/dev/null 2>&1
mv -f .deps/optimize.Tpo .deps/optimize.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT deprecated.lo -MD -MP -MF .deps/deprecated.Tpo -c -o deprecated.lo deprecated.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT deprecated.lo -MD -MP -MF .deps/deprecated.Tpo -c deprecated.c -fno-common -DPIC -o .libs/deprecated.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT deprecated.lo -MD -MP -MF .deps/deprecated.Tpo -c deprecated.c -o deprecated.o >/dev/null 2>&1
mv -f .deps/deprecated.Tpo .deps/deprecated.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT f77api.lo -MD -MP -MF .deps/f77api.Tpo -c -o f77api.lo f77api.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT f77api.lo -MD -MP -MF .deps/f77api.Tpo -c f77api.c -fno-common -DPIC -o .libs/f77api.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../cdirect -I../direct -I../stogo -I../praxis -I../lbfgs -I../luksan -I../crs -I../mlsl -I../mma -I../cobyla -I../newuoa -I../neldermead -I../auglag -I../bobyqa -I../isres -I../slsqp -I../esch -I../util -g -O2 -MT f77api.lo -MD -MP -MF .deps/f77api.Tpo -c f77api.c -o f77api.o >/dev/null 2>&1
mv -f .deps/f77api.Tpo .deps/f77api.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o libapi.la general.lo options.lo optimize.lo deprecated.lo f77api.lo -lm
libtool: link: ar cru .libs/libapi.a .libs/general.o .libs/options.o .libs/optimize.o .libs/deprecated.o .libs/f77api.o
libtool: link: ranlib .libs/libapi.a
libtool: link: ( cd ".libs" && rm -f "libapi.la" && ln -s "../libapi.la" "libapi.la" )
Making all in .
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -no-undefined -version-info 8:1:8 -o libnlopt.la -rpath /usr/local/lib direct/libdirect.la cdirect/libcdirect.la praxis/libpraxis.la luksan/libluksan.la crs/libcrs.la mlsl/libmlsl.la mma/libmma.la cobyla/libcobyla.la newuoa/libnewuoa.la neldermead/libneldermead.la auglag/libauglag.la bobyqa/libbobyqa.la isres/libisres.la slsqp/libslsqp.la esch/libesch.la api/libapi.la util/libutil.la -lm
libtool: link: gcc -std=gnu99 -dynamiclib -o .libs/libnlopt.0.dylib -Wl,-force_load,direct/.libs/libdirect.a -Wl,-force_load,cdirect/.libs/libcdirect.a -Wl,-force_load,praxis/.libs/libpraxis.a -Wl,-force_load,luksan/.libs/libluksan.a -Wl,-force_load,crs/.libs/libcrs.a -Wl,-force_load,mlsl/.libs/libmlsl.a -Wl,-force_load,mma/.libs/libmma.a -Wl,-force_load,cobyla/.libs/libcobyla.a -Wl,-force_load,newuoa/.libs/libnewuoa.a -Wl,-force_load,neldermead/.libs/libneldermead.a -Wl,-force_load,auglag/.libs/libauglag.a -Wl,-force_load,bobyqa/.libs/libbobyqa.a -Wl,-force_load,isres/.libs/libisres.a -Wl,-force_load,slsqp/.libs/libslsqp.a -Wl,-force_load,esch/.libs/libesch.a -Wl,-force_load,api/.libs/libapi.a -Wl,-force_load,util/.libs/libutil.a -lm -O2 -install_name /usr/local/lib/libnlopt.0.dylib -compatibility_version 9 -current_version 9.1 -Wl,-single_module
libtool: link: (cd ".libs" && rm -f "libnlopt.dylib" && ln -s "libnlopt.0.dylib" "libnlopt.dylib")
libtool: link: (cd .libs/libnlopt.lax/libdirect.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/direct/.libs/libdirect.a")
libtool: link: (cd .libs/libnlopt.lax/libcdirect.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/cdirect/.libs/libcdirect.a")
libtool: link: (cd .libs/libnlopt.lax/libpraxis.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/praxis/.libs/libpraxis.a")
libtool: link: (cd .libs/libnlopt.lax/libluksan.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/luksan/.libs/libluksan.a")
libtool: link: (cd .libs/libnlopt.lax/libcrs.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/crs/.libs/libcrs.a")
libtool: link: (cd .libs/libnlopt.lax/libmlsl.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/mlsl/.libs/libmlsl.a")
libtool: link: (cd .libs/libnlopt.lax/libmma.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/mma/.libs/libmma.a")
libtool: link: (cd .libs/libnlopt.lax/libcobyla.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/cobyla/.libs/libcobyla.a")
libtool: link: (cd .libs/libnlopt.lax/libnewuoa.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/newuoa/.libs/libnewuoa.a")
libtool: link: (cd .libs/libnlopt.lax/libneldermead.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/neldermead/.libs/libneldermead.a")
libtool: link: (cd .libs/libnlopt.lax/libauglag.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/auglag/.libs/libauglag.a")
libtool: link: (cd .libs/libnlopt.lax/libbobyqa.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/bobyqa/.libs/libbobyqa.a")
libtool: link: (cd .libs/libnlopt.lax/libisres.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/isres/.libs/libisres.a")
libtool: link: (cd .libs/libnlopt.lax/libslsqp.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/slsqp/.libs/libslsqp.a")
libtool: link: (cd .libs/libnlopt.lax/libesch.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/esch/.libs/libesch.a")
libtool: link: (cd .libs/libnlopt.lax/libapi.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/api/.libs/libapi.a")
libtool: link: (cd .libs/libnlopt.lax/libutil.a && ar x "/Users/ioannis/Downloads/nlopt-2.4.1/util/.libs/libutil.a")
libtool: link: ar cru .libs/libnlopt.a .libs/libnlopt.lax/libdirect.a/DIRect.o .libs/libnlopt.lax/libdirect.a/DIRserial.o .libs/libnlopt.lax/libdirect.a/DIRsubrout.o .libs/libnlopt.lax/libdirect.a/direct_wrap.o .libs/libnlopt.lax/libcdirect.a/cdirect.o .libs/libnlopt.lax/libcdirect.a/hybrid.o .libs/libnlopt.lax/libpraxis.a/praxis.o .libs/libnlopt.lax/libluksan.a/mssubs.o .libs/libnlopt.lax/libluksan.a/plip.o .libs/libnlopt.lax/libluksan.a/plis.o .libs/libnlopt.lax/libluksan.a/pnet.o .libs/libnlopt.lax/libluksan.a/pssubs.o .libs/libnlopt.lax/libcrs.a/crs.o .libs/libnlopt.lax/libmlsl.a/mlsl.o .libs/libnlopt.lax/libmma.a/ccsa_quadratic.o .libs/libnlopt.lax/libmma.a/mma.o .libs/libnlopt.lax/libcobyla.a/cobyla.o .libs/libnlopt.lax/libnewuoa.a/newuoa.o .libs/libnlopt.lax/libneldermead.a/nldrmd.o .libs/libnlopt.lax/libneldermead.a/sbplx.o .libs/libnlopt.lax/libauglag.a/auglag.o .libs/libnlopt.lax/libbobyqa.a/bobyqa.o .libs/libnlopt.lax/libisres.a/isres.o .libs/libnlopt.lax/libslsqp.a/slsqp.o .libs/libnlopt.lax/libesch.a/esch.o .libs/libnlopt.lax/libapi.a/deprecated.o .libs/libnlopt.lax/libapi.a/f77api.o .libs/libnlopt.lax/libapi.a/general.o .libs/libnlopt.lax/libapi.a/optimize.o .libs/libnlopt.lax/libapi.a/options.o .libs/libnlopt.lax/libutil.a/mt19937ar.o .libs/libnlopt.lax/libutil.a/qsort_r.o .libs/libnlopt.lax/libutil.a/redblack.o .libs/libnlopt.lax/libutil.a/rescale.o .libs/libnlopt.lax/libutil.a/sobolseq.o .libs/libnlopt.lax/libutil.a/stop.o .libs/libnlopt.lax/libutil.a/timer.o
libtool: link: ranlib .libs/libnlopt.a
libtool: link: rm -fr .libs/libnlopt.lax
libtool: link: ( cd ".libs" && rm -f "libnlopt.la" && ln -s "../libnlopt.la" "libnlopt.la" )
Making all in octave
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -I../util -g -O2 -MT dummy.o -MD -MP -MF .deps/dummy.Tpo -c -o dummy.o dummy.c
mv -f .deps/dummy.Tpo .deps/dummy.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o dummy dummy.o -lm
libtool: link: gcc -std=gnu99 -g -O2 -o dummy dummy.o -lm
Making all in test
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -I../util -g -O2 -MT testfuncs.o -MD -MP -MF .deps/testfuncs.Tpo -c -o testfuncs.o testfuncs.c
mv -f .deps/testfuncs.Tpo .deps/testfuncs.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../api -I../util -g -O2 -MT testopt.o -MD -MP -MF .deps/testopt.Tpo -c -o testopt.o testopt.cpp
mv -f .deps/testopt.Tpo .deps/testopt.Po
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -o testopt testfuncs.o testopt.o ../libnlopt.la -lm
libtool: link: g++ -g -O2 -o .libs/testopt testfuncs.o testopt.o -Wl,-bind_at_load ../.libs/libnlopt.dylib -lm
Making all in swig
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/Applications/VAPOR/VAPOR.app/Contents/MacOS/lib/python2.7/site-packages/numpy/core/include -I../api -g -O2 -MT _nlopt_la-nlopt-python.lo -MD -MP -MF .deps/_nlopt_la-nlopt-python.Tpo -c -o _nlopt_la-nlopt-python.lo test -f 'nlopt-python.cpp' || echo './'
nlopt-python.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/Applications/VAPOR/VAPOR.app/Contents/MacOS/lib/python2.7/site-packages/numpy/core/include -I../api -g -O2 -MT _nlopt_la-nlopt-python.lo -MD -MP -MF .deps/_nlopt_la-nlopt-python.Tpo -c nlopt-python.cpp -fno-common -DPIC -o .libs/_nlopt_la-nlopt-python.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/Applications/VAPOR/VAPOR.app/Contents/MacOS/lib/python2.7/site-packages/numpy/core/include -I../api -g -O2 -MT _nlopt_la-nlopt-python.lo -MD -MP -MF .deps/_nlopt_la-nlopt-python.Tpo -c nlopt-python.cpp -o _nlopt_la-nlopt-python.o >/dev/null 2>&1
mv -f .deps/_nlopt_la-nlopt-python.Tpo .deps/_nlopt_la-nlopt-python.Plo
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -module -version-info 8:1:8 -o _nlopt.la -rpath /usr/local/lib/python2.7/site-packages _nlopt_la-nlopt-python.lo ../libnlopt.la -lm
libtool: link: g++ -Wl,-undefined -Wl,dynamic_lookup -o .libs/_nlopt.0.so -bundle .libs/_nlopt_la-nlopt-python.o ../.libs/libnlopt.dylib -lm -O2
libtool: link: (cd ".libs" && rm -f "_nlopt.so" && ln -s "_nlopt.0.so" "_nlopt.so")
libtool: link: ar cru .libs/_nlopt.a _nlopt_la-nlopt-python.o
libtool: link: ranlib .libs/_nlopt.a
libtool: link: ( cd ".libs" && rm -f "_nlopt.la" && ln -s "../_nlopt.la" "_nlopt.la" )
Use ./configure --enable-shared MEX=/path..../mex
to specify the correct mex
executable.
I'm assuming that my suggestion fixed this?
Yes it has - been using nlopt seamlessly since then :)
Steven G. Johnson mailto:notifications@github.com 20 May 2014 19:27
I'm assuming that my suggestion fixed this?
— Reply to this email directly or view it on GitHub https://github.com/stevengj/nlopt/issues/10#issuecomment-43664677.
Solved the issued below editing util/timer.c as suggested above.
Hi I am having the same problem when trying to compile in MATLAB R2014a in OS X 10.10: Error using mex Undefined symbols for architecture x86_64: "___emutls_get_address", referenced from: _nlopt_srand in libnlopt.a(general.o) _nlopt_srand_time in libnlopt.a(general.o) _nlopt_srand_time_default in libnlopt.a(general.o) _nlopt_seconds in libnlopt.a(timer.o) _nlopt_init_genrand in libnlopt.a(mt19937ar.o) _nlopt_genrand_int32 in libnlopt.a(mt19937ar.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I had an issue compiling the matlab plugin for NLopt under mac os x 10.9. The error I was getting is: "Undefined symbols for architecture x86_64: "___emutls_get_address", referenced from: _nlopt_srand in libnlopt.a(general.o) _nlopt_srand_time in libnlopt.a(general.o) _nlopt_srand_time_default in libnlopt.a(general.o) _nlopt_seconds in libnlopt.a(timer.o) _nlopt_init_genrand in libnlopt.a(mt19937ar.o) _nlopt_genrand_int32 in libnlopt.a(mt19937ar.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
mex: link of ' "nlopt_optimize-mex.mexmaci64"' failed."
All that was necessary to resolve this was to add the following in timer.c (after line 34: #endif):
ifdef MACH
include <mach/clock.h>
include <mach/mach.h>
endif