Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "�ּ���" <MYST21@chollian.net>
Subject: DCE RPC & POSIX Thread On Digital UNIX 4.0 (Alpha Server)
Date: 1999/06/17	[thread overview]
Message-ID: <8y6a3.162$RP2.10269@news.bora.net> (raw)

I want to know how to use dce rpc and posix thread on digital unix 4.0.
I use gcc 2.7.2.3 and the followings options.

----------------------------------------------------------------------------
-----------
CC = gcc
IDL = /bin/idl

CFLAGS = -g -I. -D_REENTRANT
LIBS = -lpthread -lpthreads -ldce

default: client server

client: arithmetic_cstub.o client.o
        $(CC) $(CFLAGS) -o client client.o arithmetic_cstub.o $(LIBS)
../../MyLib/lib/mylib.o ../../
MyLib/lib/mylibdce.o

server: arithmetic_sstub.o server.o procedure.o
        $(CC) $(CFLAGS) -o server server.o procedure.o arithmetic_sstub.o
$(LIBS) ../../MyLib/lib/my

lib.o ../../MyLib/lib/mylibdce.o

procedure.o : arithmetic.h procedure.c
        $(CC) $(CFLAGS) -DIDL_NO_PROTOTYPES -c
rocedure.c  -I../../MyLib/include

client.o : client.c
        $(CC) -c $(CFLAGS) -I../../MyLib/include -I. client.c

server.o : server.c
        $(CC) -c $(CFLAGS) -I../../MyLib/include -I. server.c

arithmetic_cstub.o arithmetic_sstub.o arithmetic.h : arithmetic.idl
arithmetic.acf
        $(IDL) -trace all -trace log_manager -keep both arithmetic.idl
----------------------------------------------------------------------------
----------

But, after make, the following error occurs.

----------------------------------------------------------------------------
----------
collect2: ld returned 1 exit status
/bin/ld:
Unresolved:
__Ots_CSpecificHandler
*** Exit 1
Stop.
----------------------------------------------------------------------------
-----------

I guess that Any library is not loaded.
Why not make?




                 reply	other threads:[~1999-06-17  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox