[omniORB] Red Hat Linux 8.0 - SRPMS compilation problem

Alessandro Oliveira alessandro.o@nunoferreira.com.br
Mon Oct 7 14:54:01 2002


Dear Sander,

I tried to compile the SRPMS you made available at your webside on 
RedHat 8.0, although I didn't have any success, I think the SRPM you 
made available is the Thomas version, thus it seems to not have 
necessary to patch to make it work correctly on RH 8.0.

Could you please upload the patch or the patched SRPMS to your website 
or send it by e-mail to me.

I got the following error when rpmbuild --rebuild omniORB-4.0.0-3.src.rpm:

g++ -c -O2 -Wall -Wno-unused -fexceptions -I.. -I./.. 
-I../../../../../include/omniORB4/internal 
-I../../../../../include/omniORB4/internal -D_OMNIORB_SSL_LIBRARY 
-D__OMNIORB4__ -I../../../../../stub
-D_REENTRANT -I/usr/include -I. -I. -I../../../../../include 
-I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__x86__ -o 
static/sslActive.o sslActive.cc
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning:   as it has already been specified as a non-system 
directory
In file included from 
../../../../../include/omniORB4/internal/SocketCollection.h:161,
                 from sslActive.cc:43:
/usr/include/unistd.h:946: declaration of `char* crypt(const char*, const
   char*) throw ()' throws different exceptions
/usr/include/openssl/des.h:193: than previous declaration `char* crypt(const
   char*, const char*)'
make[5]: *** [static/sslActive.o] Error 1
make[5]: Leaving directory 
`/usr/src/redhat/BUILD/omniORB-4.0.0/src/lib/omniORB/orbcore/ssl'
make[4]: *** [export] Error 1
make[4]: Leaving directory 
`/usr/src/redhat/BUILD/omniORB-4.0.0/src/lib/omniORB/orbcore'
make[3]: *** [export] Error 1
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/omniORB-4.0.0/src/lib/omniORB'
make[2]: *** [export] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/omniORB-4.0.0/src/lib'
make[1]: *** [export] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/omniORB-4.0.0/src'
make: *** [all] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.58732 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.58732 (%build)


-- 
Thanks in Advance,

Alessandro Oliveira
Nuno Ferreira Cargas Internacionais Ltda.
Phone: +55-11-3241-2000
Fax  : +55-11-3242-9891
-------------------------------------------------------------------

It's trivial to make fun of Microsoft products, but it takes a real 
man to make them work, and a god to make them do anything useful.