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':

[plidman@host 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@
DEFS=@DEFS@ -D__x86__ -D__linux__ -D__OSVERSION__=2
INCLUDES=-I@OMNIORB@/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: [EMAIL PROTECTED]
Nokia Home Communications   Phone: +46 (0)13  4611201
Diskettgatan 11             Fax:   +46 (0)13  4611001
583 35 Linköping, Sweden    


Reply via email to