develooper Front page | perl.perl6.internals | Postings from October 2001

PackFile_unpack in pdump.c is missing the first arg

Thread Next
From:
Peter Cornelius
Date:
October 22, 2001 21:08
Subject:
PackFile_unpack in pdump.c is missing the first arg
Message ID:
2D2E745B458DD4119DA500B0D03EE4DE0112F6EB@MERCURY
I get a the following error when I do a 'make' with a fresh checkout.

pdump.c: In function `main':
pdump.c:63: warning: passing arg 1 of `PackFile_unpack' from incompatible
pointe
r type
pdump.c:63: warning: passing arg 2 of `PackFile_unpack' from incompatible
pointe
r type
pdump.c:63: warning: passing arg 3 of `PackFile_unpack' makes pointer from
integ
er without a cast
pdump.c:63: too few arguments to function `PackFile_unpack'
make: *** [pdump.o] Error 1

Host info.
[ /home/peterc/parrot/parrot]uname -a
Linux goip 2.2.16 #1 Wed Aug 2 20:22:26 GMT 2000 i686 unknown
[ /home/peterc/parrot/parrot]gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)

It looks like PackFile_pack wants a 'struct Parrot_Interp *interpreter' that
it's not getting from pdump.c

Just tryin' to help,
Peter C.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About