[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tcl/tk on AIX
From: |
Bruno Haible |
Subject: |
tcl/tk on AIX |
Date: |
Mon, 01 Mar 2021 00:23:25 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-203-generic; KDE/5.18.0; x86_64; ; ) |
On AIX 7.1, the creation of the poke-gui command fails:
Making check in gui
/bin/sh ../libtool --tag=CC --mode=link gcc -maix64 -Wall -g -O2
-L/home/haible/prefix64/lib -o poke-gui poke_gui-poke-gui.o
-bI:/usr/lib/libtcl8.4.exp -bI:/usr/lib/libtk8.4.exp ../gl-gui/libgnu.la
libtool: link: gcc -maix64 -Wall -g -O2 -o poke-gui poke_gui-poke-gui.o
-bI:/usr/lib/libtcl8.4.exp -bI:/usr/lib/libtk8.4.exp
-L/home/haible/prefix64/lib ../gl-gui/.libs/libgnu.a -lintl -liconv -lpthread
-Wl,-blibpath:/home/haible/prefix64/lib:/home/haible/prefix64/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/ppc64:/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0:/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/../../..:/usr/lib:/lib
gcc: error: unrecognized command line option '-bI:/usr/lib/libtcl8.4.exp'
gcc: error: unrecognized command line option '-bI:/usr/lib/libtk8.4.exp'
make: 1254-004 The error code from the last command is 1.
The cause is that the config.status contains
$ grep tcl8 config.status
S["TCL_LIB_SPEC"]="-bI:/usr/lib/libtcl8.4.exp"
S["TCL_LIB_FILE"]="libtcl8.4.so"
S["TCL_SRC_DIR"]="/opt/freeware/src/packages/BUILD/tcltk-8.4.7/tcl8.4.7"
$ grep tk8 config.status
S["TK_LIB_SPEC"]="-bI:/usr/lib/libtk8.4.exp"
S["TK_LIB_FILE"]="libtk8.4.so"
S["TK_SRC_DIR"]="/opt/freeware/src/packages/BUILD/tcltk-8.4.7/tk8.4.7"
These -b... options work only with xlc, not with gcc.
Where do these values come from? Find attached the config.log.
Bruno
config.log.gz
Description: application/gzip
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- tcl/tk on AIX,
Bruno Haible <=