You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Stefan Muehlebach <mu...@htl-bw.ch> on 1998/05/08 10:40:51 UTC

os-next/2205: Additional compiler-option needed.

>Number:         2205
>Category:       os-next
>Synopsis:       Additional compiler-option needed.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Fri May  8 01:50:00 PDT 1998
>Last-Modified:
>Originator:     muehleba@htl-bw.ch
>Organization:
apache
>Release:        1.3b6
>Environment:
NextStep 3.3 with Developer 3.3 under HPPA
>Description:
Under NextStep the procedure 'strdup' is not defined in the normal c-library
but in a special 'gnu'-library (libg++.a).
If you compile the package and it comes to linking all together, the compiler
says that it cannot find 'strdup' and exits.
>How-To-Repeat:

>Fix:
In the file 'src/Configure' is a large case-statement which adds some
compiler-options for every supported plattform.
For NextStep (search for '*-next-nextstep*') just add the line
'LIBS=$LIBS -lg++' and all works fine.
>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 leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]