bug-bash
[Top][All Lists]
Advanced

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

collect2: ld returned 1 exit status


From: Kasper
Subject: collect2: ld returned 1 exit status
Date: Tue, 20 Feb 2007 20:07:26 +0300

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-g$uname
output: Linux home 2.6.17-gentoo #9 Fri Dec 22 20:45:00 MSK 2006 x86_64
AMD Athlon(tm) 64 Processor 3700+ AuthenticAM$Machine Type:
x86_64-pc-linux-gnu

Bash Version: 3.2
Patch Level: 9
Release Status: release

make[1]: Leaving directory `/mnt/lfs/static/src/bash-3.2/lib/malloc'
rm -f bash
gcc -s -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob
-L./lib/tilde -L./lib/malloc -L./lib/sh -static -static -rdynamic  -g
-O2 -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o
dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o
flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o
unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o
arrayfunc.o braces.o bracecomp.o bashhist.o bashline.o  list.o
stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o
xmalloc.o  -lbuiltins -lsh -lreadline -lhistory -lcurses -lglob -ltilde
-lmalloc bashline.o: In function
`bash_groupname_completion_function': 
/mnt/lfs/static/src/bash-3.2/bashline.c:1818:
warning: Using 'getgrent' in statically linked applications requires at
runtime the shared libraries from the glibc version used for
linking /mnt/lfs/static/src/bash-3.2/bashline.c:1812: warning: Using
'setgrent' in statically linked applications requires at runtime the
shared libraries from the glibc version used for
linking /mnt/lfs/static/src/bash-3.2/bashline.c:1823: warning: Using
'endgrent' in statically linked applications requires at runtime the
shared libraries from the glibc version used for
linking ./lib/readline/libreadline.a(complete.o): In function
`rl_username_completion_function': 
/mnt/lfs/static/src/bash-3.2/lib/readline/complete.c:1860:
warning: Using 'getpwent' in statically linked applications requires at
runtime the shared libraries from the glibc version used for
linking ./lib/readline/libreadline.a(tilde.o): In function
`tilde_expand_word': ./tilde.c:390: warning: Using 'getpwnam' in
statically linked applications requires at runtime the shared libraries
from the glibc version used for linking shell.o: In function
`get_current_user_info': /mnt/lfs/static/src/bash-3.2/shell.c:1589:
warning: Using 'getpwuid' in statically linked applications requires at
runtime the shared libraries from the glibc version used for
linking ./lib/readline/libreadline.a(complete.o): In function
`rl_username_completion_function': 
/mnt/lfs/static/src/bash-3.2/lib/readline/complete.c:1852:
warning: Using 'setpwent' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
shell.o: In function
`get_current_user_info': /mnt/lfs/static/src/bash-3.2/shell.c:1605:
warning: Using 'endpwent' in statically linked applications requires at
runtime the shared libraries from the glibc version used for
linking ./lib/sh/libsh.a(netopen.o): In function
`netopen': /mnt/lfs/static/src/bash-3.2/lib/sh/netopen.c:229: warning:
Using 'getaddrinfo' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
bashline.o: In function
`bash_servicename_completion_function': 
/mnt/lfs/static/src/bash-3.2/bashline.c:1776:
warning: Using 'getservent' in statically linked applications requires
at runtime the shared libraries from the glibc version used for
linking /mnt/lfs/static/src/bash-3.2/bashline.c:1756: warning: Using
'setservent' in statically linked applications requires at runtime the
shared libraries from the glibc version used for
linking /mnt/lfs/static/src/bash-3.2/bashline.c:1781: warning: Using
'endservent' in statically linked applications requires at runtime the
shared libraries from the glibc version used for
linking 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64/libc.a(malloc.o):
In function `free': : multiple definition of
`free' 
./lib/malloc/libmalloc.a(malloc.o):/mnt/lfs/static/src/bash-3.2/lib/malloc/malloc.c:1270:
first defined
here 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
Warning: size of symbol `free' changed from 61
in ./lib/malloc/libmalloc.a(malloc.o) to 154
in /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64/libc.a(malloc.o) 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64/libc.a(malloc.o):
In function `malloc': : multiple definition of
`malloc' 
./lib/malloc/libmalloc.a(malloc.o):/mnt/lfs/static/src/bash-3.2/lib/malloc/malloc.c:1255:
first defined
here 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
Warning: size of symbol `malloc' changed from 61
in ./lib/malloc/libmalloc.a(malloc.o) to 466
in /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64/libc.a(malloc.o) 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64/libc.a(malloc.o):
In function `realloc': : multiple definition of
`realloc' 
./lib/malloc/libmalloc.a(malloc.o):/mnt/lfs/static/src/bash-3.2/lib/malloc/malloc.c:1263:
first defined
here 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
Warning: size of symbol `realloc' changed from 62
in ./lib/malloc/libmalloc.a(malloc.o) to 529
in /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64/libc.a(malloc.o)
collect2: ld returned 1 exit status make: *** [bash] Ошибка 1





reply via email to

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