[PolyORB-users] GNAT.SOCKETS.SOCKET_ERROR while compiling still there.

Martin Krischik krischik at users.sourceforge.net
Fri Jan 7 19:09:39 CET 2005


Hello,

I am still getting a SOCKET_ERROR while compiling:


    POLYORB VERSION: 

Snapshout 07.01.2005


    HOST MACHINE and OPERATING SYSTEM:

Linux linux2 2.6.8-24.10-default #1 Wed Dec 22 11:54:27 UTC 2004 x86_64 x86_64 
x86_64 GNU/Linux

(but it is the same for i686)

    COMPILER VERSION
GNATLS 3.4.3 Copyright 1997-2004 Free Software Foundation, Inc.

Source Search Path:
   <Current_Directory>
   ./
   /work/ada/bc-20040319/
   /work/ada/charles/src/
   /opt/ada/include/xmlada/xmlada/
   /opt/ada/include/asis/
   /opt/ada/include/florist/
   /opt/ada/include/polyorb/
   /opt/ada/include/polyorb/corba/
   /opt/ada/include/polyorb/corba/cos/
   /opt/ada/include/polyorb/corba/messaging/
   /opt/ada/include/polyorb/corba/portableinterceptor/
   /opt/ada/include/polyorb/corba/rtcorba/
   /opt/ada/include/polyorb/dsa/
   /opt/ada/include/polyorb/moma/
   /opt/ada/include/polyorb/giop/
   /opt/ada/include/polyorb/giop/diop/
   /opt/ada/include/polyorb/giop/iiop/
   /opt/ada/include/polyorb/giop/miop/
   /opt/ada/include/polyorb/soap/
   /opt/ada/include/polyorb/web_common/
   /opt/ada/include/polyorb/srp/
   /opt/ada/lib/gcc/x86_64-unknown-linux-gnu/3.4.3/adainclude/


Object Search Path:
   <Current_Directory>
   ./
   /opt/ada/include/bc/Linux-Object/
   /opt/ada/include/xmlada/
   /opt/ada/include/asis/
   /opt/ada/include/florist/
   /opt/ada/lib/gcc/x86_64-unknown-linux-gnu/3.4.3/adalib/

autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
automake (GNU automake) 1.9.1
Written by Tom Tromey <tromey at redhat.com>.

Copyright 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


    DESCRIPTION:

Still get the socket error on compile:

po_cos_naming \
        -m \
        -g -O2 -gnatfy -gnatwae -gnatpn -I../../idls/cos/naming 
-I../../../../act/polyorb/cos/naming -I../../../../act/polyorb/src 
-I../../src -I../../../../act/polyorb/src/giop -I../../src/giop 
-I../../../../act/polyorb/src/giop/diop -I../../src/giop/diop 
-I../../../../act/polyorb/src/giop/iiop -I../../src/giop/iiop 
-I../../../../act/polyorb/src/giop/miop -I../../src/giop/miop 
-I../../../../act/polyorb/src/soap -I../../src/soap 
-I../../../../act/polyorb/src/srp -I../../src/srp 
-I../../../../act/polyorb/src/corba -I../../src/corba    
-I../../../../act/polyorb/cos/ir -I../../cos/ir   
-I../../../../act/polyorb/src/web_common -I../../src/web_common 
-I/opt/ada/include/xmlada \
-bargs  \
-largs  \
--LINK=../../support/linker \
        ../../src/libpolyorb.la ../../src/giop/libpolyorb-giop.la ../../src/giop/diop/libpolyorb-giop-diop.la ../../src/giop/iiop/libpolyorb-giop-iiop.la ../../src/giop/miop/libpolyorb-giop-miop.la ../../src/soap/libpolyorb-soap.la  ../../src/srp/libpolyorb-srp.la ../../src/corba/libpolyorb-corba.la  ../../src/moma/libpolyorb-moma.la ../../src/web_common/libpolyorb-web_common.la 
-L/opt/ada/lib -lxmlada_input_sources -lxmlada_sax -lxmlada_unicode 
-lxmlada_dom
polyorb.initialization: Initialization of access_points.uipmc failed: 
Exception name: GNAT.SOCKETS.SOCKET_ERROR
Message: [19] No such device


raised GNAT.SOCKETS.SOCKET_ERROR : [19] No such device
make[2]: *** [po_cos_naming] Fehler 1
make[2]: Leaving directory 
`/work/act.x86_64-unknown-linux-gnu/polyorb/cos/naming'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/work/act.x86_64-unknown-linux-gnu/polyorb/cos'
make: *** [all-recursive] Fehler 1
/work/configure

Looking at the relevant Makefile I see:

GNATCHOP = gnatchop
GNATFLAGS = -g -O2 -gnatfy -gnatwae -gnatpn
GNATMAKE = gnatmake
GNATMAKE_FOR_TARGET = 
GNAT_PERFECT_HASH_GENERATORS = GNAT.Perfect_Hash.Generators

The duplicate GNATMAKE_FOR_TARGET is gone however the remaing one is still 
empty.

    REPEAT BY:

Just compile PolyORB itself.

    SAMPLE FIX/WORKAROUND:

change Makefile to:

GNATCHOP = gnatchop
GNATFLAGS = -g -O2 -gnatfy -gnatwae -gnatpn
GNATMAKE = gnatmake
GNATMAKE_FOR_TARGET = gnatmake
GNAT_PERFECT_HASH_GENERATORS = GNAT.Perfect_Hash.Generators

Martin
-- 
Martin Krischik
mailto://krischik@users.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/polyorb-users/attachments/20050107/83942526/attachment.bin


More information about the PolyORB-users mailing list