Issue 592 - rcpt500 won't link against -lbind
Summary: rcpt500 won't link against -lbind
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: 2000-06-14 18:27 UTC by helm@fionn.es.net
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 helm@fionn.es.net 2000-06-14 18:27:53 UTC
Full_Name: michael helm
Version: 1.2.7-globus
OS: solaris
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (198.128.1.30)


cc -g -O -xildoff -I/usr/local/bind/include -I/usr/local/include
-I../../include
 -I../../../openldap/include -DHAVE_CO
NFIG_H -L/export/home/helm/project/openldap/SunOS.5.7-globus/libraries
-L/usr/lo
cal/bind/lib -o rcpt500 version.o main
.o cmds.o help.o query.o -lldap -llber -llutil -lbind -lgen -lnsl -lsocket
ld: fatal: symbol `cmds' is multiply defined:
        (file cmds.o and file /usr/local/bind/lib/libbind.a(prandom.o));
ld: fatal: File processing errors. No output written to rcpt500
make[2]: *** [rcpt500] Error 1


There's a global data symbol "cmds" in both the openldap file & the 
bind subroutine prandom.c
nm libbind.a | egrep -i cmd
[27]    |         0|      32|OBJT |GLOB |0    |4      |cmds
surya% pwd
/export/home/helm/project/openldap/SunOS.5.7-globus/clients/rcpt500
surya% !nm
nm cmds.o | egrep cmd
cmds.o:
[14]    |         0|     120|OBJT |GLOB |0    |4      |cmds
[1]     |         0|       0|FILE |LOCL |0    |ABS    |cmds.c
[15]    |         0|       0|NOTY |GLOB |0    |UNDEF  |help_cmd
[16]    |         0|       0|NOTY |GLOB |0    |UNDEF  |query_cmd



Comment 1 Kurt Zeilenga 2000-06-14 18:53:56 UTC
This was previously reported (ITS#526) and fixed in OpenLDAP 1.2.11.

Kurt

At 06:27 PM 6/14/00 GMT, helm@fionn.es.net wrote:
>Full_Name: michael helm
>Version: 1.2.7-globus
>OS: solaris
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (198.128.1.30)
>
>
>cc -g -O -xildoff -I/usr/local/bind/include -I/usr/local/include
>-I../../include
> -I../../../openldap/include -DHAVE_CO
>NFIG_H -L/export/home/helm/project/openldap/SunOS.5.7-globus/libraries
>-L/usr/lo
>cal/bind/lib -o rcpt500 version.o main
>.o cmds.o help.o query.o -lldap -llber -llutil -lbind -lgen -lnsl -lsocket
>ld: fatal: symbol `cmds' is multiply defined:
>        (file cmds.o and file /usr/local/bind/lib/libbind.a(prandom.o));
>ld: fatal: File processing errors. No output written to rcpt500
>make[2]: *** [rcpt500] Error 1
>
>
>There's a global data symbol "cmds" in both the openldap file & the 
>bind subroutine prandom.c
>nm libbind.a | egrep -i cmd
>[27]    |         0|      32|OBJT |GLOB |0    |4      |cmds
>surya% pwd
>/export/home/helm/project/openldap/SunOS.5.7-globus/clients/rcpt500
>surya% !nm
>nm cmds.o | egrep cmd
>cmds.o:
>[14]    |         0|     120|OBJT |GLOB |0    |4      |cmds
>[1]     |         0|       0|FILE |LOCL |0    |ABS    |cmds.c
>[15]    |         0|       0|NOTY |GLOB |0    |UNDEF  |help_cmd
>[16]    |         0|       0|NOTY |GLOB |0    |UNDEF  |query_cmd
>
>
>
>
>
>
Comment 2 Kurt Zeilenga 2000-06-16 10:55:07 UTC
changed notes
changed state Open to Closed
Comment 3 OpenLDAP project 2014-08-01 21:06:11 UTC
previously fixed