BTW, I reconfigured --enable-dyndrivers, but it still doesn't build:
[...]
gcc -shared -fPIC -o ../libplplottcltk.so.5.1.0 \
-Wl,-soname -Wl,libplplottcltk.so.5 \
tclAPI.o Pltk_Init.o tcpip.o plframe.o plr.o tclMain.o tkMain.o
-L.. -lplplot -ltclmatrix \
-L/home/furnish/xenon/lib -ltcl8.3 -litcl3.2 -ltk8.3 -litk3.2
-L/usr/X11R6/lib -lX11 -ldl -lm -Wl,-rpath
-Wl,/home/furnish/devel/plplot/tmp
ln -sf libplplottcltk.so.5.1.0 libplplottcltk.so.5
ln -sf libplplottcltk.so.5 libplplottcltk.so
gcc -c -O -I. -I/home/furnish/xenon/include -MD -MF
.d.plrender -MP -c plrender.c -o plrender.o
gcc plrender.o -L. -lplplot -o plrender \
-Wl,-rpath -Wl,/home/furnish/devel/plplot/tmp
gcc -c -O -I. -I/home/furnish/xenon/include -MD -MF
.d.pltek -MP -c pltek.c -o pltek.o
gcc pltek.o -o pltek -Wl,-rpath -Wl,/home/furnish/devel/plplot/tmp
gcc -c -O -I. -I/home/furnish/xenon/include -MD -MF
.d.pltcl -MP -c pltcl.c -o pltcl.o
gcc pltcl.o -L. -lplplottcltk \
-o pltcl -Wl,-rpath -Wl,/home/furnish/devel/plplot/tmp
/usr/bin/ld: warning: libitcl3.2.so, needed by ./libplplottcltk.so,
not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libitk3.2.so, needed by ./libplplottcltk.so, not
found (try using -rpath or -rpath-link)
pltcl.o: In function `AppInit':
pltcl.o(.text+0x13e): undefined reference to `Itcl_Init'
./libplplottcltk.so: undefined reference to `Itk_Init'
collect2: ld returned 1 exit status
make: *** [pltcl] Error 1
I haven't had a chance to review the core reasons for the build
failures, but superficially it looks like there's been some changes to
the ldflags make macro, which haven't been completely worked through
in all the cases.
I can't really drop itcl/itk for my current need, because this is an
itk based app which seeks to embed a plframe (inside a PLXWin).
--
Geoffrey Furnish fu...@ga...
|