comp.lang.ada
 help / color / mirror / Atom feed
* GNAT linker error
@ 2015-01-25  9:45 hosszu.gabor90
  2015-01-25 10:27 ` Simon Wright
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: hosszu.gabor90 @ 2015-01-25  9:45 UTC (permalink / raw)


Hello,

I get the following if I try to compile the GtkAda minimal example of GNAT Programming Studio 6.1.0w:

gnatlink /home/myuser/own projects/ada/obj/main.ali -shared-libgcc -g -g -L/usr/lib/x86_64-linux-gnu/ -lgtkada -lgmodule-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lfontconfig -lfreetype -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lX11 -lm -o /home/gabre/own projects/ada/obj/main
/usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `pixman_filter_create_separable_convolution'
/usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `pixman_glyph_cache_remove'
/usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `pixman_glyph_cache_freeze'
/usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `pixman_glyph_cache_thaw'
/usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `pixman_composite_glyphs'
/usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `pixman_glyph_cache_lookup'
/usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `pixman_glyph_get_mask_format'
/usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `pixman_glyph_cache_insert'
/usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `pixman_glyph_cache_create'
/usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `pixman_composite_glyphs_no_mask'
collect2: ld returned 1 exit status
gnatlink: error when calling /usr/bin/gcc-4.6

The command executed by GPS:

gnatmake -d -P/home/myuser/own projects/ada/AdaTest.gpr -vP2 -j4 -g

The same command works if I try it from a terminal and it also worked in GPS 5.0 (which executed the same command as the newest, 6.1.0w) What can cause this and how can I make GPS work?

Thank you,

BR,
Gábor Hosszú

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Gnat linker error
@ 1997-07-31  0:00 Danny
  0 siblings, 0 replies; 13+ messages in thread
From: Danny @ 1997-07-31  0:00 UTC (permalink / raw)



I just got gnat 3.07 (DOS) and I can't get anything to link....
The error message I get is 

c:/djgpp/bin\ld.exe: cannot open -lgnat: No such file or directory
(ENOENT)

The docs I've read say this is either a problem with my environment
parameters, or I don't have djgpp, or I have djgpp and gnat in seperate
directories....
Well, I'm running DJGPP 2.01 and it works fine (for C/C++), I have
gnat and djgpp both installed under c:\djgpp, and I have the following
in my autoexec.bat:

set TMPDIR=C:/djgpp/tmp
set DJGPP=C:/djgpp/djgpp.env
set ADA_INCLUDE_PATH=C:/djgpp/adainc
set ADA_OBJECTS_PATH=C:/djgpp/lib/adalib
set GW-GNAT=C:/djgpp/gw-gnat

I also have C:/djgpp/bin, C:/djgpp/lib, and C:/djgpp/gw-gnat in the
path...

I'm just getting started in Ada, and I'm sorry if this is a lame
question
to ask, but I've read all the docs and FAQs I could find, and I really
am stuck...
					-=- Danny




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

end of thread, other threads:[~2015-01-26  9:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <33f8d552.50571683@news.alt.net>
1997-08-27  0:00 ` Gnat linker error Jerry van Dijk
2015-01-25  9:45 GNAT " hosszu.gabor90
2015-01-25 10:27 ` Simon Wright
2015-01-25 12:29 ` hosszu.gabor90
2015-01-25 13:37   ` Simon Clubley
2015-01-25 14:35 ` Dmitry A. Kazakov
2015-01-25 16:27 ` Jeffrey Carter
2015-01-25 21:56 ` hosszu.gabor90
2015-01-25 22:25   ` Ludovic Brenta
2015-01-25 22:02 ` hosszu.gabor90
2015-01-25 23:15 ` hosszu.gabor90
2015-01-26  9:42   ` Dmitry A. Kazakov
  -- strict thread matches above, loose matches on Subject: below --
1997-07-31  0:00 Gnat " Danny

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