Package: eperl
Severity: normal
Tags: patch

When building 'eperl' on amd64 with gcc-4.0,
I get the following error:

checking for strdup... yes

cc -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN 
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -I. -c eperl_perl5.c
In file included from eperl_perl5.c:40:
eperl_proto.h:56: error: array type has incomplete element type
make[1]: *** [eperl_perl5.o] Error 1
make[1]: Leaving directory `/eperl-2.2.14'
make: *** [build-stamp] Error 2

With the attached patch 'eperl' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/eperl-2.2.14/eperl_proto.h ./eperl_proto.h
--- ../tmp-orig/eperl-2.2.14/eperl_proto.h      2005-03-17 17:08:12.872294112 
+0100
+++ ./eperl_proto.h     2005-03-17 17:07:34.292652664 +0100
@@ -53,7 +53,6 @@
 extern void mysighandler(int rc);
 extern void myinit(void);
 extern void myexit(int rc);
-extern struct option options[];
 extern int main(int argc, char **argv, char **env);
 
 /* eperl_parse.c */


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to