This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
RE: Error while making insight-5.0
- To: jlarmour at redhat dot co dot uk, mdejong at cygnus dot com
- Subject: RE: [ECOS] Error while making insight-5.0
- From: Andreas dot Karlsson at combitechsystems dot com
- Date: Mon, 3 Jul 2000 16:02:14 +0200
- Cc: ecos-discuss at sourceware dot cygnus dot com, insight at sourceware dot cygnus dot com
When doing make clean in the tix subfolder the following make.out is
produced, does the warnings before the error influence?
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixImgXpm.o
/src/gdb/insight-5.0/tix/win/../generic/tixImgXpm.c
/src/gdb/insight-5.0/tix/win/../generic/tixImgXpm.c:77: warning:
initialization from incompatible pointer type
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixNBFrame.o
/src/gdb/insight-5.0/tix/win/../generic/tixNBFrame.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixTList.o
/src/gdb/insight-5.0/tix/win/../generic/tixTList.c
/src/gdb/insight-5.0/tix/win/../generic/tixTList.c: In function `Realloc':
/src/gdb/insight-5.0/tix/win/../generic/tixTList.c:2161: warning: passing
arg 1 of `Tcl_Realloc' from incompatible pointer type
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixGrid.o
/src/gdb/insight-5.0/tix/win/../generic/tixGrid.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixGrData.o
/src/gdb/insight-5.0/tix/win/../generic/tixGrData.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixGrRC.o
/src/gdb/insight-5.0/tix/win/../generic/tixGrRC.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixGrFmt.o
/src/gdb/insight-5.0/tix/win/../generic/tixGrFmt.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixGrSel.o
/src/gdb/insight-5.0/tix/win/../generic/tixGrSel.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixGrUtl.o
/src/gdb/insight-5.0/tix/win/../generic/tixGrUtl.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixScroll.o
/src/gdb/insight-5.0/tix/win/../generic/tixScroll.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixWCmpt.o
/src/gdb/insight-5.0/tix/win/tixWCmpt.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixWinDraw.o
/src/gdb/insight-5.0/tix/win/tixWinDraw.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixWinXpm.o
/src/gdb/insight-5.0/tix/win/tixWinXpm.c
gcc -c -g -O2 -DDLL_BUILD -DBUILD_tix -D_Windows
-I/src/gdb/insight-5.0/tix/win -I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -c -o tcl8.0/tixWinWm.o
/src/gdb/insight-5.0/tix/win/tixWinWm.c
echo 'EXPORTS' > tmp.def
for o in tcl8.0/tkConsole80b1.o tcl8.0/tixClass.o tcl8.0/tixCmds.o
tcl8.0/tixCompat.o tcl8.0/tixDiImg.o tcl8.0/tixDiITxt.o tcl8.0/tixDiStyle.o
tcl8.0/tixDItem.o tcl8.0/tixDiText.o tcl8.0/tixDiWin.o tcl8.0/tixError.o
tcl8.0/tixForm.o tcl8.0/tixFormMisc.o tcl8.0/tixGeometry.o tcl8.0/tixHLCol.o
tcl8.0/tixHLHdr.o tcl8.0/tixHLInd.o tcl8.0/tixImgCmp.o tcl8.0/tixHList.o
tcl8.0/tixList.o tcl8.0/tixMethod.o tcl8.0/tixOption.o tcl8.0/tixSmpLs.o
tcl8.0/tixWidget.o tcl8.0/tixInit.o tcl8.0/tixItcl.o tcl8.0/tixUtils.o
tcl8.0/tixImgXpm.o tcl8.0/tixNBFrame.o tcl8.0/tixTList.o tcl8.0/tixGrid.o
tcl8.0/tixGrData.o tcl8.0/tixGrRC.o tcl8.0/tixGrFmt.o tcl8.0/tixGrSel.o
tcl8.0/tixGrUtl.o tcl8.0/tixScroll.o tcl8.0/tixWCmpt.o tcl8.0/tixWinDraw.o
tcl8.0/tixWinXpm.o tcl8.0/tixWinWm.o; do \
nm --extern-only --defined-only $o | sed -e 's/[^ ]* [^ ]* //' -e 's/^_//'
| fgrep -v DllEntryPoint | fgrep -v DllMain | fgrep -v impure_ptr | fgrep -v
_real@ >> tmp.def; \
done
mv tmp.def tcl8.0/tixcyg.def
gcc -s -nostartfiles -Wl,--base-file,tix.base -Wl,--dll -o tix4180.dll
tcl8.0/tkConsole80b1.o tcl8.0/tixClass.o tcl8.0/tixCmds.o tcl8.0/tixCompat.o
tcl8.0/tixDiImg.o tcl8.0/tixDiITxt.o tcl8.0/tixDiStyle.o tcl8.0/tixDItem.o
tcl8.0/tixDiText.o tcl8.0/tixDiWin.o tcl8.0/tixError.o tcl8.0/tixForm.o
tcl8.0/tixFormMisc.o tcl8.0/tixGeometry.o tcl8.0/tixHLCol.o
tcl8.0/tixHLHdr.o tcl8.0/tixHLInd.o tcl8.0/tixImgCmp.o tcl8.0/tixHList.o
tcl8.0/tixList.o tcl8.0/tixMethod.o tcl8.0/tixOption.o tcl8.0/tixSmpLs.o
tcl8.0/tixWidget.o tcl8.0/tixInit.o tcl8.0/tixItcl.o tcl8.0/tixUtils.o
tcl8.0/tixImgXpm.o tcl8.0/tixNBFrame.o tcl8.0/tixTList.o tcl8.0/tixGrid.o
tcl8.0/tixGrData.o tcl8.0/tixGrRC.o tcl8.0/tixGrFmt.o tcl8.0/tixGrSel.o
tcl8.0/tixGrUtl.o tcl8.0/tixScroll.o tcl8.0/tixWCmpt.o tcl8.0/tixWinDraw.o
tcl8.0/tixWinXpm.o tcl8.0/tixWinWm.o ../../tk/win/libtk80.a
../../tcl/win/libtcl80.a -lcygwin -ladvapi32 -luser32 -lgdi32 -lcomdlg32
-lkernel32 -Wl,--subsystem,windows -Wl,-e,_DllMain@12
-Wl,--image-base,0x66600000
dlltool --as=as --dllname tix4180.dll --def tcl8.0/tixcyg.def --base-file
tix.base --output-exp tix.exp
gcc -s -nostartfiles -Wl,--base-file,tix.base -Wl,tix.exp -Wl,-dll -o
tix4180.dll tcl8.0/tkConsole80b1.o tcl8.0/tixClass.o tcl8.0/tixCmds.o
tcl8.0/tixCompat.o tcl8.0/tixDiImg.o tcl8.0/tixDiITxt.o tcl8.0/tixDiStyle.o
tcl8.0/tixDItem.o tcl8.0/tixDiText.o tcl8.0/tixDiWin.o tcl8.0/tixError.o
tcl8.0/tixForm.o tcl8.0/tixFormMisc.o tcl8.0/tixGeometry.o tcl8.0/tixHLCol.o
tcl8.0/tixHLHdr.o tcl8.0/tixHLInd.o tcl8.0/tixImgCmp.o tcl8.0/tixHList.o
tcl8.0/tixList.o tcl8.0/tixMethod.o tcl8.0/tixOption.o tcl8.0/tixSmpLs.o
tcl8.0/tixWidget.o tcl8.0/tixInit.o tcl8.0/tixItcl.o tcl8.0/tixUtils.o
tcl8.0/tixImgXpm.o tcl8.0/tixNBFrame.o tcl8.0/tixTList.o tcl8.0/tixGrid.o
tcl8.0/tixGrData.o tcl8.0/tixGrRC.o tcl8.0/tixGrFmt.o tcl8.0/tixGrSel.o
tcl8.0/tixGrUtl.o tcl8.0/tixScroll.o tcl8.0/tixWCmpt.o tcl8.0/tixWinDraw.o
tcl8.0/tixWinXpm.o tcl8.0/tixWinWm.o ../../tk/win/libtk80.a
../../tcl/win/libtcl80.a -lcygwin -ladvapi32 -luser32 -lgdi32 -lcomdlg32
-lkernel32 -Wl,--subsystem,windows -Wl,-e,_DllMain@12
-Wl,--image-base,0x66600000
dlltool --as=as --dllname tix4180.dll --def tcl8.0/tixcyg.def --base-file
tix.base --output-exp tix.exp
gcc -nostartfiles -Wl,tix.exp -Wl,--dll -o tix4180.dll
tcl8.0/tkConsole80b1.o tcl8.0/tixClass.o tcl8.0/tixCmds.o tcl8.0/tixCompat.o
tcl8.0/tixDiImg.o tcl8.0/tixDiITxt.o tcl8.0/tixDiStyle.o tcl8.0/tixDItem.o
tcl8.0/tixDiText.o tcl8.0/tixDiWin.o tcl8.0/tixError.o tcl8.0/tixForm.o
tcl8.0/tixFormMisc.o tcl8.0/tixGeometry.o tcl8.0/tixHLCol.o
tcl8.0/tixHLHdr.o tcl8.0/tixHLInd.o tcl8.0/tixImgCmp.o tcl8.0/tixHList.o
tcl8.0/tixList.o tcl8.0/tixMethod.o tcl8.0/tixOption.o tcl8.0/tixSmpLs.o
tcl8.0/tixWidget.o tcl8.0/tixInit.o tcl8.0/tixItcl.o tcl8.0/tixUtils.o
tcl8.0/tixImgXpm.o tcl8.0/tixNBFrame.o tcl8.0/tixTList.o tcl8.0/tixGrid.o
tcl8.0/tixGrData.o tcl8.0/tixGrRC.o tcl8.0/tixGrFmt.o tcl8.0/tixGrSel.o
tcl8.0/tixGrUtl.o tcl8.0/tixScroll.o tcl8.0/tixWCmpt.o tcl8.0/tixWinDraw.o
tcl8.0/tixWinXpm.o tcl8.0/tixWinWm.o ../../tk/win/libtk80.a
../../tcl/win/libtcl80.a -lcygwin -ladvapi32 -luser32 -lgdi32 -lcomdlg32
-lkernel32 -Wl,--subsystem,windows -Wl,-e,_DllMain@12
-Wl,--image-base,0x66600000
cp tix4180.dll tcl8.0/tix4180.dll
gcc -c -D_Windows -I/src/gdb/insight-5.0/tix/win
-I/src/gdb/insight-5.0/tix/win/../generic
-I/src/gdb/insight-5.0/tix/win/../../tk/generic
-I/src/gdb/insight-5.0/tix/win/../../tk/win
-I/src/gdb/insight-5.0/tix/win/../../tk/xlib
-I/src/gdb/insight-5.0/tix/win/../../tcl/generic -DSTATIC_BUILD -g -O2 -o
tcl8.0/tixWinMain.o /src/gdb/insight-5.0/tix/win/../win/tixWinMain.c
dlltool --as=as --dllname tix4180.dll --def tcl8.0/tixcyg.def --output-lib
tcl8.0/libtix4180.a
windres --include /src/gdb/insight-5.0/tix/win/rc --include
/src/gdb/insight-5.0/tix/win/../generic --define VS_VERSION_INFO=1
/src/gdb/insight-5.0/tix/win/rc/tixwish.rc tcl8.0/tixwishres.o
gcc -mwindows tcl8.0/tixWinMain.o tcl8.0/tixwishres.o tcl8.0/libtix4180.a \
../../tk/win/libtk80.a ../../tcl/win/libtcl80.a \
-o tcl8.0/tix4180.exe
/usr/bin/ld: warning: cannot find entry symbol _WinMainCRTStartup;
defaulting to 00401000
make[2]: Leaving directory `/tmp/build/gdb/tix/win'
make[1]: Leaving directory `/tmp/build/gdb/tix'
make[1]: Entering directory `/tmp/build/gdb/gdb'
make[2]: Entering directory `/tmp/build/gdb/gdb/rdi-share'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/build/gdb/gdb/rdi-share'
rm -f gdb.exe
gcc -g -O2 -Wl,--subsystem,console -o gdb.exe main.o libgdb.a
rdi-share/libangsd.a ../sim/arm/libsim.a ../bfd/libbfd.a
../readline/libreadline.a ../opcodes/libopcodes.a ./../intl/libintl.a
../libiberty/libiberty.a `if test -r ../libtermcap/libtermcap.a; then echo
../libtermcap/libtermcap.a; else echo -ltermcap; fi`
../libgui/src/libgui.a -L/tmp/build/gdb/itcl/itcl/win -litcl30
-L/tmp/build/gdb/itcl/itk/win -litk30 -L/tmp/build/gdb/tix/win/tcl8.0
-ltix4180 -L/tmp/build/gdb/tk/win -ltk80 -L/tmp/build/gdb/tcl/win -ltcl80
-lm -lm ../libiberty/libiberty.a -luser32 -lshell32 -lgdi32 -lcomdlg32
-ladvapi32
libgdb.a(gdbtk.o): In function `gdbtk_init':
/src/gdb/insight-5.0/gdb/gdbtk/generic/gdbtk.c:433: undefined reference to
`Tix_Init'
/src/gdb/insight-5.0/gdb/gdbtk/generic/gdbtk.c:435: undefined reference to
`Tix_Init'
collect2: ld returned 1 exit status
make[1]: *** [gdb.exe] Error 1
make[1]: Leaving directory `/tmp/build/gdb/gdb'
make: *** [all-gdb] Error 2
make: Leaving directory `/tmp/build/gdb'
/Andreas
>The output from nm follows:
>
>bash-2.04$ nm libtix4180.a | grep Tix_Init
>00000000 T _Tix_InitScrollInfo
>00000000 I __imp__Tix_InitScrollInfo
>00000000 T _Tix_Init
>00000000 I __imp__Tix_Init
>bash-2.04$
>
>/Andreas
-----Original Message-----
From: Jonathan Larmour [mailto:jlarmour@redhat.co.uk]
Sent: den 3 juli 2000 13:21
To: Karlsson Andreas
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Error while making insight-5.0
Andreas.Karlsson@combitechsystems.com wrote:
> libgdb.a(gdbtk.o): In function `gdbtk_init':
> /src/gdb/insight-5.0/gdb/gdbtk/generic/gdbtk.c:433: undefined reference to
> `Tix_Init'
> /src/gdb/insight-5.0/gdb/gdbtk/generic/gdbtk.c:435: undefined reference to
> `Tix_Init'
Is there a file tix/win/tcl8.0/libtix4.1.8.0.a in your build tree? If so,
run the command:
nm tix/win/tcl8.0/libtix4.1.8.0.a | grep Tix_Init
Does that indicate the symbol is there?
If not, go into the tix subdirectory and type "make clean". Then go back up
and rerun the "make -w all ...."
Jifl