www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dermot McNally <r35...@email.mot.com>
Subject os-aix/5105: Compile problem - mod_include.c:1200: redefinition of `struct token'
Date Wed, 06 Oct 1999 10:02:20 GMT

>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
>Originator:     r3564c@email.mot.com
>Release:        1.3.9
uname -a: AIX hermesdev2 3 4 00810016A000
(AIX 4.3.2, gcc 2.95.1)
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.


(assuming my configuration is not to blame, but a poster to Usenet saw the
same problem)
Dirty hack as used by Usenet poster:
Rename the "struct token" in mod_include.c to something else - "stoken" for

There's bound to be a better solution, but the hack works nonetheless.
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@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!     ]

View raw message