[PolyORB-users] building DSA acho example: setsid not found

Rob Groen robgr at xs4all.nl
Wed Jan 21 17:23:50 CET 2009


Hi,

I have a WinXP SP3 Pro system with Cygwin installed. For
the Ada environment I am using GNAT GPL 2008

I've build and installed polorb with the following commands
$ ADA=/ada/GNAT/GPL/bin/gcc ./configure --prefix=/ada/GNAT/GPL
--with-appli-perso=dsa
$ make
$ make install

Wrt setsid the config.log says:
configure:5052: checking for setsid
configure:5109: gcc -o conftest.exe -g -O2 conftest.c >&5
configure:5115: $? = 0
configure:5119: test -z
|| test ! -s conftest.err
configure:5122: $? = 0
configure:5125: test -s conftest.exe
configure:5128: $? = 0
configure:5140: result: yes

However when I do
$ cd ada/gnat/polyorb-2.4.0-src/examples/dsa/echo
$ po_gnatdist echo

I get

d:\ada\GNAT\GPL\lib/libpolyorb.a(csupport.o): In function `_PolyORB_detach':
/ada/gnat/polyorb-2.4.0-src/src/csupport.c:44: undefined reference to
`setsid'
collect2: ld returned 1 exit status
gnatlink: error when calling d:\ada\GNAT\GPL\bin\gcc.exe
gnatmake: *** link failed.


What's wrong with my environment?


Regards,

Rob Groen




More information about the PolyORB-users mailing list