| Ticket UUID: | 220961 | |||
| Title: | Error in generated Makefile. | |||
| Type: | Bug | Version: | obsolete: 8.3.2 | |
| Submitter: | welch | Created on: | 2000-11-01 01:33:56 | |
| Subsystem: | 84. Unix Build | Assigned To: | mdejong | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2002-01-12 01:53:27 | |
| Resolution: | Fixed | Closed By: | mdejong | |
| Closed on: | 2002-01-11 18:53:27 | |||
| Description: |
OriginalBugID: 6362 Bug
Version: 8.3.2
SubmitDate: '2000-10-16'
LastModified:
Severity: CRIT
Status: UnAssn
Submitter: techsupp
OS: AIX
OSVersion: 4.3.3
Machine: IBM RS6000
Name:
Joachim Zaers
Extensions:
NA
CustomShell:
NA
ReproducibleScript:
I finally made it to compile the latest stable release under AIX 4.3.3 with gcc-2.95.2. Hurrah!
But the Makefile for Tk as some faults in the usage of the -Wl, switch of the gcc.
When using ldAIX.sh we not need that flag to signal that the following option is a linker option.
There is no gcc running. On the other hand the gcc likes to have this flag when compiling and linking
the executables.
ObservedBehavior:
Well, it did not built.
Patch:
*** Makefile Mon Oct 16 21:03:46 2000
--- Makefile.save Mon Oct 16 19:23:33 2000
***************
*** 197,205 ****
# Libraries to use when linking. This definition is determined by the
# configure script.
! LIBS = $(X11_LIB_SWITCHES) -ldl -Wl,-bI:/usr/local/LTA-DEV/src/tcl8.3.2/unix/lib.exp -L/usr/local/LTA-DEV/src/tcl8.3.2/unix -lm -lc
WISH_LIBS = $(TCL_LIB_SPEC) $(X11_LIB_SWITCHES) -ldl -Wl,-bI:/usr/local/LTA-DEV/src/tcl8.3.2/unix/lib.exp -L/usr/local/LTA-DEV/src/tcl8.3.2/unix -lm -lc
# The symbol below provides support for dynamic loading and shared
# libraries. See configure.in for a description of what it means.
# The values of the symbolis normally set by the configure script.
--- 197,207 ----
# Libraries to use when linking. This definition is determined by the
# configure script.
! LIBS = $(X11_LIB_SWITCHES) -ldl -bI:/usr/local/LTA-DEV/src/tcl8.3.2/unix/lib.exp -L/usr/local/LTA-DEV/src/tcl8.3.2/unix -lm -lc
WISH_LIBS = $(TCL_LIB_SPEC) $(X11_LIB_SWITCHES) -ldl -Wl,-bI:/usr/local/LTA-DEV/src/tcl8.3.2/unix/lib.exp -L/usr/local/LTA-DEV/src/tcl8.3.2/unix -lm -lc
+
+
# The symbol below provides support for dynamic loading and shared
# libraries. See configure.in for a description of what it means.
# The values of the symbolis normally set by the configure script.
***************
*** 391,397 ****
wish: $(WISH_OBJS) $(TK_LIB_FILE) $(TK_STUB_LIB_FILE)
$(CC) $(WISH_OBJS) ! -bI:/usr/local/LTA-DEV/src/tk8.3.2/unix/lib.exp $(WISH_LIBS) $(TK_CC_SEARCH_FLAGS) -o wish
# This rule is executed if the user tried to run tktest without first
--- 393,399 ----
wish: $(WISH_OBJS) $(TK_LIB_FILE) $(TK_STUB_LIB_FILE)
$(CC) $(WISH_OBJS) ! -Wl,-bI:/usr/local/LTA-DEV/src/tk8.3.2/unix/lib.exp $(WISH_LIBS) $(TK_CC_SEARCH_FLAGS) -o wish
# This rule is executed if the user tried to run tktest without first
***************
*** 402,413 ****
tktest: ${TCL_BIN_DIR}/tcltest $(TKTEST_OBJS) $(TK_LIB_FILE)
${CC} $(TKTEST_OBJS) ! -bI:/usr/local/LTA-DEV/src/tk8.3.2/unix/lib.exp $(WISH_LIBS) $(TK_CC_SEARCH_FLAGS) -o tktest
xttest: test.o tkTest.o tkSquare.o $(TK_LIB_FILE)
${CC} test.o tkTest.o tkSquare.o ! -bI:/usr/local/LTA-DEV/src/tk8.3.2/unix/lib.exp $(WISH_LIBS) $(TK_LD_SEARCH_FLAGS) -lXt -o xttest
# Note, in the target below TCL_LIBRARY needs to be set or else
--- 404,415 ----
tktest: ${TCL_BIN_DIR}/tcltest $(TKTEST_OBJS) $(TK_LIB_FILE)
${CC} $(TKTEST_OBJS) ! -Wl,-bI:/usr/local/LTA-DEV/src/tk8.3.2/unix/lib.exp $(WISH_LIBS) $(TK_CC_SEARCH_FLAGS) -o tktest
xttest: test.o tkTest.o tkSquare.o $(TK_LIB_FILE)
${CC} test.o tkTest.o tkSquare.o ! -Wl,-bI:/usr/local/LTA-DEV/src/tk8.3.2/unix/lib.exp $(WISH_LIBS) $(TK_LD_SEARCH_FLAGS) -lXt -o xttest
# Note, in the target below TCL_LIBRARY needs to be set or else
PatchFiles:
The patch is between the generated Makefile and the changed Makefile
which allowed a clean
build.
| |||
| User Comments: |
mdejong added on 2002-01-12 01:53:27:
Logged In: YES user_id=90858 This should have been dealt with by the checkin on 2001-12-18. If build problems on AIX still exist, then re-open bug 220955 and not this one. hobbs added on 2001-12-28 03:09:04: Logged In: YES user_id=72656 see tktoolkit bugs 220921 220955 hobbs added on 2001-12-28 03:06:07: Logged In: YES user_id=72656 mo was just working on this. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki