AW: Problems compiling with suse 10.0

"Jens-Peter C. Hillers" <[email protected]> Wed, 12 Apr 2006 12:36:09 +0200
Newsgroups gmane.comp.web.wml
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------=_NextPart_000_00A6_01C65E2D.ACB6ACB0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi List,

found one solution:

I putted :

#include "eperl_getopt.h"

right before the:

#include "eperl_proto.h"

in:

wml_backend/p3_eperl/eperl_perl5.c
wml_backend/p3_eperl/eperl_parse.c
wml_backend/p3_eperl/eperl_pp.c
wml_backend/p3_eperl/eperl_sys.c
wml_backend/p3_eperl/eperl_http.c
wml_backend/p3_eperl/eperl_http.c
wml_backend/p3_eperl/eperl_debug.c

regards
jph


___________________________
Dipl.-Ing. Jens-Peter C. Hillers
Remote Web Services GmbH
Tel: +49 40 25 49 06 22
Fax: +49 40 36 00 67 27
Email: [email protected]
____________________________

  -----Urspr=FCngliche Nachricht-----
  Von: [email protected] [mailto:[email protected]]Im
Auftrag von Jens-Peter C. Hillers
  Gesendet am: Dienstag, 11. April 2006 18:51
  An: [email protected]
  Betreff: Problems compiling with suse 10.0

  Hi List,

  I just tried to compile WML (2.0.9) under SuSe 10.0 an dgot an error

  Message:

  .....................
  make[4]: Leaving directory /usr/local/src/wml-2.0.9/wml_backend/p2_mp4h=
'
  make[2]: Leaving directory /usr/local/src/wml-2.0.9/wml_backend/p3_eper=
l'


cc -O2 -march=3Di586 -mtune=3Di686 -fmessage-length=3D0 -Wall -D_FORTIFY_=
SOURCE=3D2=20
-g -Wall -pipe -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING=
 -f
no-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -I/=
usr/l
ib/perl5/5.8.7/i586-linux-thread-multi/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[2]: *** [eperl_perl5.o] Error 1
  make[2]: Leaving directory /usr/local/src/wml-2.0.9/wml_backend'
  make: *** [all] Error 1
  ----------------------------------------------
  the correponding part of eperl_proto.h
  -----------------------------------------------
       40 /* eperl_main.c */
       41 extern int mode;
       42 extern char *allowed_file_ext[];
       43 extern char *allowed_caller_uid[];
       44 extern void PrintError(int mode, char *scripturl, char
*scriptfile, char *logfile, char *str, ...);
       45 extern void give_version(void);
       46 extern void give_readme(void);
       47 extern void give_license(void);
       48 extern void give_img_logo(void);
       49 extern void give_img_powered(void);
       50 extern void give_usage(char *name);
       51 extern char *RememberedINC[1024];
       52 extern void RememberINC(char *str);
       53 extern void mysighandler(int rc);
       54 extern void myinit(void);
       55 extern void myexit(int rc);
  --->56 extern struct option options[];
       57 extern int main(int argc, char **argv, char **env);
       58
       59 /* eperl_parse.c */
       60 extern char *ePerl_begin_delimiter;
       61 extern char *ePerl_end_delimiter;
       62 extern int ePerl_case_sensitive_delimiters;
  --------------------------------------------------

  have anybody some help for me ?

  grusz
  jph
  ___________________________
  Dipl.-Ing. Jens-Peter C. Hillers
  Remote Web Services GmbH
  Tel: +49 40 25 49 06 22
  Fax: +49 40 36 00 67 27
  Email: [email protected]
  ____________________________


------=_NextPart_000_00A6_01C65E2D.ACB6ACB0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
List,</FONT></SPAN></DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =
size=3D2>found=20
one solution:</FONT></SPAN></DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =
size=3D2>I=20
putted :</FONT></SPAN></DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2>#include "eperl_getopt.h"</FONT></SPAN></DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =
size=3D2>right=20
before the:</FONT></SPAN></DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2>#include "eperl_proto.h"</FONT></SPAN></DIV>
<DIV><SPAN class=3D201492510-12042006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2>in:</FONT></SPAN></DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2>wml_backend/p3_eperl/eperl_perl5.c =
<BR>wml_backend/p3_eperl/eperl_parse.c=20
<BR>wml_backend/p3_eperl/eperl_pp.c <BR>wml_backend/p3_eperl/eperl_sys.c =

<BR>wml_backend/p3_eperl/eperl_http.c =
<BR>wml_backend/p3_eperl/eperl_http.c=20
<BR>wml_backend/p3_eperl/eperl_debug.c <BR></FONT></SPAN></DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2>regards</FONT></SPAN></DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2>jph</FONT></SPAN></DIV>
<DIV><SPAN class=3D201492510-12042006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#000000=20
size=3D2>___________________________</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>Dipl.-Ing. Jens-Peter =
C.=20
Hillers</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Remote Web Services GmbH</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>Tel: +49 40 25 49 06 =
22</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT><FONT =
face=3DArial color=3D#000000=20
size=3D2>Fax: +49 40 36 00 67 27</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT><FONT =
face=3DArial color=3D#000000=20
size=3D2>Email: <A=20
href=3D"mailto:[email protected]">[email protected]</A></FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>____________________________</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV><FONT face=3D"Times New Roman" size=3D2>-----Urspr=FCngliche=20
  Nachricht-----<BR><B>Von:</B> [email protected]=20
  [mailto:[email protected]]<B>Im Auftrag von</B> Jens-Peter C. =

  Hillers<BR><B>Gesendet am:</B> Dienstag, 11. April 2006 =
18:51<BR><B>An:</B>=20
  [email protected]<BR><B>Betreff:</B> Problems compiling with suse=20
  10.0<BR></DIV></FONT>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial size=3D2>Hi=20
  List,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial size=3D2>I =
just tried to=20
  compile WML (2.0.9) under SuSe 10.0 an dgot an =
error</FONT></SPAN></DIV>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial=20
  size=3D2>Message:</FONT></SPAN></DIV>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial=20
  size=3D2>.....................</FONT></SPAN></DIV>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial =
size=3D2>make[4]: Leaving=20
  directory /usr/local/src/wml-2.0.9/wml_backend/p2_mp4h'<BR>make[2]: =
Leaving=20
  directory /usr/local/src/wml-2.0.9/wml_backend/p3_eperl'<BR>cc -O2 =
-march=3Di586=20
  -mtune=3Di686 -fmessage-length=3D0 -Wall -D_FORTIFY_SOURCE=3D2 -g =
-Wall -pipe=20
  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING=20
  -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE =
-D_FILE_OFFSET_BITS=3D64=20
  -I/usr/lib/perl5/5.8.7/i586-linux-thread-multi/CORE -I. -c =
eperl_perl5.c<BR>In=20
  file included from eperl_perl5.c:40:<BR>eperl_proto.h:56: error: array =
type=20
  has incomplete element type<BR>make[2]: *** [eperl_perl5.o] Error=20
  1<BR>make[2]: Leaving directory =
/usr/local/src/wml-2.0.9/wml_backend'<BR>make:=20
  *** [all] Error=20
  =
1<BR>----------------------------------------------</FONT></SPAN></DIV>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial size=3D2>the =
correponding=20
  part of&nbsp;eperl_proto.h</FONT></SPAN></DIV>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial=20
  =
size=3D2>-----------------------------------------------</FONT></SPAN></D=
IV>
  <DIV><SPAN class=3D242403016-11042006><FONT face=3DArial=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; 40 /* eperl_main.c=20
  */<BR>&nbsp;&nbsp;&nbsp;&nbsp; 41 extern int =
mode;<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
  42 extern char *allowed_file_ext[];<BR>&nbsp;&nbsp;&nbsp;&nbsp; 43 =
extern char=20
  *allowed_caller_uid[];<BR>&nbsp;&nbsp;&nbsp;&nbsp; 44 extern void=20
  PrintError(int mode, char *scripturl, char *scriptfile, char *logfile, =
char=20
  *str, ...);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 45 extern void=20
  give_version(void);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 46 extern void=20
  give_readme(void);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 47 extern void=20
  give_license(void);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 48 extern void=20
  give_img_logo(void);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 49 extern void=20
  give_img_powered(void);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 50 extern void=20
  give_usage(char *name);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 51 extern char=20
  *RememberedINC[1024];<BR>&nbsp;&nbsp;&nbsp;&nbsp; 52 extern void=20
  RememberINC(char *str);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 53 extern void=20
  mysighandler(int rc);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 54 extern void=20
  myinit(void);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 55 extern void myexit(int=20
  rc);<BR>---&gt;56 extern struct option =
options[];<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
  57 extern int main(int argc, char **argv, char=20
  **env);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 58 <BR>&nbsp;&nbsp;&nbsp;&nbsp; 59 =
/*=20
  eperl_parse.c */<BR>&nbsp;&nbsp;&nbsp;&nbsp; 60 extern char=20
  *ePerl_begin_delimiter;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 61 extern char=20
  *ePerl_end_delimiter;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 62 extern int=20
  =
ePerl_case_sensitive_delimiters;<BR>-------------------------------------=
-------------</FONT></SPAN></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D242403016-11042006></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D242403016-11042006>have =
anybody some=20
  help for me ?</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D242403016-11042006></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D242403016-11042006>grusz</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D242403016-11042006>jph</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial =
size=3D2>___________________________</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Dipl.-Ing. Jens-Peter C. =
Hillers</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Remote Web Services GmbH</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Tel: +49 40 25 49 06 22</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2>Fax: +49 40 36 00=20
  67 27</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
color=3D#000000=20
  size=3D2>Email: <A=20
  href=3D"mailto:[email protected]">[email protected]</A></FONT></DIV>
  <DIV><FONT face=3DArial =
size=3D2>____________________________</FONT></DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00A6_01C65E2D.ACB6ACB0--

_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]