gcc-3.3 "-D" ... sockets-constants.ads ->"no input file"

danielcheagle <[email protected]> Sun, 26 Oct 2003 14:45:57 -0200
Newsgroups gmane.comp.lang.ada.sockets
Message-ID <[email protected]>
Hi!:-)
I'm get the following error when I type 'make':-)

Making all in src
make[1]: Entering directory `/root/gtkada2/adasockets-1.8.2/src'
/bin/sh ../libtool --mode=compile ../support/adacompiler -I. -I. 
sockets-constants.ads
rm -f .libs/sockets-constants.lo
../support/adacompiler -I. -I. sockets-constants.ads  -fPIC -DPIC -o 
.libs/sockets-constants.lo
gcc-3.3 -c -I. -I. -fPIC -DPIC -D sockets-constants.ads
_______________________________^^^_____________________
gcc-3.3: no input files
_________^^
gnatmake: "sockets-constants.ads" compilation error
mv: cannot stat `tmp12177/*.o': No such file or directory
mv: cannot stat `tmp12177/*.ali': No such file or directory
make[1]: ** [sockets-constants.lo] Erro 1
make[1]: Leaving directory `/root/gtkada2/adasockets-1.8.2/src'
make: ** [all-recursive] Erro 1
christuseagle:~/gtkada2/adasockets-1.8.2#

-----++++++++------------

I believed that this "-D" is causing (partially:-)the problem :-) (note 
the ^^^)
I tried hard and I believe that this "-D" is going to showed because
the file "/adasockets-1.8.2/support/adacompiler.in (and his generated 
file adacompiler" in line 13, in the sed command.:-)

"adacompiler.in" (lines 13 and 14:-)
     cline=`echo $cline | sed -e "s, -o \([^ ]*\)\$, -D $tmp,"`
     $GNATMAKE -f -u $cline

Note that   -D $tmp is that the causing the problem because the -D is
showed alone without argument (e.g. options or directory) , aborting my 
compilation :-

Thanks a lot!:-)
[] of seven turns,c.h.Daniel:-)

keep up the good work!:-)!!!!!!!!!!!!!!!!
p.s.: thanks for understanding my bad English
p.s.: I using Debian Gnu/Linux Woody/stable 3.0 release1 (athlonXP1.7 e 
768 MB ram kernel 2.4.22 e gnome2.2:-)
bye!:-)


_______________________________________________
AdaSockets mailing list
[email protected]
http://www.rfc1149.net/mailman/listinfo/adasockets