bug-ncurses
[Top][All Lists]
Advanced

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

[NEW && PATCH] ncurses fails to build on AIX 5.2 (with libtool 1.5.14)


From: ltg
Subject: [NEW && PATCH] ncurses fails to build on AIX 5.2 (with libtool 1.5.14)
Date: Tue, 22 Mar 2005 22:27:29 +0100 (CET)

Hi,

I created a quick and dirty fix (because I do not have the time
to tear libtool apart in order to understand what it is exactly
doing) for this problem:

  ncurses fails to build on AIX 5.2 (with libtool 1.5.10)
    (see the bug report as of 15.03.2005 for details).

Here comes the patch (it's against ncurses-5.4.20050320):
---------8<-----------8<------------8<-----------8<-------
--- progs/Makefile.in.orig      2005-03-21 18:28:10.000000000 +0100
+++ progs/Makefile.in   2005-03-22 18:51:31.000000000 +0100
@@ -190,11 +190,19 @@
 # Utilities normally built by make all start here
 #

+WRONG_PLACE = .libs
+
 DEPS_TIC = \
        $(MODEL)/tic$o \
        $(MODEL)/dump_entry$o

+DEPS_TIC_MISPLACED = \
+       $(MODEL)/$(WRONG_PLACE)/tic$o \
+       $(MODEL)/$(WRONG_PLACE)/dump_entry$o
+
 tic$x: $(DEPS_TIC) $(DEPS_CURSES) transform.h
+       test -n $(MODEL) -a $(MODEL) = "../obj_lo" -a -d $(MODEL)/.libs
+         mv $(DEPS_TIC_MISPLACED) $(MODEL)
        @ECHO_LINK@ $(LINK) $(DEPS_TIC) $(LDFLAGS_DEFAULT) -o $@

 DEPS_TOE = \
---------8<-----------8<------------8<-----------8<-------

After applying this pathch, the old bug went away,
only to be replaced by the following one:

[stuff deleted]

/usr/local/bin/libtool --mode=compile gcc -maix64 -I../progs -I.
-DHAVE_CONFIG_H -I. -I../include  -I/usr/local/include/ncurses
 -g -O9 -maix64 -c ../progs/tic.c -o ../obj_lo/tic.o
gcc -maix64 -I../progs -I. -DHAVE_CONFIG_H -I. -I../include
-I/usr/local/include/ncurses -g -O9 -maix64 -I../progs -I. -DHAVE_C
ONFIG_H -I. -I../include -I/usr/local/include/ncurses -g -O9 -maix64 -c
../progs/tic.c  -DPIC -o ../obj_lo/.libs/tic.o
/usr/local/bin/libtool --mode=compile gcc -maix64 -I../progs -I.
-DHAVE_CONFIG_H -I. -I../include  -I/usr/local/include/ncurses
 -g -O9 -maix64 -c ../progs/dump_entry.c -o ../obj_lo/dump_entry.o
 gcc -maix64 -I../progs -I. -DHAVE_CONFIG_H -I. -I../include
-I/usr/local/include/ncurses -g -O9 -maix64 -c ../progs/dump_entry
.c  -DPIC -o ../obj_lo/.libs/dump_entry.o
test -n ../obj_lo -a ../obj_lo = "../obj_lo" -a -d ../obj_lo/.libs
mv ../obj_lo/.libs/tic.o ../obj_lo/.libs/dump_entry.o ../obj_lo
/usr/local/bin/libtool --mode=link gcc -maix64 ../obj_lo/tic.o
../obj_lo/dump_entry.o  -I../progs -I. -DHAVE_CONFIG_H -I. -I../
include  -I/usr/local/include/ncurses -g -O9 -maix64 -o tic
mkdir .libs
gcc -maix64 ../obj_lo/tic.o ../obj_lo/dump_entry.o -I../progs -I.
-DHAVE_CONFIG_H -I. -I../include -I/usr/local/include/ncurses
 -g -O9 -maix64 -o tic
ld: 0711-317 ERROR: Undefined symbol: ._nc_rootname
ld: 0711-317 ERROR: Undefined symbol: .use_extended_names
ld: 0711-317 ERROR: Undefined symbol: _nc_tracing
ld: 0711-317 ERROR: Undefined symbol: ._nc_doalloc
ld: 0711-317 ERROR: Undefined symbol: ._nc_get_hash_table
ld: 0711-317 ERROR: Undefined symbol: ._nc_find_entry
ld: 0711-317 ERROR: Undefined symbol: strcodes
ld: 0711-317 ERROR: Undefined symbol: numcodes
ld: 0711-317 ERROR: Undefined symbol: boolcodes
ld: 0711-317 ERROR: Undefined symbol: boolnames
ld: 0711-317 ERROR: Undefined symbol: numnames
ld: 0711-317 ERROR: Undefined symbol: strnames
ld: 0711-317 ERROR: Undefined symbol: boolfnames
ld: 0711-317 ERROR: Undefined symbol: numfnames
ld: 0711-317 ERROR: Undefined symbol: strfnames
ld: 0711-317 ERROR: Undefined symbol: ._nc_warning
ld: 0711-317 ERROR: Undefined symbol: _nc_user_definable
ld: 0711-317 ERROR: Undefined symbol: ._nc_tic_expand
ld: 0711-317 ERROR: Undefined symbol: ._nc_infotocap
ld: 0711-317 ERROR: Undefined symbol: ._nc_first_name
ld: 0711-317 ERROR: Undefined symbol: ._nc_set_source
ld: 0711-317 ERROR: Undefined symbol: ._nc_read_entry_source
ld: 0711-317 ERROR: Undefined symbol: ._nc_resolve_uses2
ld: 0711-317 ERROR: Undefined symbol: _nc_head
ld: 0711-317 ERROR: Undefined symbol: ._nc_name_match
ld: 0711-317 ERROR: Undefined symbol: _nc_disable_period
ld: 0711-317 ERROR: Undefined symbol: .curses_version
ld: 0711-317 ERROR: Undefined symbol: _nc_check_termtype2
ld: 0711-317 ERROR: Undefined symbol: _nc_curr_col
ld: 0711-317 ERROR: Undefined symbol: _nc_curr_line
ld: 0711-317 ERROR: Undefined symbol: _nc_tail
ld: 0711-317 ERROR: Undefined symbol: ._nc_set_type
ld: 0711-317 ERROR: Undefined symbol: ._nc_set_writedir
ld: 0711-317 ERROR: Undefined symbol: ._nc_write_entry
ld: 0711-317 ERROR: Undefined symbol: ._nc_tic_written
ld: 0711-317 ERROR: Undefined symbol: ._nc_tic_dir
ld: 0711-317 ERROR: Undefined symbol: _nc_tparm_err
ld: 0711-317 ERROR: Undefined symbol: .tparm
ld: 0711-317 ERROR: Undefined symbol: ._nc_capcmp
ld: 0711-317 ERROR: Undefined symbol: ._nc_visbuf2
ld: 0711-317 ERROR: Undefined symbol: ._nc_visbuf
ld: 0711-317 ERROR: Undefined symbol: _nc_syntax
ld: 0711-317 ERROR: Undefined symbol: _nc_tinfo_fkeys
ld: 0711-317 ERROR: Undefined symbol: .keyname
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit statusmake[1]: *** [tic] Error 1
make[1]: Leaving directory `/devel/build/ncurses-5.4/progs'
make: *** [all] Error 2


If you need additional information, please let me know.

Lothar

----------------------------------
E-Mail: address@hidden
Date: 22-Mar-2005
Time: 22:20:23

This message was sent by XFMail
----------------------------------




reply via email to

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