[PolyORB-users] PolyORB compilation on Windows
Nichols-Webb, Cynthia O (SED/INV)
cynthia.nicholswebb at us.army.mil
Tue Oct 4 18:48:43 CEST 2005
Jerome,
Here's the output from the compilation of run_script.adb. It failed during the linking phase. Is it necessary to complete the linking here, or is it ok to just return to the parent directory "polyorb-1.2r" and proceed with the "make" command?
Thanks.
-----Original Message-----
From: Jerome Hugues [mailto:hugues at infres.enst.fr]
Sent: Tuesday, October 04, 2005 11:40 AM
To: Nichols-Webb, Cynthia O (SED/INV)
Cc: polyorb-users at LISTS.EU.adacore.com
Subject: Re: [PolyORB-users] PolyORB compilation on Windows
Nichols-Webb, Cynthia O (SED/INV) (cynthia.nicholswebb at us.army.mil):
> Hello,
> The requested output is attached. The source files
> g-regist.ad[sb] are included in the
> c:/cygwin/lib/gcc/i686-pc-cygwin/3.4.4/adainclude directory, but the
> files apparently did not get compiled with the release. I also
> tried building GCC (C,C++,Ada) from scratch, but the files were not
> built then either, even when I added the "--enable-registry" option
> to the configure command.
OK, so this means there is an issue with the cygwin compiler
You might want to try the following, in support/ directory, run
gnatmake -a -f run_script.adb -cargs -gnatwae -gnatg
This will force the compilation of run_script and all necessary
runtime packages, including GNAT.Registry
Then, process with the standard compilation
Regards,
Jerome
-------------- next part --------------
cnwebb at ba-aadl-metah3 /cygdrive/c/programs/polyorb-1.2r/support
$ gnatmake -a -f run_script.adb -cargs -gnatwae -gnatg
gcc -c -gnatwae -gnatg run_script.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-stalib.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/ada.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-comlin.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-except.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-textio.adb
gcc -c -I./ -gnatwae -gnatg -I- /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/gnat.ads
gcc -c -I./ -gnatwae -gnatg -I- /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/g-dirope.adb
gcc -c -I./ -gnatwae -gnatg -I- /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/g-os_lib.adb
gcc -c -I./ -gnatwae -gnatg -I- /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/g-regist.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-secsta.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-soflin.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-strops.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-sopco3.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/system.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-memory.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-elchha.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/interfac.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-exctab.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-mastop.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-stalib.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-stoele.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-traceb.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-unstyp.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-traent.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-stream.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/i-cstrea.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-crtl.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-fileio.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-ioexce.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-tags.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-ficobl.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-charac.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-chahan.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-string.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-strfix.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-strmap.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-filico.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-finimp.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-finroo.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-casuti.adb
gcc -c -I./ -gnatwae -gnatg -I- /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/g-string.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/i-c.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-imgint.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-sopco4.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-parame.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-stache.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-htable.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-except.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-finali.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-chlat1.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-stmaco.ads
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/a-strsea.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-bitops.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-stratt.adb
gcc -c -I./ -gnatwae -gnatg -I- -gnatpg /usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude/s-purexc.ads
gnatbind -x run_script.ali
gnatlink run_script.ali
./g-regist.o:g-regist.adb:(.text+0x239): undefined reference to `_RegCloseKey'
./g-regist.o:g-regist.adb:(.text+0x665): undefined reference to `_RegCreateKeyExA'
./g-regist.o:g-regist.adb:(.text+0xaaa): undefined reference to `_RegDeleteKeyA'
./g-regist.o:g-regist.adb:(.text+0xedd): undefined reference to `_RegDeleteValueA'
./g-regist.o:g-regist.adb:(.text+0x14af): undefined reference to `_RegOpenKeyExA'
./g-regist.o:g-regist.adb:(.text+0x187c): undefined reference to `_RegQueryValueExA'
./g-regist.o:g-regist.adb:(.text+0x22ac): undefined reference to `_RegSetValueExA'
collect2: ld returned 1 exit status
gnatlink: cannot call /usr/bin/gcc.exe
gnatmake: *** link failed.
cnwebb at ba-aadl-metah3 /cygdrive/c/programs/polyorb-1.2r/support
$
More information about the PolyORB-users
mailing list