[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OmniORB idl compiler and automake
From: |
Pontus Lidman |
Subject: |
OmniORB idl compiler and automake |
Date: |
11 May 2001 10:19:20 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
Hello,
I'm having trouble using automake with idl files and
OmniORB. Processing an idl file generates a SK.cc file, a DynSK.cc
file, and a .hh file. These should then be made into object files
which go into a shared library. I'm using automake 1.4a and libtool
1.2f.
Note that the file suffixes of the omniidl targets don't start with a
dot, is this a problem?
The symptom is a very confusing error when trying to call 'make':
address@hidden idl]$ make
rpath /home/plidman/ostest/lib -version-info 1:0:0 -lpthread -lglib
make: rpath: Command not found
make: [libSidSK.la] Error 127 (ignored)
My current automake approach is as follows:
lib_LTLIBRARIES = libSidSK.la
CORBA_PATH = @OMNIORB@
address@hidden@ -D__x86__ -D__linux__ -D__OSVERSION__=2
address@hidden@/include -I$(top_srcdir)/common
IDLFLAGS = -I$(srcdir) -a
SUFFIXES = .idl
%.hh %SK.cc %DynSK.cc: %.idl
$(CORBA_PATH)/bin/i586_linux_2.0_glibc/omniidl2 $(IDLFLAGS) $(<F)
libSidSK_la_LDFLAGS = -version-info 1:0:0
IDL_FILES = \
DescriptorIdl.idl \
DescriptorMaskIdl.idl
I appreciate any help or advice you can give.
Regards,
Pontus
--
Pontus Lidman Email: address@hidden
Nokia Home Communications Phone: +46 (0)13 4611201
Diskettgatan 11 Fax: +46 (0)13 4611001
583 35 Linköping, Sweden
- OmniORB idl compiler and automake,
Pontus Lidman <=