-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
Building on MinGW gives an easy route to supporting native Windows
But currently fplll FTBFS because it uses sys/resource.h
[fplll-5.5.0] [spkg-install] In file included from bkz_param.h:23,
[fplll-5.5.0] [spkg-install] from bkz.h:21,
[fplll-5.5.0] [spkg-install] from fplll.h:25,
[fplll-5.5.0] [spkg-install] from main.h:21,
[fplll-5.5.0] [spkg-install] from main.cpp:18:
[fplll-5.5.0] [spkg-install] defs.h:47:10: fatal error: sys/resource.h: No such file or directory
[fplll-5.5.0] [spkg-install] 47 | #include <sys/resource.h>
[fplll-5.5.0] [spkg-install] | ^~~~~~~~~~~~~~~~
[fplll-5.5.0] [spkg-install] compilation terminated.
[fplll-5.5.0] [spkg-install] make[6]: *** [Makefile:1419: main.o] Error 1
[fplll-5.5.0] [spkg-install] make[6]: *** Waiting for unfinished jobs....
[fplll-5.5.0] [spkg-install] libtool: compile: g++ -std=gnu++11 -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DFPLLL_DEFAULT_STRATEGY_PATH=\"/d/a/fpylll/fpylll/sage-local/share/fplll/strategies\" -DFPLLL_DEFAULT_STRATEGY=\"/d/a/fpylll/fpylll/sage-local/share/fplll/strategies/default.json\" -I./.. -I/d/a/fpylll/fpylll/sage-local/include/ -pthread -g -O2 -fPIC -I/d/a/fpylll/fpylll/sage-local/include/ -L/d/a/fpylll/fpylll/sage-local/lib -c util.cpp -DDLL_EXPORT -DPIC -o .libs/libfplll_la-util.o
[fplll-5.5.0] [spkg-install] libtool: compile: g++ -std=gnu++11 -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DFPLLL_DEFAULT_STRATEGY_PATH=\"/d/a/fpylll/fpylll/sage-local/share/fplll/strategies\" -DFPLLL_DEFAULT_STRATEGY=\"/d/a/fpylll/fpylll/sage-local/share/fplll/strategies/default.json\" -I./.. -I/d/a/fpylll/fpylll/sage-local/include/ -pthread -g -O2 -fPIC -I/d/a/fpylll/fpylll/sage-local/include/ -L/d/a/fpylll/fpylll/sage-local/lib -c fplll.cpp -DDLL_EXPORT -DPIC -o .libs/libfplll_la-fplll.o
[fplll-5.5.0] [spkg-install] libtool: compile: g++ -std=gnu++11 -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DFPLLL_DEFAULT_STRATEGY_PATH=\"/d/a/fpylll/fpylll/sage-local/share/fplll/strategies\" -DFPLLL_DEFAULT_STRATEGY=\"/d/a/fpylll/fpylll/sage-local/share/fplll/strategies/default.json\" -I./.. -I/d/a/fpylll/fpylll/sage-local/include/ -pthread -g -O2 -fPIC -I/d/a/fpylll/fpylll/sage-local/include/ -L/d/a/fpylll/fpylll/sage-local/lib -c lll.cpp -DDLL_EXPORT -DPIC -o .libs/libfplll_la-lll.o
[fplll-5.5.0] [spkg-install] libtool: compile: g++ -std=gnu++11 -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DFPLLL_DEFAULT_STRATEGY_PATH=\"/d/a/fpylll/fpylll/sage-local/share/fplll/strategies\" -DFPLLL_DEFAULT_STRATEGY=\"/d/a/fpylll/fpylll/sage-local/share/fplll/strategies/default.json\" -I./.. -I/d/a/fpylll/fpylll/sage-local/include/ -pthread -g -O2 -fPIC -I/d/a/fpylll/fpylll/sage-local/include/ -L/d/a/fpylll/fpylll/sage-local/lib -c bkz.cpp -DDLL_EXPORT -DPIC -o .libs/libfplll_la-bkz.o
[fplll-5.5.0] [spkg-install] libtool: compile: g++ -std=gnu++11 -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DFPLLL_DEFAULT_STRATEGY_PATH=\"/d/a/fpylll/fpylll/sage-local/share/fplll/strategies\" -DFPLLL_DEFAULT_STRATEGY=\"/d/a/fpylll/fpylll/sage-local/share/fplll/strategies/default.json\" -I./.. -I/d/a/fpylll/fpylll/sage-local/include/ -pthread -g -O2 -fPIC -I/d/a/fpylll/fpylll/sage-local/include/ -L/d/a/fpylll/fpylll/sage-local/lib -c wrapper.cpp -DDLL_EXPORT -DPIC -o .libs/libfplll_la-wrapper.o
[fplll-5.5.0] [spkg-install] In file included from nr/nr.h:7,
[fplll-5.5.0] [spkg-install] from nr/numvect.h:19,
[fplll-5.5.0] [spkg-install] from nr/matrix.h:21,
[fplll-5.5.0] [spkg-install] from util.h:23,
[fplll-5.5.0] [spkg-install] from util.cpp:16:
[fplll-5.5.0] [spkg-install] nr/../defs.h:47:10: fatal error: sys/resource.h: No such file or directory
[fplll-5.5.0] [spkg-install] 47 | #include <sys/resource.h>
[fplll-5.5.0] [spkg-install] | ^~~~~~~~~~~~~~~~
[fplll-5.5.0] [spkg-install] compilation terminated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels