Does anyone use the OSF/DCE RPC 1.1 Toolkit for Linux?

Does anyone use the OSF/DCE RPC 1.1 Toolkit for Linux?

Post by Jacques Vida » Sat, 08 Jul 2000 04:00:00



Hi,

I downloaded the package from
http://www.bu.edu/~jrd/FreeDCE/dce11rpc.html
and tried to install it on a RedHat 6.1 server.

The binary package installs fine but
doesn't work at all (the RPC endpoint
mapper crashes as soon as it is started).

I tried to compile the whole stuff
from the source files, but wasn't
more succesfull. The 'make export'
command outputs:
--------------------------------------------------------
mkdir -p ../export
for component in threads/linux include rpc uuid libdce; do \
(cd $component; make TARGET_CPU=I386 export); done
make[1]: Entering directory `/root/dce_rpc/dce-1.1/src/threads/linux'
cc -D__USE_POSIX -D__REENTRANT -fpic -g -D__BUILD_DCE_PTHREADS_LIBRARY -D__B
UILD_DCE_PTHREADS_LIBRARY_STDALONE -DYIELD_AFTER_PTHREAD_CREATE   -I. -c
pthread_dce.c -o pthread_dce.o
pthread_dce.c:123: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here
(not in a function)
make[1]: *** [pthread_dce.o] Error 1
make[1]: Leaving directory `/root/dce_rpc/dce-1.1/src/threads/linux'
make[1]: Entering directory `/root/dce_rpc/dce-1.1/src/include'
/usr/bin/install -m 444 -g root -o root dce.h dce_error.h dce_utils.h
sec_authn.h assert.h ../../export/include/dce
make[1]: Leaving directory `/root/dce_rpc/dce-1.1/src/include'
make[1]: Entering directory `/root/dce_rpc/dce-1.1/src/rpc'
for dir in idl/idl_compiler sys_idl runtime idl/lib;  do \
(cd $dir; make TARGET_CPU=I386 export); done
make[2]: Entering directory `/root/dce_rpc/dce-1.1/src/rpc/idl/idl_compiler'
Makefile:109: warning: overriding commands for target `install'
Makefile:46: warning: ignoring old commands for target `install'
mkdir -p ../../../../export//bin
mkdir -p ../../../../export//nls
install -m 555 -o root -g root idl ../../../../export//bin/idl
install -m 444 -o root -g root idl.cat ../../../../export//nls/idl.cat
make[2]: Leaving directory `/root/dce_rpc/dce-1.1/src/rpc/idl/idl_compiler'
make[2]: Entering directory `/root/dce_rpc/dce-1.1/src/rpc/sys_idl'
../idl/idl_compiler/idl -cepv -client none -server
none -I../../../export/include -no_mepv codesets.idl
../idl/idl_compiler/idl -cepv -client none -server
none -I../../../export/include -no_mepv conv.idl
../idl/idl_compiler/idl -cepv -client none -server
none -I../../../export/include -no_mepv convc.idl
../idl/idl_compiler/idl -cepv -client none -server
none -I../../../export/include rpcsts.idl
Warning: File rpcsts.idl is a system-defined IDL filename
../idl/idl_compiler/idl -cepv -client none -server
none -I../../../export/include rpctypes.idl
Warning: File rpctypes.idl is a system-defined IDL filename
../idl/idl_compiler/idl -cepv -client none -server
none -I../../../export/include twr.idl
Warning: File twr.idl is a system-defined IDL filename
../idl/idl_compiler/idl -cepv -client none -server
none -I../../../export/include uuid.idl
Warning: File uuid.idl is a system-defined IDL filename
/usr/bin/install -m 444 -o root -g root codesets.h conv.h convc.h ep.h
iovector.h lbase.h mgmt.h nbase.h ncastat.h rpc.h rpcbase.h rpcpvt.h
rpcsts.h rpctypes.h twr.h uuid.h ../../../export/include/dce
/usr/bin/install -m 444 -o root -g root codesets_stub.h idl_es.h idlbase.h
idlddefs.h ndrold.h nsattrid.h rpcexc.h stubbase.h I386/marshall.h
I386/ndr_rep.h I386/ndrtypes.h ../../../export/include/dce
/usr/bin/install -m 444 -o root -g root codesets.idl conv.idl convc.idl
ep.idl iovector.idl lbase.idl mgmt.idl nbase.idl ncastat.idl ndrold.idl
rpc.idl rpcbase.idl rpcpvt.idl rpcsts.idl rpctypes.idl twr.idl uuid.idl
../../../export/include/dce
/usr/bin/install -m 444 -o root -g root dcerpc.cat ../../../export/nls
make[2]: Leaving directory `/root/dce_rpc/dce-1.1/src/rpc/sys_idl'
make[2]: Entering directory `/root/dce_rpc/dce-1.1/src/rpc/runtime'
gcc -DNCK -DPROT_NCADG -DPROT_NCACN   -DNAF_IP -DDEBUG -I. -I../../../export
/include -ILINUX -D_BSD -D_SOCKADDR_LEN -D_REENTRANT -DNDEBUG -O8 -g   -c
rpctimer.c -o rpctimer.o
In file included from commonp.h:92,
                 from rpctimer.c:41:
LINUX/sysconf.h:54: iovec.h: No such file or directory
make[2]: *** [rpctimer.o] Error 1
make[2]: Leaving directory `/root/dce_rpc/dce-1.1/src/rpc/runtime'
make[2]: Entering directory `/root/dce_rpc/dce-1.1/src/rpc/idl/lib'
mkdir -p ../../../../export/include
make[2]: Leaving directory `/root/dce_rpc/dce-1.1/src/rpc/idl/lib'
make[1]: Leaving directory `/root/dce_rpc/dce-1.1/src/rpc'
make[1]: Entering directory `/root/dce_rpc/dce-1.1/src/uuid'
install  -m 444 -o root -g root uuid.H ../../export/include/dce
make[1]: Leaving directory `/root/dce_rpc/dce-1.1/src/uuid'
make[1]: Entering directory `/root/dce_rpc/dce-1.1/src/libdce'
make[1]: *** No rule to make target `../rpc/runtime/libnck.a', needed by
`libdcerpc-0.1.so'.  Stop.
make[1]: Leaving directory `/root/dce_rpc/dce-1.1/src/libdce'
make: *** [export] Error 2
--------------------------------------------------------

So, if anyone actually uses this package
with RH 6.1 or newer, I'd be glad to know
how he achieved the install.

TIA.

Jacques Vidal

 
 
 

1. Free DCE RPC 1.1 Kit for Linux now avail

[ Article reposted from comp.soft-sys.dce ]
[ Author was Jim Doyle ]
[ Posted on 7 Sep 1998 01:46:50 GMT ]

A port of the OSF/DCE RPC for Linux is now available for
testing and development. Sources and Binaries for Intel
and Alpha Redhat Linux are available at this site:

        http://www.bu.edu/~jrd/FreeDCE/dce11rpc.html

The kit includes the DCE RPC runtime libraries and headers,
the 'uuidgen' tool for generating UUIDs, the DCE IDL compiler,
as well as some test and demo programs.

This port of RPC relies on native LinuxThreads and thread-safe
support from the GNU C Library (glibc). Although the porting
work was done on Redhat Linux 5.1, it should work on any 2.0.3x
Linux system based on GLIBC 2.0.7. The port has been tested
on Intel and DEC Alpha based Linux platforms against vendor DCE
products on Solaris and AIX. The code should build and operate
fine on Linux SPARC and Linux PowerPC architectures as well.                

At some point, I'd like to see this work make it into the popular
Linux distribution media channels, as an optionally installable
software module. To do that, we need some volunteers to do some
more work, particularly with software packaging.

If you want to join in, please subscribe to the mailing
list that can be found from the web site above.

-- Jim

--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jim Doyle                         Boston University   Information Technology

http://www.bu.edu/~jrd/                           tel. (617)-353-8248
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++--+-+-+-+-+-+-

--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jim Doyle                         Boston University   Information Technology

http://www.bu.edu/~jrd/                           tel. (617)-353-8248
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++--+-+-+-+-+-+-

2. Why all of this 'ease of use' talk?

3. DCE RPC 1.1

4. Ftp over cipe(VPN)

5. DCE RPC 1.1 for FreeBSD?

6. Potential tcpdump problem w/Linux

7. question on DCE RPC 1.1

8. MS dumps .NET

9. OSF DCE RPC (ACK!ronym overload)

10. Q: Is there any OSF/DCE compliant RPC package for SUN/Solaries?

11. Learn OSF Technology at the OSF/DCE Conference

12. Comparison bet soap rpc, dce rpc and sun rpc

13. Anyone using Tripwire 1.1?