sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.45k stars 480 forks source link

qepcad-B.1.69 fails to install #19450

Closed rwst closed 9 years ago

rwst commented 9 years ago

On OpenSuSE 13:

ranlib qepcad.a
Linking the optimized program......
g++ -O4 -I/home/ralf/sage/local/lib/saclib/include  -I. saclib/GCSI.c saclib/FAIL.c \
                qepcad.a /home/ralf/sage/local/var/tmp/sage/build/qepcad-B.1.69/qesource/extensions/sfext/sfexto.a /home/ralf/sage/local/var/tmp/sage/build/qepcad-B.1.69/qesource/extensions/lift2D/lift2Do.a /home/ralf/sage/local/var/tmp/sage/build/qepcad-B.1.69/qesource/extensions/newadj/newadjo.a /home/ralf/sage/local/var/tmp/sage/build/qepcad-B.1.69/qesource/extensions/adj2d/adj2do.a /home/ralf/sage/local/var/tmp/sage/build/qepcad-B.1.69/qesource/extensions/rend/rendo.a /home/ralf/sage/local/lib/saclib/lib/saclibo.a -lreadline  qepcad.a /home/ralf/sage/local/var/tmp/sage/build/qepcad-B.1.69/qesource/extensions/sfext/sfexto.a /home/ralf/sage/local/var/tmp/sage/build/qepcad-B.1.69/qesource/extensions/lift2D/lift2Do.a /home/ralf/sage/local/var/tmp/sage/build/qepcad-B.1.69/qesource/extensions/newadj/newadjo.a /home/ralf/sage/local/var/tmp/sage/build/qepcad-B.1.69/qesource/extensions/adj2d/adj2do.a /home/ralf/sage/local/var/tmp/sage/build/qepcad-B.1.69/qesource/extensions/rend/rendo.a /home/ralf/sage/local/lib/saclib/lib/saclibo.a -lreadline  -o qepcad
qepcad.a(MAIN.o): In function `SIGINT_handler(int, siginfo_t*, void*)':
MAIN.c:(.text+0x5): undefined reference to `ENDQEPCAD()'
qepcad.a(MAIN.o): In function `QepcadCls::~QepcadCls()':
MAIN.c:(.text._ZN9QepcadClsD2Ev[_ZN9QepcadClsD5Ev]+0x11): undefined reference to `gcw_register(int*)'
MAIN.c:(.text._ZN9QepcadClsD2Ev[_ZN9QepcadClsD5Ev]+0x1d): undefined reference to `gcw_register(int*)'
MAIN.c:(.text._ZN9QepcadClsD2Ev[_ZN9QepcadClsD5Ev]+0x29): undefined reference to `gcw_register(int*)'
MAIN.c:(.text._ZN9QepcadClsD2Ev[_ZN9QepcadClsD5Ev]+0x35): undefined reference to `gcw_register(int*)'
MAIN.c:(.text._ZN9QepcadClsD2Ev[_ZN9QepcadClsD5Ev]+0x41): undefined reference to `gcw_register(int*)'
qepcad.a(MAIN.o):MAIN.c:(.text._ZN9QepcadClsD2Ev[_ZN9QepcadClsD5Ev]+0x4d): more undefined references to `gcw_register(int*)' follow
qepcad.a(MAIN.o): In function `main':
MAIN.c:(.text.startup+0x30): undefined reference to `BEGINQEPCAD(int&, char**&)'
MAIN.c:(.text.startup+0xab): undefined reference to `INPUTRD(int*, int*)'
MAIN.c:(.text.startup+0xea): undefined reference to `QepcadCls::QEPCAD(int, int*, int*, int*, int*)'
MAIN.c:(.text.startup+0xf7): undefined reference to `gcw_register(int*)'
MAIN.c:(.text.startup+0x104): undefined reference to `gcw_register(int*)'
MAIN.c:(.text.startup+0x111): undefined reference to `gcw_register(int*)'
MAIN.c:(.text.startup+0x11e): undefined reference to `gcw_register(int*)'
MAIN.c:(.text.startup+0x12b): undefined reference to `gcw_register(int*)'
qepcad.a(MAIN.o):MAIN.c:(.text.startup+0x138): more undefined references to `gcw_register(int*)' follow
qepcad.a(MAIN.o): In function `main':
MAIN.c:(.text.startup+0x2ea): undefined reference to `INITSYS()'
MAIN.c:(.text.startup+0x310): undefined reference to `ENDQEPCAD()'
MAIN.c:(.text.startup+0x351): undefined reference to `gcw_register(int*)'
MAIN.c:(.text.startup+0x366): undefined reference to `gcw_register(int*)'
MAIN.c:(.text.startup+0x375): undefined reference to `gcw_register(int*)'
MAIN.c:(.text.startup+0x384): undefined reference to `gcw_register(int*)'
MAIN.c:(.text.startup+0x393): undefined reference to `gcw_register(int*)'
qepcad.a(MAIN.o):MAIN.c:(.text.startup+0x3a2): more undefined references to `gcw_register(int*)' follow
/tmp/ccmEarmG.o: In function `GCSI':
GCSI.c:(.text+0xc2): undefined reference to `gcw_MARK'
/tmp/ccdZq5u8.o: In function `FAIL':
FAIL.c:(.text+0x21): undefined reference to `ENDQEPCAD()'
qepcad.a(qepcadcls.o): In function `QepcadCls::QepcadCls(int, int)':
qepcadcls.c:(.text+0x81): undefined reference to `gcw_register(int*)'
qepcadcls.c:(.text+0x99): undefined reference to `gcw_register(int*)'
qepcadcls.c:(.text+0xac): undefined reference to `gcw_register(int*)'
qepcadcls.c:(.text+0xbf): undefined reference to `gcw_register(int*)'
qepcadcls.c:(.text+0xd7): undefined reference to `gcw_register(int*)'
qepcad.a(qepcadcls.o):qepcadcls.c:(.text+0xef): more undefined references to `gcw_register(int*)' follow
qepcad.a(qepcadcls.o): In function `QepcadCls::SETASSUMPTIONS(int)':
qepcadcls.c:(.text+0x87f): undefined reference to `CHANGEASSUMPTIONSLEVEL(int, int, int)'
qepcad.a(qepcadcls.o): In function `QepcadCls::GETDEFININGFORMULA(char)':
qepcadcls.c:(.text+0x92c): undefined reference to `QepcadCls::SFC3f(int, int, int, int, int)'
qepcadcls.c:(.text+0x98e): undefined reference to `QepcadCls::SFCFULLDf(int, int, int, int)'
collect2: error: ld returned 1 exit status
Makefile:797: recipe for target 'opt' failed

CC: @sagetrac-tmonteil

Component: packages: optional

Author: Ralf Stephan

Branch/Commit: e7c62ea

Reviewer: Volker Braun

Issue created by migration from https://trac.sagemath.org/ticket/19450

rwst commented 9 years ago
comment:2

The same source was successfully compiled and linked outside of Sage using tcsh, the already successfully installed saclib under $SAGE/local, and the instructions from http://www.usna.edu/CS/qepcadweb/INSTALL/IQ.html .

rwst commented 9 years ago
comment:3

The reason is that I have MAKE=make -j4 but, as documented in the SPKG.txt "one might need make -j1", aha. So, why not set it then? The setting will get lost after installation, anyway.

rwst commented 9 years ago

Branch: u/rws/qepcad_b_1_69_fails_to_install

rwst commented 9 years ago

New commits:

e7c62ea19450: qepcad-B.1.69 fails to install
rwst commented 9 years ago

Author: Ralf Stephan

rwst commented 9 years ago

Commit: e7c62ea

rwst commented 9 years ago
comment:6

See also comments 45 and 49 of #10224.

vbraun commented 9 years ago

Reviewer: Volker Braun

rwst commented 9 years ago
comment:8

Thanks!

vbraun commented 9 years ago

Changed branch from u/rws/qepcad_b_1_69_fails_to_install to e7c62ea