Jason Moxham on Wed, 08 Jul 2009 06:14:39 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Re: Some bugs?



----- Original Message ----- From: "Jason Moxham" <jason@njkfrudils.plus.com>
To: <pari-dev@list.cr.yp.to>
Sent: Wednesday, July 08, 2009 5:01 AM
Subject: Re: Re: Some bugs?


I try to narrow it down some time this week,
in the meantime , some more bugs :)

This time pari svn , I make distrib under cygwin to remove the dependance on perl and bison , then make gp under mingw32


I should of said :
I use make distrib under cygwin , and then unpack the new distribution , and configure and make gp under mingw
ie the proper way :)


ngw/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o default.o ../src/language/default.c

ngw/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o errmsg.o ../src/language/errmsg.c

ngw/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o es.o ../src/language/es.c
../src/language/es.c:3300:17: pwd.h: No such file or directory
../src/language/es.c: In function `pari_get_homedir':
../src/language/es.c:3314: warning: implicit declaration of function `getpwuid' ../src/language/es.c:3314: warning: implicit declaration of function `geteuid' ../src/language/es.c:3314: warning: assignment makes pointer from integer without a cast
../src/language/es.c:3317: error: dereferencing pointer to incomplete type
../src/language/es.c:3324: warning: implicit declaration of function `getpwnam' ../src/language/es.c:3324: warning: assignment makes pointer from integer without a cast
../src/language/es.c:3325: error: dereferencing pointer to incomplete type
../src/language/es.c: In function `pari_dir_exists':
../src/language/es.c:4170: error: too many arguments to function `mkdir'
../src/language/es.c: In function `init_unique':
../src/language/es.c:4255: warning: implicit declaration of function `getuid'
make[1]: *** [es.o] Error 1
make[1]: Leaving directory `/c/Users/jasonadmin/pari-2.4.3/O6.0-none-mingw32_nt'
make: *** [gp] Error 2


----- Original Message ----- From: "Bill Allombert" <Bill.Allombert@math.u-bordeaux1.fr>
To: <pari-dev@list.cr.yp.to>
Sent: Tuesday, July 07, 2009 9:48 PM
Subject: Re: Re: Some bugs?


On Tue, Jul 07, 2009 at 01:30:26AM +0100, Jason Moxham wrote:
It's just the file language/eval.c , compiling just that with no
optimizations fixes the ffison and nffactor test program errors.

Could you try to narrow it down a bit ? It is possible that the problem
is actually language/eval.c not being standard-compliant and thus having
different behaviours with different compilers.

Cheers,
Bill.