From: <no...@so...> - 2000-11-19 12:19:13
|
Bug #120961, was updated on 2000-Oct-31 17:33 Here is a current snapshot of the bug. Project: Tk Toolkit Category: Build Status: Open Resolution: None Bug Group: 8.3.2 Priority: 5 Summary: Error in generated Makefile. Details: 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. For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=120961&group_id=12997 |