[Top][All Lists]

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

Re: problem linking

From: Thomas Dickey
Subject: Re: problem linking
Date: Wed, 29 Aug 2007 06:24:22 -0400 (EDT)

On Wed, 29 Aug 2007, Michail Vidiassov wrote:

Dear Thomas,

whaen I was trying to compile development version of ncurses (without libtool),
the folowing problem surfaced

I split-out tack in one of the patches earlier this year; there is a separate tack tarball on my ftp area which is supposed to work. The
change you're describing is one of the 2-3 modifications made at/after
the time it was split-out.

/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 :

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

Bug-ncurses mailing list

Thomas E. Dickey

reply via email to

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