Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 22992 invoked from network); 6 Jun 2006 11:26:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2006 11:26:30 -0000 Received: (qmail 64001 invoked by uid 500); 6 Jun 2006 11:26:29 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 63991 invoked by uid 500); 6 Jun 2006 11:26:29 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 63980 invoked by uid 99); 6 Jun 2006 11:26:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 04:26:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of torsten.foertsch@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 06 Jun 2006 04:26:27 -0700 Received: (qmail invoked by alias); 06 Jun 2006 11:26:05 -0000 Received: from dialin096079.justdsl.de (EHLO opi.home) [85.25.96.79] by mail.gmx.net (mp027) with SMTP; 06 Jun 2006 13:26:05 +0200 X-Authenticated: #1700068 Received: by opi.home (Postfix, from userid 1000) id 97C47248E0; Tue, 6 Jun 2006 13:26:04 +0200 (CEST) From: Torsten Foertsch To: dev@perl.apache.org Subject: Re: compiling trunk on Suse Linux 10.1 Date: Tue, 6 Jun 2006 13:25:53 +0200 User-Agent: KMail/1.9.1 Cc: "Philip M. Gollucci" , Perl5 Porters References: <200606060958.42290.torsten.foertsch@gmx.net> <44854EF2.7030501@p6m7g8.com> In-Reply-To: <44854EF2.7030501@p6m7g8.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1265126.ZstRVMAEGN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606061326.04162.torsten.foertsch@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --nextPart1265126.ZstRVMAEGN Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 06 June 2006 11:46, Philip M. Gollucci wrote: > Torsten Foertsch wrote: > > Further on, in line 564 it complains about an illegal typecast. This > > Linux behaves in this regard obviously like Windows. > > > > =C2=A0 =C2=A0561 =C2=A0#ifdef WIN32 > > =C2=A0 =C2=A0562 =C2=A0 =C2=A0 =C2=A0PERL_SYS_INIT3(&argc, &argv, &env); > > =C2=A0 =C2=A0563 =C2=A0#else > > =C2=A0 =C2=A0564 =C2=A0 =C2=A0 =C2=A0(void)PERL_SYS_INIT3(&argc, &argv,= &env); > > =C2=A0 =C2=A0565 =C2=A0#endif /* WIN32 */ > > Any help on what this define should actually be is appreciated as I'm > getting lost in the perl.h and friends #define foo. > > P5P: > =C2=A0 =C2=A0Any help appreciated as to what this #ifdef should be. This is the correct error: cc -I/home/r2/work/mp2/trunk/r412021/src/modules/perl=20 =2DI/home/r2/work/mp2/trunk/r412021/xs -I/opt/apache22/include=20 =2DI/opt/apache22/include -I/opt/apache22/include -D_REENTRANT -D_GNU_SOUR= CE=20 =2DDTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe=20 =2DWdeclaration-after-statement=20 =2DI/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE -DMOD_PERL -DMP_COMPA= T_1X=20 =2DDLINUX=3D2 -D_LARGEFILE64_SOURCE -DAP_DEBUG -O2 -march=3Di586 -mtune=3Di= 686=20 =2Dfmessage-length=3D0 -Wall -D_FORTIFY_SOURCE=3D2 -g -Wall -pipe -fPIC -c= =20 mod_perl.c mod_perl.c: In function =E2=80=98modperl_sys_init=E2=80=99: mod_perl.c:564: error: invalid use of void expression The preprocessor converts line 564 into (void) (*Perl_Gsigfpe_saved_ptr(((void *)0))) =3D signal(8,=20 ((__sighandler_t) 1)); ; Torsten --nextPart1265126.ZstRVMAEGN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBEhWZMwicyCTir8T4RAh8JAKCX7yKHJrUQrEN83OhEgmcyexmOWACeJ7+C qNPIH2z1MqfABxgQ4JGHXbs= =gGe5 -----END PGP SIGNATURE----- --nextPart1265126.ZstRVMAEGN--