You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Rainer Scholz <Ra...@baeurer.de> on 2000/06/28 12:50:09 UTC

build/6250: ld values-Xa.o: unknown flag: Bexport

>Number:         6250
>Category:       build
>Synopsis:       ld values-Xa.o: unknown flag: Bexport
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jun 28 04:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Rainer.Scholz@baeurer.de
>Release:        1.3.13
>Organization:
apache
>Environment:
uname -a: SCO_SV castor 3.2 2 i386 (SCO OpenServer 5.0.[24])

swconfig: SCO Optimizing C Compiler 2.1.4, SCO OpenServer Enterprise System 5.0.2c
>Description:
make results in:
--------------
<=== modules
        cc -c  -I./os/unix -I./include   -DSCO5 -K noinline -DUSE_EXPAT -I./lib/
expat-lite `./apaci` modules.c
        cc -c  -I./os/unix -I./include   -DSCO5 -K noinline -DUSE_EXPAT -I./lib/
expat-lite `./apaci` buildmark.c
        cc  -DSCO5 -K noinline -DUSE_EXPAT -I./lib/expat-lite `./apaci`   
-Wl,-Bexport \
              -o httpd buildmark.o modules.o  modules/standard/libstandard.a  ma
in/libmain.a  ./os/unix/libos.a  ap/libap.a  lib/expat-lite/libexpat.a  -lsocket
 -lmalloc -lprot -ltinfo -lx -lm
ld values-Xa.o: unknown flag: Bexport
*** Error code 1 (bu21)
-----------------------------

after removing -Wl,-Bexport I got:
------------------------------
root@castor:/usr3/port/apache/apache_1.3.12/src# cc  -DSCO5 -K noinline -DUSE_EX
PAT -I./lib/expat-lite `./apaci`    -o httpd buildmark.o modules.o  module
s/standard/libstandard.a  main/libmain.a  ./os/unix/libos.a  ap/libap.a  lib/exp
at-lite/libexpat.a  -lsocket -lmalloc -lprot -ltinfo -lx -lm -lc               
undefined                       first referenced
 symbol                             in file
_dlopen                             ./os/unix/libos.a
_dlclose                            ./os/unix/libos.a
_dlsym                              ./os/unix/libos.a
_dlerror                            ./os/unix/libos.a
ld fatal: Symbol referencing errors. No output written to httpd
------------------------------
>How-To-Repeat:

>Fix:
Replacing "-Wl,-Bexport" with "-Bdynamic" will fix the error.
>Release-Note:
>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!     ]