Skip to content

Instantly share code, notes, and snippets.

@pazz
Created May 2, 2025 09:01
Show Gist options
  • Save pazz/d339f30ac8bbb304f64c31470c5527ea to your computer and use it in GitHub Desktop.
Save pazz/d339f30ac8bbb304f64c31470c5527ea to your computer and use it in GitHub Desktop.
make %> log
VERSION: 4.8.1.dev
OSTYPE/ARCH: linux amd64
JAVA_DIR: /usr/lib/jvm/java-21-openjdk-amd64
JAVA_DIR_BACKUP:
JAVAC (which): /usr/bin/javac
JAVAC (version): javac 21.0.7-ea
Making cudd ...
make[1]: Entering directory '/home/patrick/projects/prism/cudd'
make all-am
make[2]: Entering directory '/home/patrick/projects/prism/cudd'
make[2]: Leaving directory '/home/patrick/projects/prism/cudd'
make[1]: Leaving directory '/home/patrick/projects/prism/cudd'
make[1]: Entering directory '/home/patrick/projects/prism/cudd'
make[2]: Entering directory '/home/patrick/projects/prism/cudd'
/usr/bin/mkdir -p '/home/patrick/projects/prism/cudd/lib'
/bin/bash ./libtool --mode=install /usr/bin/install -c cudd/libcudd.la '/home/patrick/projects/prism/cudd/lib'
libtool: install: /usr/bin/install -c cudd/.libs/libcudd.lai /home/patrick/projects/prism/cudd/lib/libcudd.la
libtool: install: /usr/bin/install -c cudd/.libs/libcudd.a /home/patrick/projects/prism/cudd/lib/libcudd.a
libtool: install: chmod 644 /home/patrick/projects/prism/cudd/lib/libcudd.a
libtool: install: ranlib /home/patrick/projects/prism/cudd/lib/libcudd.a
libtool: finish: PATH="/home/patrick/.local/share/gem/ruby/3.3.0/bin:/home/patrick/.venv/bin:/home/patrick/.local/bin:/home/patrick/bin:/home/patrick/.cargo/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/libexec/imv:/snap/bin:/sbin" ldconfig -n /home/patrick/projects/prism/cudd/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/patrick/projects/prism/cudd/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/home/patrick/projects/prism/cudd/include'
/usr/bin/install -c -m 644 cudd/cudd.h '/home/patrick/projects/prism/cudd/include'
make[2]: Leaving directory '/home/patrick/projects/prism/cudd'
make[1]: Leaving directory '/home/patrick/projects/prism/cudd'
Making lpsolve55 ...
make[1]: Entering directory '/home/patrick/projects/prism/prism/ext/lpsolve55'
mkdir -p lib
+ :
+ src=../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c
+ [ amd64 = ]
+ [ amd64 = amd64 ]
+ CFLAGS=-m64 -fPIC -DPIC
+ [ amd64 = ia64 ]
+ [ amd64 = aarch64 ]
+
+ echo #include <stdlib.h>
+ echo #include <stdio.h>
+ echo main(){printf("ux%d", (int) (sizeof(void *)*8));}
+ gcc -m64 -fPIC -DPIC /tmp/platform.c -o /tmp/platform
/tmp/platform.c:3:1: error: return type defaults to ‘int’ [-Wimplicit-int]
3 | main(){printf("ux%d", (int) (sizeof(void *)*8));}
| ^~~~
+ /tmp/platform
ccc: 1: /tmp/platform: not found
+ PLATFORM=
+ rm /tmp/platform /tmp/platform.c
+ mkdir bin bin/
+
+ echo #include <stdio.h>
+ echo #include <stdlib.h>
+ echo #include <math.h>
+ echo main(){isnan(0.0);}
+ gcc -m64 -fPIC -DPIC /tmp/isnan.c -o /tmp/isnan
+ [ 1 = 0 ]
+ NOISNAN=-DNOISNAN
+ rm /tmp/isnan.c /tmp/isnan
+ def=
+ so=
+ [ = SCO_UNIX ]
+ dl=-ldl
+ so=y
+ opts=-O3
+ gcc -m64 -fPIC -DPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -O3 -DNOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c
In file included from ../lp_MDO.c:22:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
../shared/commonlib.c: In function ‘timeNow’:
../shared/commonlib.c:849:3: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
849 | ftime(&buf);
| ^~~~~
In file included from ../shared/commonlib.c:9:
/usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here
29 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
In file included from ../lp_crash.c:21:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_lib.c:41:
../lp_lib.h:63:10: warning: "isnan" redefined
63 | # define isnan(x) FALSE
| ^~~~~
In file included from ../lp_lib.c:27:
/usr/include/math.h:980:11: note: this is the location of the previous definition
980 | # define isnan(x) __builtin_isnan (x)
| ^~~~~
In file included from ../lp_wlp.c:6:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_matrix.c:3:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_mipbb.c:30:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_MPS.c:5:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_params.c:6:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_presolve.c:36:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_price.c:3:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_pricePSE.c:3:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_scale.c:3:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_simplex.c:27:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_SOS.c:3:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_utils.c:4:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
+ echo ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c
+ sed s/[.]c/.o/g
+ sed s/[^ ]*\///g
+ ar rv bin//liblpsolve55.a lp_MDO.o commonlib.o mmio.o myblas.o ini.o fortify.o colamd.o lp_rlp.o lp_crash.o lp_LUSOL.o lusol.o lp_Hash.o lp_lib.o lp_wlp.o lp_matrix.o lp_mipbb.o lp_MPS.o lp_params.o lp_presolve.o lp_price.o lp_pricePSE.o lp_report.o lp_scale.o lp_simplex.o lp_SOS.o lp_utils.o yacc_read.o
ar: creating bin//liblpsolve55.a
ar: lp_MDO.o: No such file or directory
+ ranlib bin//liblpsolve55.a
ranlib: 'bin//liblpsolve55.a': No such file
+ [ y != ]
+ gcc -m64 -fPIC -DPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. -O3 -DNOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c
In file included from ../lp_MDO.c:22:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
../shared/commonlib.c: In function ‘timeNow’:
../shared/commonlib.c:849:3: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
849 | ftime(&buf);
| ^~~~~
In file included from ../shared/commonlib.c:9:
/usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here
29 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
In file included from ../lp_crash.c:21:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_lib.c:41:
../lp_lib.h:63:10: warning: "isnan" redefined
63 | # define isnan(x) FALSE
| ^~~~~
In file included from ../lp_lib.c:27:
/usr/include/math.h:980:11: note: this is the location of the previous definition
980 | # define isnan(x) __builtin_isnan (x)
| ^~~~~
In file included from ../lp_wlp.c:6:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_matrix.c:3:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_mipbb.c:30:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_MPS.c:5:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_params.c:6:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_presolve.c:36:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_price.c:3:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_pricePSE.c:3:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_scale.c:3:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_simplex.c:27:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_SOS.c:3:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
In file included from ../lp_utils.c:4:
../shared/commonlib.h:88:24: error: expected identifier or ‘(’ before numeric constant
88 | #define FALSE 0
| ^
+ echo ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c
+ sed s/[.]c/.o/g
+ sed s/[^ ]*\///g
+ gcc -m64 -fPIC -DPIC -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o bin//liblpsolve55.so lp_MDO.o commonlib.o mmio.o myblas.o ini.o fortify.o colamd.o lp_rlp.o lp_crash.o lp_LUSOL.o lusol.o lp_Hash.o lp_lib.o lp_wlp.o lp_matrix.o lp_mipbb.o lp_MPS.o lp_params.o lp_presolve.o lp_price.o lp_pricePSE.o lp_report.o lp_scale.o lp_simplex.o lp_SOS.o lp_utils.o yacc_read.o -lc -lm -ldl
/usr/bin/ld: cannot find lp_MDO.o: No such file or directory
/usr/bin/ld: cannot find lp_crash.o: No such file or directory
/usr/bin/ld: cannot find lp_wlp.o: No such file or directory
/usr/bin/ld: cannot find lp_matrix.o: No such file or directory
/usr/bin/ld: cannot find lp_mipbb.o: No such file or directory
/usr/bin/ld: cannot find lp_MPS.o: No such file or directory
/usr/bin/ld: cannot find lp_params.o: No such file or directory
/usr/bin/ld: cannot find lp_presolve.o: No such file or directory
/usr/bin/ld: cannot find lp_price.o: No such file or directory
/usr/bin/ld: cannot find lp_pricePSE.o: No such file or directory
/usr/bin/ld: cannot find lp_scale.o: No such file or directory
/usr/bin/ld: cannot find lp_simplex.o: No such file or directory
/usr/bin/ld: cannot find lp_SOS.o: No such file or directory
/usr/bin/ld: cannot find lp_utils.o: No such file or directory
collect2: error: ld returned 1 exit status
+ mv bin//liblpsolve55.so ../../../lib
mv: cannot stat 'bin//liblpsolve55.so': No such file or directory
+ rm colamd.o commonlib.o fortify.o ini.o lp_Hash.o lp_LUSOL.o lp_lib.o lp_report.o lp_rlp.o lusol.o mmio.o myblas.o yacc_read.o
mv: cannot stat 'lib/liblpsolve55.so': No such file or directory
make[1]: *** [Makefile:41: ../../lib/liblpsolve55.so] Error 1
make[1]: Leaving directory '/home/patrick/projects/prism/prism/ext/lpsolve55'
make: *** [Makefile:376: extpackages] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment