Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Problem building GPS?: msg#00001

Subject: Problem building GPS?
Hi,

I'm trying to build GPS 1.4.0 on Solaris (SunOS 5.6), but am getting 
compiler/linker errors. Can anyone help?

I'm using GTK+ 2.2.4, GtkAda 2.2.1, and gcc 3.3.2 (all languages except Ada). I 
have tried compiling with both GNAT 3.15p and GNAT 3.16a, using the supplied 
GPS configure & make files. Both GNAT compilers are from the binary 
distributions.

With GNAT 3.15p, the compilation fails at gps-1.4.0-academic/gnat/g-os_lib.adb, 
complaining that SYSTEM.CASE_UTIL is not a predefined library unit.

With GNAT 3.16a everything compiles OK, but the linker complains that some 
symbols are defined in both 
lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/adalib/libgnat.a and 
src/gps-1.4.0-academic/common/obj/libcommon.a .

The exact error messages are listed below.

Thanks,

Will

--------------------------------------------------------
GNAT 3.15p

gcc -c -g -o /usr/local/tools/src/gps-1.4.0-academic/obj/g-os_lib.o 
-gnatecGNAT-8qSqI_ -gnatn -gnatpg -O2 -gnatws -gnatA 
/usr/local/tools/src/gps-1.4.0-academic/gnat/g-os_lib.adb
g-os_lib.adb:34:06: "SYSTEM.CASE_UTIL" is not a predefined library unit
gnatmake: "/usr/local/tools/src/gps-1.4.0-academic/gnat/g-os_lib.adb" 
compilation error
make[1]: *** [internal-build] Error 4
make: *** [default] Error 2


--------------------------------------------------------
GNAT 3.16a

gnatlink gps.ali -g 
/usr/local/tools/src/gps-1.4.0-academic/glide/../codefix/obj/libcodefix.a 
/usr/local/tools/src/gps-1.4.0-academic/glide/../vcs/obj/libvcs.a 
/usr/local/tools/src/gps-1.4.0-academic/glide/../vdiff/obj/libvdiff.a 
/usr/local/tools/src/gps-1.4.0-academic/glide/../prj_editor/obj/libprj_editor.a 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/../kernel/../widgets/obj/libwidgets.a
 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/../kernel/../common/obj/libcommon.a
 /usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/obj/libgvd.a 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/common/obj/libgvd_common.a 
-L/usr/local/tools/include/gtkada -L/usr/local/tools/lib -lgtkada 
-L/usr/local/tools/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/../kernel/src_info/sn/snsrc/db/PORT/libdb.a
 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/../kernel/src_info/sn/lib/db_capi.o
 -o /usr/local/tools/src/gps-1.4.0-academic/glide/obj/gps
ld: fatal: symbol `__gnat_vmsp' is multiply defined:
        (file 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/../kernel/../common/obj/libcommon.a(stubs.o)
 and file 
/usr/local/tools/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/adalib/libgnat.a(adaint.o));
ld: fatal: symbol `__gnat_copy_attribs' is multiply defined:
        (file 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/../kernel/../common/obj/libcommon.a(stubs.o)
 and file 
/usr/local/tools/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/adalib/libgnat.a(adaint.o));
ld: fatal: symbol `get_gcc_version' is multiply defined:
        (file 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/../kernel/../common/obj/libcommon.a(stubs.o)
 and file 
/usr/local/tools/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/adalib/libgnat.a(adaint.o));
ld: fatal: symbol `__gnat_is_readable_file' is multiply defined:
        (file 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/../kernel/../common/obj/libcommon.a(stubs.o)
 and file 
/usr/local/tools/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/adalib/libgnat.a(adaint.o));
ld: fatal: symbol `__gnat_is_symbolic_link' is multiply defined:
        (file 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/../kernel/../common/obj/libcommon.a(stubs.o)
 and file 
/usr/local/tools/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/adalib/libgnat.a(adaint.o));
ld: fatal: symbol `__gnat_environment_char' is multiply defined:
        (file 
/usr/local/tools/src/gps-1.4.0-academic/glide/../gvd/../kernel/../common/obj/libcommon.a(stubs.o)
 and file 
/usr/local/tools/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/adalib/libgnat.a(adaint.o));
ld: fatal: File processing errors. No output written to 
/usr/local/tools/src/gps-1.4.0-academic/glide/obj/gps
gnatlink: cannot call /usr/local/tools/.bin/gcc
gnatmake: *** link failed.
make[1]: *** [internal-build] Error 4
make: *** [default] Error 2




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.  The IT Department at Praxis Critical Systems can be 
contacted at it.support@xxxxxxxxxxxxxxx
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>