Package: yorick-dev
Version: 2.1.05+dfsg-5
Severity: important

yplot is a compiled extension of Yorick which uses the PLplot library for
plotting.  I am currently porting the build of yplot from Yorick 1.5 to
Yorick 2.1.x because of the latter's different mechanism for creating
extensions.

My first experiments were with yplotl (which is the landscape version of
yplot).  If I put

plug_in, "yplotl";

as the first line of my previous yplotl.i and run

yorick -batch make.i

then running the "make" command afterwards with appropriate definitions
of PKG_CFLAGS and PKG_DEPLIBS builds yplotl.so without obvious problems, and
if I #include "yplotl.i", that shared object dynamically loads without
problems and produces a good-looking plot (despite some undefined symbols
which I have reported to you privately since those may not be caused by
a bug).

However, as the subject line says above, I run into troubles with the "make
debug" version of the make command.

Here is the error message it generates with some context.

cc -g -Wall -I/home/software/plplot_cvs/installcmake/include  -I. 
-I/usr/lib/yorick/include   -c -o yinit.o yinit.c
cc -g   -Wl,-E -o yorick /usr/lib/yorick/lib/main.o yinit.o -L. -lyplotl 
-L/usr/lib/yorick/lib -L/home/software/plplot_cvs/installcmake/lib -lplplotd 
`/usr/lib/yorick/lib/libdep.sh "/usr/lib/yorick" ` -lyor  -lX11  -lm -ldl
/usr/bin/ld: error in /usr/lib/yorick/lib/main.o(.eh_frame); no .eh_frame_hdr 
table will be created.
/usr/lib/gcc/x86_64-linux-gnu/4.3.1/../../../../lib/crt1.o: In function 
`_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [yorick] Error 1
make[1]: Leaving directory `/home/software/yplot/HEAD/yplot_svn'
make: *** [debug] Error 2

Hope you can fix this bug or give some advice about how to build the debug
version because I far prefer making my own independent PLplot-extended
yorick executable (which is what "make debug" should create according to the
documentation) rather than fiddling with extra command-line options and
LD_LIBRARY_PATH to get yplotl.i properly #included and the yplotl.i
shared-object dynamically loaded.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages yorick-dev depends on:
ii  libc6                      2.7-10        GNU C Library: Shared libraries
ii  yorick                     2.1.05+dfsg-5 interpreted language and scientifi

yorick-dev recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to