Closed Bug 293042 Opened 20 years ago Closed 20 years ago

Cannot build LDAP C SDK on Solaris with gcc

Categories

(Directory Graveyard :: LDAP C SDK, defect)

Other
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: richm, Assigned: richm)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2 There are a couple of problems. NSPR/NSS use _gcc in the OBJDIR name which causes those files not to be found when using the "external" build method (i.e. configure --with-nss then build). In addition, for 64 bit platforms, the -m64 flag needs to be passed to the compiler. Reproducible: Always
Attached file Allow use of gcc on Solaris (obsolete) —
This is the minimal work required to make it work at all. Note that you have to pass in CC=gcc CXX=g++ CCC=g++ to the configure command environment in order for the build to use gcc, and you have to define NS_USE_GCC=1 in the gmake command.
Attachment #182696 - Attachment is obsolete: true
Assignee: mcs → richm
Checking in mozilla/directory/c-sdk/build.mk; /cvsroot/mozilla/directory/c-sdk/build.mk,v <-- build.mk new revision: 5.17; previous revision: 5.16 done Checking in mozilla/directory/c-sdk/configure; /cvsroot/mozilla/directory/c-sdk/configure,v <-- configure new revision: 5.26; previous revision: 5.25 done Checking in mozilla/directory/c-sdk/configure.in; /cvsroot/mozilla/directory/c-sdk/configure.in,v <-- configure.in new revision: 5.27; previous revision: 5.26 done Checking in mozilla/directory/c-sdk/config/SunOS5.mk; /cvsroot/mozilla/directory/c-sdk/config/SunOS5.mk,v <-- SunOS5.mk new revision: 5.4; previous revision: 5.3 done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: