Menu

#659 pari module fails to compile with pari-2.5.x

build problems
closed-fixed
modules (18)
5
2017-12-01
2013-04-11
grozin
No

The current stable version is pari-2.5.3. Starting from 2.5.0, compilation of pari.c fails:

gcc -I/usr/include/db4.8 -I/var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir/gllib -I/var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir -I/usr/include/db4.8 -O2 -march=native -pipe -Wa,--noexecstack -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -I. -I/var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir/linkkit -I/var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/modules/pari -c pari.c
pari.c: In function ‘get_entry_doc’:
pari.c:7:58: warning: return discards qualifiers from pointer target type
pari.c: In function ‘subres0’:
pari.c:10:1: warning: implicit declaration of function ‘subres’
pari.c:10:30: warning: return makes pointer from integer without a cast
pari.c: In function ‘module__pari__init_function_2’:
pari.c:136:37: error: ‘gpi’ undeclared (first use in this function)
pari.c:136:37: note: each undeclared identifier is reported only once for each function it appears in
pari.c:137:37: error: ‘geuler’ undeclared (first use in this function)
pari.c:142:37: error: ‘gi’ undeclared (first use in this function)
pari.c:146:59: warning: invalid application of ‘sizeof’ to a function type
pari.c:147:59: warning: invalid application of ‘sizeof’ to a function type
pari.c:149:37: error: ‘ordvar’ undeclared (first use in this function)
pari.c:150:37: error: ‘polvar’ undeclared (first use in this function)
pari.c:152:37: error: ‘varentries’ undeclared (first use in this function)
pari.c:160:37: error: ‘allocatemoremem’ undeclared (first use in this function)
pari.c:164:37: error: ‘gscalmat’ undeclared (first use in this function)
pari.c:178:37: error: ‘caradj0’ undeclared (first use in this function)
pari.c:186:37: error: ‘extract’ undeclared (first use in this function)
pari.c:187:37: error: ‘matextract’ undeclared (first use in this function)
pari.c:192:37: error: ‘matrixqz’ undeclared (first use in this function)
pari.c:193:37: error: ‘matrixqz2’ undeclared (first use in this function)
pari.c:194:37: error: ‘matrixqz3’ undeclared (first use in this function)
pari.c:197:37: error: ‘kerint1’ undeclared (first use in this function)
pari.c:204:37: error: ‘racine’ undeclared (first use in this function)
pari.c:218:37: error: ‘phi’ undeclared (first use in this function)
pari.c:219:37: error: ‘smallfact’ undeclared (first use in this function)
pari.c:226:37: error: ‘gener’ undeclared (first use in this function)
pari.c:230:37: error: ‘fundunit’ undeclared (first use in this function)
pari.c:231:37: error: ‘regula’ undeclared (first use in this function)
pari.c:232:37: error: ‘compimag’ undeclared (first use in this function)
pari.c:236:37: error: ‘sqcompreal’ undeclared (first use in this function)
pari.c:237:37: error: ‘sqcompimag’ undeclared (first use in this function)
pari.c:246:37: error: ‘comprealraw’ undeclared (first use in this function)
pari.c:247:37: error: ‘powrealraw’ undeclared (first use in this function)
pari.c:254:37: error: ‘mu’ undeclared (first use in this function)
pari.c:257:37: error: ‘hil’ undeclared (first use in this function)
pari.c:259:37: error: ‘base’ undeclared (first use in this function)
pari.c:260:37: error: ‘smallbase’ undeclared (first use in this function)
pari.c:261:37: error: ‘discf’ undeclared (first use in this function)
pari.c:262:37: error: ‘smalldiscf’ undeclared (first use in this function)
pari.c:267:37: error: ‘factoredbase’ undeclared (first use in this function)
pari.c:268:37: error: ‘factoreddiscf’ undeclared (first use in this function)
pari.c:276:37: error: ‘galoisconj2’ undeclared (first use in this function)
pari.c:277:37: error: ‘galoisconj4’ undeclared (first use in this function)
pari.c:284:37: error: ‘element_mul’ undeclared (first use in this function)
pari.c:285:37: error: ‘element_pow’ undeclared (first use in this function)
pari.c:298:37: error: ‘principalideal’ undeclared (first use in this function)
pari.c:299:37: error: ‘principalidele’ undeclared (first use in this function)
pari.c:308:37: error: ‘nfhermite’ undeclared (first use in this function)
pari.c:309:37: error: ‘nfhermitemod’ undeclared (first use in this function)
pari.c:314:37: error: ‘element_div’ undeclared (first use in this function)
pari.c:316:37: error: ‘element_reduce’ undeclared (first use in this function)
pari.c:319:37: error: ‘element_val’ undeclared (first use in this function)
pari.c:351:37: error: ‘changevar’ undeclared (first use in this function)
pari.c:354:37: error: ‘reorder’ undeclared (first use in this function)
pari.c:387:37: error: ‘buchall’ undeclared (first use in this function)
pari.c:392:37: error: ‘buchfu’ undeclared (first use in this function)
pari.c:415:37: error: ‘torsell’ undeclared (first use in this function)
pari.c:496:37: error: ‘factpol’ undeclared (first use in this function)
pari.c:500:37: error: ‘discsr’ undeclared (first use in this function)
pari.c:552:37: error: ‘polylogd’ undeclared (first use in this function)
pari.c:553:37: error: ‘polylogdold’ undeclared (first use in this function)
pari.c:554:37: error: ‘polylogp’ undeclared (first use in this function)
make[1]: *** [pari.o] Error 1

See https://bugs.gentoo.org/show_bug.cgi?id=376673 for more details. Is there a hope this will be fixed?

Discussion

  • Sam Steingold

    Sam Steingold - 2013-04-11
    • milestone: --> build problems
    • labels: --> modules
     
  • Jonas Stein

    Jonas Stein - 2017-11-27

    There was no reply to this ticket yet. Do you need more information?

     
  • Sam Steingold

    Sam Steingold - 2017-11-27

    I guess the API changed with 2.5.0.
    reading NEWS or ChangeLog should tell you what changed and how CLISP needs to be modified.
    are you prepared to do that?

     
  • Jonas Stein

    Jonas Stein - 2017-11-27

    Thank you for the quick response. I am not able to make changes in CLISP. I need CLISP to compile xindy for TeX. I want to prepare new packages for xindy in Gentoo and ran into a series of open bugs one of them led me here.

     
  • Sam Steingold

    Sam Steingold - 2017-12-01
    • status: open --> closed-fixed
    • assigned_to: Sam Steingold
     

Log in to post a comment.

MongoDB Logo MongoDB