Mailing List Archive

[mod_backhand-users] Compiling error
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0E94D.6D8137F4
Content-Type: text/plain;
charset="windows-1252"

Hi,

I tried to do a clean install of Apache (1.3.12) and backhand follow the
instruction. Had no problem in ./precompile, ./config --prefix..., but got
compiling error in make. Any clue? thanks!

Calvin

-------------------------------------------------
...

gcc -shared -o mod_speling.so mod_speling.lo
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX
-DUSE_EXPAT -I
../../lib/expat-lite `../../apaci` -fpic -DSHARED_MODULE mod_rewrite.c && mv
mod
_rewrite.o mod_rewrite.lo
gcc -shared -o mod_rewrite.so mod_rewrite.lo
<=== src/modules/standard
===> src/modules/backhand
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX
-DUSE_EXPAT -I
../../lib/expat-lite `../../apaci` mod_backhand.c
mod_backhand.c:37: `MAXPATHLEN' undeclared here (not in a function)
mod_backhand.c: In function `setup_sock_un':
mod_backhand.c:142: `MAXPATHLEN' undeclared (first use in this function)
mod_backhand.c:142: (Each undeclared identifier is reported only once
mod_backhand.c:142: for each function it appears in.)
mod_backhand.c: In function `setupUDPacl':
mod_backhand.c:231: `MAXHOSTNAMELEN' undeclared (first use in this function)
mod_backhand.c: In function `backhand_init':
mod_backhand.c:863: `MAXPATHLEN' undeclared (first use in this function)
mod_backhand.c: In function `backhand_child_init':
mod_backhand.c:989: `MAXPATHLEN' undeclared (first use in this function)
make[4]: *** [mod_backhand.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/apache/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/apache'
make: *** [build] Error 2

------_=_NextPart_001_01C0E94D.6D8137F4
Content-Type: text/html;
charset="windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>Compiling error</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi,</FONT>
</P>

<P><FONT SIZE=3D2>I tried to do a clean install of Apache (1.3.12) and =
backhand follow the instruction. Had no problem in ./precompile, =
./config --prefix..., but got compiling error in make. Any clue? =
thanks!</FONT></P>

<P><FONT SIZE=3D2>Calvin</FONT>
</P>

<P><FONT =
SIZE=3D2>-------------------------------------------------</FONT>
<BR><FONT SIZE=3D2>...</FONT>
</P>

<P><FONT SIZE=3D2>gcc -shared -o mod_speling.so mod_speling.lo</FONT>
<BR><FONT SIZE=3D2>gcc -c&nbsp; -I../../os/unix =
-I../../include&nbsp;&nbsp; -DLINUX=3D2 -DUSE_HSREGEX -DUSE_EXPAT =
-I</FONT>
<BR><FONT SIZE=3D2>../../lib/expat-lite `../../apaci` -fpic =
-DSHARED_MODULE mod_rewrite.c &amp;&amp; mv mod</FONT>
<BR><FONT SIZE=3D2>_rewrite.o mod_rewrite.lo</FONT>
<BR><FONT SIZE=3D2>gcc -shared -o mod_rewrite.so mod_rewrite.lo</FONT>
<BR><FONT SIZE=3D2>&lt;=3D=3D=3D src/modules/standard</FONT>
<BR><FONT SIZE=3D2>=3D=3D=3D&gt; src/modules/backhand</FONT>
<BR><FONT SIZE=3D2>gcc -c&nbsp; -I../../os/unix =
-I../../include&nbsp;&nbsp; -DLINUX=3D2 -DUSE_HSREGEX -DUSE_EXPAT =
-I</FONT>
<BR><FONT SIZE=3D2>../../lib/expat-lite `../../apaci` =
mod_backhand.c</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c:37: `MAXPATHLEN' undeclared here (not =
in a function)</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c: In function `setup_sock_un':</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c:142: `MAXPATHLEN' undeclared (first =
use in this function)</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c:142: (Each undeclared identifier is =
reported only once</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c:142: for each function it appears =
in.)</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c: In function `setupUDPacl':</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c:231: `MAXHOSTNAMELEN' undeclared =
(first use in this function)</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c: In function `backhand_init':</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c:863: `MAXPATHLEN' undeclared (first =
use in this function)</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c: In function =
`backhand_child_init':</FONT>
<BR><FONT SIZE=3D2>mod_backhand.c:989: `MAXPATHLEN' undeclared (first =
use in this function)</FONT>
<BR><FONT SIZE=3D2>make[4]: *** [mod_backhand.o] Error 1</FONT>
<BR><FONT SIZE=3D2>make[3]: *** [all] Error 1</FONT>
<BR><FONT SIZE=3D2>make[2]: *** [subdirs] Error 1</FONT>
<BR><FONT SIZE=3D2>make[2]: Leaving directory =
`/usr/local/apache/src'</FONT>
<BR><FONT SIZE=3D2>make[1]: *** [build-std] Error 2</FONT>
<BR><FONT SIZE=3D2>make[1]: Leaving directory =
`/usr/local/apache'</FONT>
<BR><FONT SIZE=3D2>make: *** [build] Error 2</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0E94D.6D8137F4--
[mod_backhand-users] Compiling error [ In reply to ]
On Wednesday, May 30, 2001, at 05:13 PM, Calvin Ling wrote:
> I tried to do a clean install of Apache (1.3.12) and backhand follow
> the instruction. Had no problem in ./precompile, ./config --prefix...,
> but got compiling error in make. Any clue? thanks!
>
> [snip errors on MAXHOSTNAMELEN and MAXPATHLEN]
>

That is very very strange. It compiles find on my Linux box. What
distribution and kernel are you running?

Checking out the latest CVS version should fix your problem.
Directions are available here:
http://commedia.cnds.jhu.edu/cgi-bin/viewcvs/

Just replace "test_project" in the examples with "mod_backhand".

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
[mod_backhand-users] Compiling error [ In reply to ]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0E952.8DD011EC
Content-Type: text/plain;
charset="windows-1252"

I downloaded mod_backhand-1.1.1pre4, we have redhat6.2.

Don't have cvs here though, any suggestions?

Calvin

-----Original Message-----
From: Theo Schlossnagle [mailto:jesus@omniti.com]
Sent: Wednesday, May 30, 2001 2:24 PM
To: backhand-users@lists.backhand.org
Subject: Re: [mod_backhand-users] Compiling error


On Wednesday, May 30, 2001, at 05:13 PM, Calvin Ling wrote:
> I tried to do a clean install of Apache (1.3.12) and backhand follow
> the instruction. Had no problem in ./precompile, ./config --prefix...,
> but got compiling error in make. Any clue? thanks!
>
> [snip errors on MAXHOSTNAMELEN and MAXPATHLEN]
>

That is very very strange. It compiles find on my Linux box. What
distribution and kernel are you running?

Checking out the latest CVS version should fix your problem.
Directions are available here:
http://commedia.cnds.jhu.edu/cgi-bin/viewcvs/

Just replace "test_project" in the examples with "mod_backhand".

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7

_______________________________________________
backhand-users mailing list
backhand-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/backhand-users

------_=_NextPart_001_01C0E952.8DD011EC
Content-Type: text/html;
charset="windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>RE: [mod_backhand-users] Compiling error</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I downloaded mod_backhand-1.1.1pre4, we have =
redhat6.2.</FONT>
</P>

<P><FONT SIZE=3D2>Don't have cvs here though, any suggestions?</FONT>
</P>

<P><FONT SIZE=3D2>Calvin</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Theo Schlossnagle [<A =
HREF=3D"mailto:jesus@omniti.com">mailto:jesus@omniti.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, May 30, 2001 2:24 PM</FONT>
<BR><FONT SIZE=3D2>To: backhand-users@lists.backhand.org</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [mod_backhand-users] Compiling =
error</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>On Wednesday, May 30, 2001, at 05:13&nbsp; PM, Calvin =
Ling wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; I tried to do a clean install of Apache =
(1.3.12) and backhand follow </FONT>
<BR><FONT SIZE=3D2>&gt; the instruction. Had no problem in =
./precompile, ./config --prefix..., </FONT>
<BR><FONT SIZE=3D2>&gt; but got compiling error in make. Any clue? =
thanks!</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; [snip errors on MAXHOSTNAMELEN and =
MAXPATHLEN]</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
</P>

<P><FONT SIZE=3D2>That is very very strange.&nbsp; It compiles find on =
my Linux box.&nbsp; What </FONT>
<BR><FONT SIZE=3D2>distribution and kernel are you running?</FONT>
</P>

<P><FONT SIZE=3D2>Checking out the latest CVS version should fix your =
problem.</FONT>
<BR><FONT SIZE=3D2>Directions are available here:</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; <A =
HREF=3D"http://commedia.cnds.jhu.edu/cgi-bin/viewcvs/" =
TARGET=3D"_blank">http://commedia.cnds.jhu.edu/cgi-bin/viewcvs/</A></FON=
T>
</P>

<P><FONT SIZE=3D2>Just replace &quot;test_project&quot; in the examples =
with &quot;mod_backhand&quot;.</FONT>
</P>

<P><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Theo Schlossnagle</FONT>
<BR><FONT SIZE=3D2>1024D/82844984/95FD 30F1 489E 4613 F22E&nbsp; 491A =
7E88 364C 8284 4984</FONT>
<BR><FONT SIZE=3D2>2047R/33131B65/71 F7 95 64 49 76 5D BA&nbsp; 3D 90 =
B9 9F BE 27 24 E7</FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>backhand-users mailing list</FONT>
<BR><FONT SIZE=3D2>backhand-users@lists.backhand.org</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.backhand.org/mailman/listinfo/backhand-users" =
TARGET=3D"_blank">http://lists.backhand.org/mailman/listinfo/backhand-us=
ers</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0E952.8DD011EC--