[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem compile static (apparatly between libc.a and regex_internal.c)
From: |
Vincent Carpier - CRU |
Subject: |
problem compile static (apparatly between libc.a and regex_internal.c) |
Date: |
Wed, 05 Oct 2005 16:43:20 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
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*
--
Vincent Carpier
Comité Réseau des Universités
http://www.cru.fr
--
Périodique électronique des activités du CRU -> http://www.cru.fr/echo/
--
Validation signature -> http://igc.cru.fr/trust.html
--
Informations sur la signature électronique et les certificats
http://www.cru.fr/igc
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- problem compile static (apparatly between libc.a and regex_internal.c),
Vincent Carpier - CRU <=