[gtkada] How do I link?

Chris Sparks mrada at catalina-inter.net
Sun Aug 27 16:59:08 CEST 2000


Hi everyone,

Maybe I should ask a more specific question.  What needs to be present to
make a link work?  What I am seeing is that certain elements to linking is
not
being found.  When I link on Linux I reference ".a" files and viola,
everything
links.  Since Windows is using DLL files I am assuming I need to tell the
linker
that those references will be determined later.  How do I do this?

What is strange is that I took my small example (actually all the source
code
involved is quite large) and placed it into the basic_widget directory
thinking it
was a positional problem.  Nope.  Still got a boat load of link errors.
Like:

c:/work/window/window-frame-text_label.adb:105: undefined reference to
`ada_gdk_
font_get_ascent'
c:/work/window/window-frame-text_label.adb:109: undefined reference to
`ada_gdk_
font_get_ascent'
c:/work/window/window-frame-text_label.adb:113: undefined reference to
`ada_gdk_
font_get_ascent'
c:/work/window/window-frame-text_label.adb:119: undefined reference to
`ada_gdk_
font_get_ascent'

So I am guessing that I am doing something wrong.  Here is my path:

PATH=C:\GtkAda-1.3.8\bin;C:\Applications\Sources\VIM55;C:\GNATCOM-1.3p\bin;C:\GN

AT\bin;C:\WINNT\SYSTEM32\WBEM;C:\WINNT;C:\WINNT\SYSTEM32

I'd send the source code, however, it is way too many files.  I am guess
my path isn't set up right.
I don't know..

Chris





More information about the gtkada mailing list