Where are these routines....?

12 views
Skip to first unread message

Dave Jones

unread,
Nov 10, 2022, 2:53:09 PM11/10/22
to dislin...@googlegroups.com
Hello, all.
I am in the process of writing the "glue code" that would allow the Rexx language to call the DISLIN graphics library. However when I try to build it, I get these error messages from the loader:
gcc -c -g  -m64  -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -I. -I.  -DNDEBUG  -DHAVE_CONFIG_H  -DRXPACKAGE_NAME=\"rexxdislin\" -DREXXDISLIN_VERSION=\""1.0"\" -DREXXDISLIN_DATE=\""9 Nov 2022"\" -DINIT_RXPACKAGE=init_rexxdislin -DTERM_RXPACKAGE=term_rexxdislin -I./common  -I/usr/local/include  -U_REENTRANT -o rexxdislin.o ./rexxdislin.c
gcc loader.o rexxdislin.o rxpack.o rxmt_notmt.o    -o rexxdislin     -m64  -L/usr/local/lib64 -lregina  -lm -ldislin
/usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: loader.o: in function `main':
/home/dave/Desktop/Regina-Rexx/RexxPackage/RexxDISLIN/./common/loader.c:268: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: rexxdislin.o: in function `RXbfcclr':
/home/dave/Desktop/Regina-Rexx/RexxPackage/RexxDISLIN/./rexxdislin.c:4013: undefined reference to `bfcclr'
/usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: rexxdislin.o: in function `RXbfcmsh':
/home/dave/Desktop/Regina-Rexx/RexxPackage/RexxDISLIN/./rexxdislin.c:4064: undefined reference to `bfcmsh'
/usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: rexxdislin.o: in function `RXwinfin':
/home/dave/Desktop/Regina-Rexx/RexxPackage/RexxDISLIN/./rexxdislin.c:49477: undefined reference to `winfin'
collect2: error: ld returned 1 exit status
make: *** [Makefile:149: rexxdislin] Error 1

It seems that the loader can't find the bfcclr, bfcmsh, and winfin routines. Any idea where I might find them>
Many thanks.
DJ

Helmut Michels

unread,
Nov 10, 2022, 3:14:11 PM11/10/22
to dislin-users
Dear Dave,

they are some relicts from the past. The routines are still in the Dislin C header file, but not in the
source code. I should remove them from the header file. You can delete these functions in your
rexdislin code.

With best regards,

Helmut

Dave Jones

unread,
Nov 10, 2022, 3:28:42 PM11/10/22
to dislin...@googlegroups.com
Many thanks, Helmut.
Will give that a try now.
DJ

--
You received this message because you are subscribed to the Google Groups "dislin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dislin-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dislin-users/bba5dd7b-afa5-4319-a4d8-d57a32bd7cf9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages