Opened 7 years ago

Closed 7 years ago

#19450 closed defect (fixed)

qepcad-B.1.69 fails to install

Reported by: Ralf Stephan Owned by:
Priority: major Milestone: sage-6.10
Component: packages: optional Keywords:
Cc: Thierry Monteil Merged in:
Authors: Ralf Stephan Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: e7c62ea (Commits, GitHub, GitLab) Commit: e7c62eab7b7e49a4dae2d66e8d3394bb6f09ac18
Dependencies: Stopgaps:

Status badges

Description

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

Change History (9)

comment:1 Changed 7 years ago by Thierry Monteil

Cc: Thierry Monteil added
Component: packages: experimentalpackages: optional

comment:2 Changed 7 years ago by Ralf Stephan

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 .

comment:3 Changed 7 years ago by Ralf Stephan

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.

comment:4 Changed 7 years ago by Ralf Stephan

Branch: u/rws/qepcad_b_1_69_fails_to_install

comment:5 Changed 7 years ago by Ralf Stephan

Authors: Ralf Stephan
Commit: e7c62eab7b7e49a4dae2d66e8d3394bb6f09ac18
Status: newneeds_review

New commits:

e7c62ea19450: qepcad-B.1.69 fails to install

comment:6 Changed 7 years ago by Ralf Stephan

See also comments 45 and 49 of #10224.

comment:7 Changed 7 years ago by Volker Braun

Reviewers: Volker Braun
Status: needs_reviewpositive_review

comment:8 Changed 7 years ago by Ralf Stephan

Thanks!

comment:9 Changed 7 years ago by Volker Braun

Branch: u/rws/qepcad_b_1_69_fails_to_installe7c62eab7b7e49a4dae2d66e8d3394bb6f09ac18
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.