Issue 108 - help
Summary: help
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-03-23 15:09 UTC by Joe Zhou
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Zhou 1999-03-23 15:09:28 UTC
Hi:


Now I try to compile OpenLDAP release 1.2 on HP unix.
According to INSTALL instructions, when I type "make depend", 
I got the following errors:
.
.
.
cd tools; make  depend
cc: warning 422: Unknown option "M" ignored.
cc: "../../../include/ldap.h", line 516: warning 617: Redeclaration of
tag "timeval" ignore
d.
cc: "../../../include/ldap.h", line 516: warning 617: Redeclaration of
tag "timeval" ignore
d.
cc: "../../../include/ldap.h", line 516: warning 617: Redeclaration of
tag "timeval" ignore
d.
cc: "../../../include/ldap.h", line 516: warning 617: Redeclaration of
tag "timeval" ignore
d.
cc: "../../../include/ldap.h", line 516: warning 617: Redeclaration of
tag "timeval" ignore
d.
cc: "../../../include/ldap.h", line 516: warning 617: Redeclaration of
tag "timeval" ignore
d.
cc: "../../../include/ldap.h", line 516: warning 617: Redeclaration of
tag "timeval" ignore
d.
cc: "../../../include/ldap.h", line 516: warning 617: Redeclaration of
tag "timeval" ignore
d.
cc: "../../../include/ldap.h", line 516: warning 617: Redeclaration of
tag "timeval" ignore
d.
/usr/ccs/bin/ld: Duplicate symbol "main" in files centipede.o and
ldbmcat.o
/usr/ccs/bin/ld: Duplicate symbol "main" in files centipede.o and
ldbmtest.o
/usr/ccs/bin/ld: Duplicate symbol "main" in files centipede.o and
sizecount.o
/usr/ccs/bin/ld: Duplicate symbol "main" in files centipede.o and ldif.o
/usr/ccs/bin/ld: Duplicate symbol "main" in files centipede.o and
ldif2id2children.o
/usr/ccs/bin/ld: Duplicate symbol "main" in files centipede.o and
ldif2id2entry.o
/usr/ccs/bin/ld: Duplicate symbol "main" in files centipede.o and
ldif2index.o
/usr/ccs/bin/ld: Duplicate symbol "main" in files centipede.o and
ldif2ldbm.o
/usr/ccs/bin/ld: Unsatisfied symbols:
   ldap_msgfree (code)
   ldap_bind_s (code)
   ldap_value_free_len (code)
   be_issuffix (code)
   ldap_result2error (code)
   idl_insert_key (code)
   ldif_type_and_value (code)
    .
    .
    .
   idl_nextid (code)
   ldap_mods_free (code)
   ldbm_delete (code)
   str_parse_line (code)
   word_dup (code)
   ldap_unbind (code)
   ldbm_errno (code)
   first_word (code)
   ldap_modify_s (code)
   ldap_get_values (code)
   init (code)
   backends (data)
   ldap_open (code)
   ldap_search (code)
   ldap_result (code)
   ldap_add_s (code)
   ch_realloc (code)
   ldbm_close (code)
/usr/ccs/bin/ld: Found 8 duplicate symbol(s)

There would have more errors.

I do not know if I need to do some changes when compiling on HP UNIX.


I'd appreciate if someone have some ideas.

Thanks,

Joe  
   

Thanks,


Joe
Comment 1 Kurt Zeilenga 1999-03-26 17:59:22 UTC
At 03:10 PM 3/23/99 GMT, jyzhou@nortelnetworks.com wrote:
>Now I try to compile OpenLDAP release 1.2 on HP unix.
>According to INSTALL instructions, when I type "make depend", 
>I got the following errors:

You C translator apparently doesn't use the -M option to generate
dependencies.   It may use -xM or something.  Check cc(1).  You
can then hack build/mkdep to use the appropriate option.

Or you can fetch the latest mkdep script from the CVS repository.
It supports the environment variable CC_MKDEP_FLAGS that can
be set to -xM or whatever.   ie:

env CC_MKDEP_FLAGS=-xM make depend

Kurt
Comment 2 Kurt Zeilenga 1999-03-26 18:49:53 UTC
changed notes
changed state Open to Closed
Comment 3 OpenLDAP project 2014-08-01 21:06:07 UTC
Provided workaround.