[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem linking
From: |
Michail Vidiassov |
Subject: |
problem linking |
Date: |
Wed, 29 Aug 2007 11:22:39 +0400 (MSD) |
Dear Thomas,
whaen I was trying to compile development version of ncurses (without libtool),
the folowing problem surfaced
/usr/bin/gcc-4.0 /usr/bin/gcc-4.0 ../obj_s/ansi.o ../obj_s/charset.o
../obj_s/color.o
../obj_s/control.o ../obj_s/crum.o ../obj_s/edit.o ../obj_s/fun.o
../obj_s/init.o ../obj_s/menu.o
../obj_s/modes.o ../obj_s/output.o ../obj_s/pad.o ../obj_s/scan.o
../obj_s/sync.o ../obj_s/sysdep.o
../obj_s/tack.o -L../lib -lncursesw -L/opt/local/lib -Wl,-search_paths_first
-DHAVE_CONFIG_H
-I../tack -I. -I. -I../include -I/opt/local/include -U_XOPEN_SOURCE
-D_XOPEN_SOURCE=500 -DSIGWINCH=28
-D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include -O2 --param
max-inline-insns-single=1200
-no-cpp-precomp -dynamic -o tack
/usr/bin/ld: /usr/bin/gcc-4.0 is input for the dynamic link editor,
is not relocatable by the static link editor again
as you can see, gcc is mentioned twice in the beginning of the line.
is is caused by the following line in tack/Makefile.in :
LINK = @LINK_PROGS@ $(LIBTOOL_LINK) $(CC)
That line was there at 5.6, but it did not bite, since LIBTOOL_LINK was set to
nothing.
But now, in the development version, LIB_LINK, and thus LIBTOOL_LINK, is set to
CC by configure.
Looks like a bug.
Sincerely, Michail
- problem linking,
Michail Vidiassov <=