image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old May 25th, 2003, 02:53 PM
110001001011100101011
 
Join Date: Nov 2000
Location: Grenoble, France
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
cbaron is on a distinguished road
Unhappy Ada X11 compilation -- help needed

I'm trying to get X11 programs coded in Ada95 to compile. For this i made a small shell script called Xgnatmake :

Code:
#!/bin/tcsh

# Mise en place des variables d'environement
setenv ADA_OBJECTS_PATH /usr/local/Bindings/X11
setenv ADA_INCLUDE_PATH /usr/local/Bindings/X11

# Compilation
gnatmake -a/usr/local/Bindings/X11 $1 -largs \
-L/usr/local/Bindings/X11 -lAdaX11 -L/usr/X11R6/lib -lX11
Here is what I get when I try it :

Code:
%./Xgnatmake robosim
gcc -c -a/usr/local/Bindings/X11 gestion_terrain.adb
/var/tmp//ccgeaGaY.s:8581:FATAL:Symbol _gestion_terrain__generer_terrain__notre_random__reset$2 already defined.
gnatmake: "gestion_terrain.adb" compilation error
Segmentation fault
I don't want to rewrite the code in C, since we use Ada at University. If someone could help me, I'd be very, very happy.
__________________
--
"old" B&W G3 400Mhz - 512MB mem - 18+75GB hd - Radeon 7000 ME 32MB DDR - DVD+RW
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
where can i download SDK (X11) i didnt find on apple.com dau Unix & X11 3 July 27th, 2003 01:32 AM
Running the Fluxbox Window manager on Apple's X11 willmac Unix & X11 2 May 1st, 2003 09:17 AM
BASIC X11 Questions chief Unix & X11 9 January 12th, 2003 01:07 PM
X11 library wrapper for Cocoa drewangst Software Programming & Web Scripting 5 May 23rd, 2001 05:04 AM
Rootless X Free on MacOSX phule Mac OS X System & Mac Software 29 May 19th, 2001 03:04 AM


All times are GMT -5. The time now is 04:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.