comp.lang.ada
 help / color / mirror / Atom feed
* Ada/Motif binding
@ 1996-07-17  0:00 PR MITTON
       [not found] ` <dewar.837604997@schonberg>
  0 siblings, 1 reply; 3+ messages in thread
From: PR MITTON @ 1996-07-17  0:00 UTC (permalink / raw)



I am trying to find a binding of Ada (preferably '95) to Motif.  The Dec 
binding looks the best that I have found so far but I am having difficulty
getting the program to compile.

The problem is in the xm_string.c file (created from the xm_string_.pic2a 
file).  When I attempt to compile the program the following error message
comes up:

	Undefined	first referenced
	symbol		in file
	XtShellStrings	/var/tmp/xxxx
	_XmStrings	/var/tmp/xxxx
	XtStrings	/var/tmp/xxxx

	ld: fatal: Symbol referencing errors. No output written to a.out

It is the only error.

I am using gcc on a Sparcstation running Solaris.

Anyone have any useful ideas as to the cause of this error and the
question of binding Ada to Motif in general?

Thanks

Pete

--

Pete Mitton             || If I brew good beer
Computing Department    || I'll drink the same
University of Bradford  || - from The Gypsy Davy. 
England                 || sung by Lena Bourne Fish




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Ada/Motif binding
@ 1996-07-18  0:00 G. Vincent Castellano
  0 siblings, 0 replies; 3+ messages in thread
From: G. Vincent Castellano @ 1996-07-18  0:00 UTC (permalink / raw)



% I am trying to find a binding of Ada (preferably '95) to Motif.  The Dec
% binding looks the best that I have found so far but I am having difficulty
% getting the program to compile.

The Intermetrics Motif/Ada 95 binding can be downloaded from
ftp://ocsystems.com/xada/motif.tar.gz.  You will also need 
their X11/Ada 95 bindings:  http://www.inmet.com/~mg/x11ada/x11ada.html.

For information on Ada 95 bindings to other X toolkits, see
http://www.ocsystems.com/xada.

% The problem is in the xm_string.c file (created from the xm_string_.pic2a
% file).  When I attempt to compile the program the following error message
% comes up:
%
%         Undefined       first referenced
%         symbol          in file
%         XtShellStrings  /var/tmp/xxxx
%         _XmStrings      /var/tmp/xxxx
%         XtStrings       /var/tmp/xxxx
%
%         ld: fatal: Symbol referencing errors. No output written to a.out

It appears that you have not provided the names of the Xt and Motif
archive files to the linker.  Proper use of the '-l' and '-L' switches
will probably correct the problem.  If you believe you are already 
using these switches correctly, please provide more detail.
 -----------------------------------------------------------------------
 -    G. Vincent Castellano, Sr. Software Engineer, OC Systems Inc     -
 -   gvc@ocsystems.com :: X/Ada WWW => http://www.ocsystems.com/xada   -
 -----------------------------------------------------------------------
 - "If virtual memory did not exist, it would                          -
 -   have become necessary for us to invent it."                       -
 -----------------------------------------------------------------------






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Ada/Motif binding
       [not found] ` <dewar.837604997@schonberg>
@ 1996-07-19  0:00   ` PR MITTON
  0 siblings, 0 replies; 3+ messages in thread
From: PR MITTON @ 1996-07-19  0:00 UTC (permalink / raw)



Robert Dewar (dewar@cs.nyu.edu) wrote:
: Pete Mitton said

: "   I am trying to find a binding of Ada (preferably '95) to Motif.  The Dec
:    binding looks the best that I have found so far but I am having 
:    difficulty getting the program to compile.

:    I am using gcc on a Sparcstation running Solaris."

: I am curious, can you really license this binding for use on Solaris? I had
: always assumed that the license was restrictive to DEC machine use. How
: did you work this out?

There is no restriction on the use of the software on another architecture in
the license of the package.   The license is the basic feel free to do as
you wish with the product as long as the DEC copyright notice remains but
don't sell it without their permission.

We are only using it for educational purposes as the binding looks to be 
better Ada for people learning Ada from scratch.  The Intermetrics binding
looks a lot more like C than Ada.

Pete
--

Pete Mitton             || If I brew good beer
Computing Department    || I'll drink the same
University of Bradford  || - from The Gypsy Davy. 
England                 || sung by Lena Bourne Fish




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-07-19  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-18  0:00 Ada/Motif binding G. Vincent Castellano
  -- strict thread matches above, loose matches on Subject: below --
1996-07-17  0:00 PR MITTON
     [not found] ` <dewar.837604997@schonberg>
1996-07-19  0:00   ` PR MITTON

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox