[ clisp-Bugs-3610518 ] pari module fails to compile with pari-2.5.x

SourceForge.net <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <[email protected]>
Bugs item #3610518, was opened at 2013-04-10 21:15
Message generated for change (Tracker Item Submitted) made by grozin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3610518&group_id=1355

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: grozin (grozin)
Assigned to: Nobody/Anonymous (nobody)
Summary: pari module fails to compile with pari-2.5.x

Initial Comment:
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?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3610518&group_id=1355

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.