Re: EMC and SuSE 6.3




> Date: Fri, 7 Jul 2000 15:42:21 -0400 (EDT)
> Originator: emc-at-nist.gov
> From: Paul Corner <Paul.Corner-at-tesco.net>
> To: Multiple recipients of list <emc-at-nist.gov>
> Subject: EMC and SuSE 6.3
> X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
> Content-Transfer-Encoding: 8bit
> MIME-Version: 1.0
> X-To: emc-at-nist.gov
> 
> 
> 
> Hi All
> 
> I've been busy setting up another Linux box of late, this time with SuSE 6.3.
> The RT patch went well with the 2.2.13 kernel with no errors, and compiled
> with out a hitch. Doing a Make with the RT modules generated a whole load of
> 'unresolved symbols', most of them to do with the networking modules - I'm not
> too worried about them as the RT test examples ran fine - First time I've
> heard Linus speak, that test never worked in RH 5.2 for me.
> 
> EMC-7-June - another story....
> Downloaded the one in the 2.2.13 directory on the NIST ftp site, and had to
> remove the make instructions for 2.0.36. Once the links to RTlinux/include and
> mbuff.h had been set up, the compile falls over on iosh.  I'm running
> egcs-2.91.66 BTW.
> I had thought a bug fix had been given for the make, but all I can find is
> related to emcstepmot.c - the output from gcc reads :
> 
> make[1]: Entering directory `/usr/local/emc/src/emcio'
> test; \
> g++ -D__CPLUSPLUS__ -g   -DLINUX -Dlinux_2_2_13 -DPLATNAME=\"linux_2_2_13\" 
-D__RT__ -L/usr/lib -Dlinux_2_2 -I/usr/src/rtlinux-2.0/rtl/include  
-Dlinux_2_2_13 -Dlinux -DHAVE_LIBDL -DHAVE_TCL_EXTEND -DLINUX_KERNEL_2_2 \
> /usr/local/emc/plat/linux_2_2_13/lib/iosh.o 
/usr/local/emc/plat/linux_2_2_13/lib/libemc.a \
> -L/usr/local/rcslib/plat/linux_2_2_13/lib -lrcs -Xlinker -rpath -Xlinker 
/usr/local/rcslib/plat/linux_2_2_13/lib -Xlinker -rpath -Xlinker 
/isd/proj/rcslib/plat/linux_2_2_13/lib -Xlinker -rpath -Xlinker 
/usr/local/nist/rcslib/plat/linux_2_2_13/lib -Xlinker -rpath -Xlinker 
/usr/local/rcslib/plat/linux_2_2_13/lib -Xlinker -rpath -Xlinker 
/opt/rcslib/plat/linux_2_2_13/lib -Xlinker -rpath -Xlinker 
/usr/share/rcslib/plat/linux_2_2_13/lib -Xlinker -rpath -Xlinker 
/usr/local/share/rcslib/plat/linux_2_2_13/lib -Xlinker -rpath -Xlinker 
/rcslib/plat/linux_2_2_13/lib  \
> -ltk -ltcl -ltclx8.0.4 -ldl -L/usr/X11/lib -L/usr/X11R6/lib -lXaw \
> -ldl -o /usr/local/emc/plat/linux_2_2_13/bin/iosh
> /usr/i486-linux/bin/ld: cannot open -ltk: No such file or directory
> collect2: ld returned 1 exit status
> make[1]: *** [/usr/local/emc/plat/linux_2_2_13/bin/iosh] Error 1
> make[1]: Target `all' not remade because of errors.
> make[1]: Leaving directory `/usr/local/emc/src/emcio'
> make: *** [all] Error 2
> 
> I'm not sure what the problem is here - I have all the tcl/tk libs installed.
> 
> Any suggestions ?
> 
> Regards, Paul.  
>                                                                  
> 

I would find out which directory has libtk.so.

If you don't already know, run something like this:

find / -xdev -name libtk.so >/dev/tty  2> /dev/null

(I redirect standard error just to avoid annoying permission denied messages.)


Edit rcslib/etc/linux_2_2_13.def  

and put -L(directory with libtk.so) before the -ltk in TK_LINK.



-- Will


---------------------------------------------------------------
William Penn Shackleford III			shackle-at-nist.gov
National Institute of Standards & Technology	Tel:	(301) 975-4286
100 Bureau Drive Stop 8230  			FAX:	(301) 990-9688
Gaithersburg MD  20899  USA
http://www.isd.mel.nist.gov/personnel/shackleford/
Office Location: Bldg. 220 Rm A253 




Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact