You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Dermot McNally <r3...@email.mot.com> on 1999/10/06 12:02:20 UTC
os-aix/5105: Compile problem - mod_include.c:1200: redefinition of `struct token'
>Number: 5105
>Category: os-aix
>Synopsis: Compile problem - mod_include.c:1200: redefinition of `struct token'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Oct 6 03:10:01 PDT 1999
>Last-Modified:
>Originator: r3564c@email.mot.com
>Organization:
apache
>Release: 1.3.9
>Environment:
uname -a: AIX hermesdev2 3 4 00810016A000
(AIX 4.3.2, gcc 2.95.1)
>Description:
Build messages leading up to failure:
===> src/modules
===> src/modules/standard
gcc -c -I../../os/unix -I../../include -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` mod_env.c
gcc -c -I../../os/unix -I../../include -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` mod_log_config.c
gcc -c -I../../os/unix -I../../include -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` mod_mime.c
gcc -c -I../../os/unix -I../../include -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` mod_negotiation.c
gcc -c -I../../os/unix -I../../include -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` mod_status.c
gcc -c -I../../os/unix -I../../include -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` mod_include.c
mod_include.c:1200: redefinition of `struct token'
make: 1254-004 The error code from the last command is 1.
Stop.
>How-To-Repeat:
./configure
make
(assuming my configuration is not to blame, but a poster to Usenet saw the
same problem)
>Fix:
Dirty hack as used by Usenet poster:
Rename the "struct token" in mod_include.c to something else - "stoken" for
instance.
There's bound to be a better solution, but the hack works nonetheless.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]