bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #14722] problem compile static (apparatly between libc.a and regex_


From: anonymous
Subject: [bug #14722] problem compile static (apparatly between libc.a and regex_internal.c)
Date: Wed, 5 Oct 2005 14:37:58 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14722>

                 Summary: problem compile static (apparatly between libc.a
and regex_internal.c)
                 Project: Concurrent Versions System
            Submitted by: None
            Submitted on: Wed 10/05/05 at 14:37
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: 
           Fixed Release: None
   Fixed Feature Release: None

    _______________________________________________________

Details:

Hello,

I try to compile the 1.12.13 (issue from http://ftp.gnu.org/non-gnu/cvs/).
but apparrently, there is a collision/conflit between libc.a and
regex_internal.c)

Any idea ?

# setenv LDFLAGS -static
# configure
# make

.....
gcc  -g -O2  -static -Lno/lib -o cvs  add.o admin.o annotate.o buffer.o
checkin.o checkout.o classify.o client.o commit.o create_adm.o cvsrc.o diff.o
edit.o entries.o error.o exithandle.o expand_path.o fileattr.o filesubr.o
find_names.o hardlink.o hash.o history.o ignore.o import.o lock.o log.o
log-buffer.o login.o logmsg.o ls.o main.o mkmodules.o modules.o ms-buffer.o
myndbm.o no_diff.o parseinfo.o patch.o rcs.o rcscmds.o recurse.o release.o
remove.o repos.o root.o rsh-client.o run.o scramble.o server.o stack.o
status.o subr.o tag.o update.o version.o vers_ts.o watch.o wrapper.o zlib.o 
../diff/libdiff.a ../lib/libcvs.a ../zlib/libz.a -lrt   -lcrypt -lnsl 
server.o(.text+0x4d1f): In function `pserver_authenticate_connection':
/usr/local/src/cvs-1.12.13/src/server.c:6574: warning: Using 'initgroups' in
statically linked applications requires at runtime the shared libraries from
the glibc version used for linking
admin.o(.text+0x80f): In function `admin':
/usr/local/src/cvs-1.12.13/src/admin.c:449: warning: Using 'getgrnam' in
statically linked applications requires at runtime the shared libraries from
the glibc version used for linking
commit.o(.text+0x7cb): In function `commit':
/usr/local/src/cvs-1.12.13/src/commit.c:363: warning: Using 'getpwnam' in
statically linked applications requires at runtime the shared libraries from
the glibc version used for linking
filesubr.o(.text+0xee4): In function `get_homedir':
/usr/local/src/cvs-1.12.13/src/filesubr.c:813: warning: Using 'getpwuid' in
statically linked applications requires at runtime the shared libraries from
the glibc version used for linking
../lib/libcvs.a(glob.o)(.text+0x111d): In function `rpl_glob':
/usr/local/src/cvs-1.12.13/lib/glob.c:656: warning: Using 'getpwnam_r' in
statically linked applications requires at runtime the shared libraries from
the glibc version used for linking
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libc.a(regex.o)(.rodata+0x0):
multiple definition of `__re_error_msgid_idx'
../lib/libcvs.a(regex.o)(.rodata+0x0):/usr/local/src/cvs-1.12.13/lib/regex_internal.c:166:
first defined here
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libc.a(regex.o)(.rodata+0x60):
multiple definition of `__re_error_msgid'
../lib/libcvs.a(regex.o)(.rodata+0x60):/usr/local/src/cvs-1.12.13/lib/regex_internal.c:172:
first defined here
../lib/libcvs.a(canon-host.o)(.text+0x2b): In function `canon_host_r':
/usr/local/src/cvs-1.12.13/lib/canon-host.c:71: warning: Using 'getaddrinfo'
in statically linked applications requires at runtime the shared libraries
from the glibc version used for linking
server.o(.text+0x4bee): In function `pserver_authenticate_connection':
/usr/local/src/cvs-1.12.13/src/server.c:6944: warning: Using 'getspnam' in
statically linked applications requires at runtime the shared libraries from
the glibc version used for linking
client.o(.text+0x4ff9): In function `init_sockaddr':
/usr/local/src/cvs-1.12.13/src/client.c:5166: warning: Using 'gethostbyname'
in statically linked applications requires at runtime the shared libraries
from the glibc version used for linking
client.o(.text+0x3b72): In function `get_port_number':
/usr/local/src/cvs-1.12.13/src/client.c:3370: warning: Using 'getservbyname'
in statically linked applications requires at runtime the shared libraries
from the glibc version used for linking
collect2: ld returned 1 exit status
make[2]: *** [cvs] Error 1
make[2]: Leaving directory `/usr/local/src/cvs-1.12.13/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cvs-1.12.13'
make: *** [all] Error 2







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14722>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]