comp.lang.ada
 help / color / mirror / Atom feed
* Linking Ada with X
@ 1996-10-14  0:00 Jose Miguel Espadero Guillermo
  1996-10-15  0:00 ` Robert Dewar
  1996-10-21  0:00 ` Mitch Gart
  0 siblings, 2 replies; 3+ messages in thread
From: Jose Miguel Espadero Guillermo @ 1996-10-14  0:00 UTC (permalink / raw)
  Cc: jespa


I'm a user of a sgi with Irix 5.3 and the gnat Ada compiler installed
  in. I'm working also with a LYNX machine with the XInAda package so
  I can write programs X completelly in Ada. I've tried to use gnat
  to write programs based on Motif, so I compiled the examples installed
  in /usr/demos/Ada/X11 (hello_motif.adb and all the rest)
  I compile them with no problems and then try to bind it with:

gnatbl hello_motif.ali -lXt -lXm -lX11

  and I get the message:

/usr/lib/ld:
Unresolved:
do_varargs


  Grrrrr!!! whereis the file where do_varargs is defined. The Makefile
  search it with the path ../ada/var.o , but no file var.o is found
  in all the disk nor the CDROM Ada95 Compiler 1.1 (original of sgi) 
  who  contains all the examples I can't link. Of course, it is not
  in the Irix Development Options 5.3.


  1. Does somebody know if it's required this file for all programs
     with X and Ada.

  2. Where can I find that file (var.o) or where can I get the function
     do_varargs (it's written on C).

  3. Should I send the mafia round SGI ??? I wouldn't like to have to
     hurt the GNU folks.

  Thanks.  

--
Jose Miguel Espadero Guillermo
        jespa@jumilla.dtf.fi.upm.es




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

* Re: Linking Ada with X
  1996-10-14  0:00 Linking Ada with X Jose Miguel Espadero Guillermo
@ 1996-10-15  0:00 ` Robert Dewar
  1996-10-21  0:00 ` Mitch Gart
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Dewar @ 1996-10-15  0:00 UTC (permalink / raw)



Jose complained he had trouble using the Motif interface on an SGI
machine and asked:

"  3. Should I send the mafia round SGI ??? I wouldn't like to have to
     hurt the GNU folks."


Well if you have support from SGI, and if they undertake to support this
third party binding, then you should certainly send in a bug report. if the
answer is no to either question, I don't see you have any complaint with
SGI!

As far as I know, you don't have support from ACT (but I can't be sure to
recognize all our customers by name without their customer support number :-)
and in any case we do not undertake to support this motif binding, though
we may in the future if and when it is adopted as part of the ACE.

Robert Dewar
Ada Core Technologies






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

* Re: Linking Ada with X
  1996-10-14  0:00 Linking Ada with X Jose Miguel Espadero Guillermo
  1996-10-15  0:00 ` Robert Dewar
@ 1996-10-21  0:00 ` Mitch Gart
  1 sibling, 0 replies; 3+ messages in thread
From: Mitch Gart @ 1996-10-21  0:00 UTC (permalink / raw)



Jose Miguel Espadero Guillermo (jespa@jumilla.dtf.fi.upm.es) wrote:

:   2. Where can I find that file (var.o) or where can I get the function
:      do_varargs (it's written on C).

The file var.c is in the binding and the "build" command script compiles 
it and puts it into the right place.  The instructions that come with x11ada,
from http://www.inmet.com/~mg/x11ada/x11ada.html, say to execute "build" as
one of the steps of setting up the binding.  So if you followed these 
instructions everything should be there.  Also notice the special instructions
for building X11Ada on a non-Sun platform.


- Mitch Gart




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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-14  0:00 Linking Ada with X Jose Miguel Espadero Guillermo
1996-10-15  0:00 ` Robert Dewar
1996-10-21  0:00 ` Mitch Gart

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