Ugh. The problem was in the formation of the error message! It crept
in during a core reorg a month ago.
Fixed and checked in/pushed.
Thanks for identifying the issue - it saved time...
Jim
On 6/4/11 12:01 PM, Frank Gönninger wrote:
Hi again!
I meanwhile found the error: Instead of wrongly specifying the properties' datatype as
"int" I now put in "ULong" and all is well.
If possible I'd suggest to implement a more graceful method dying - with an
error message giving a hint ... ;-)
Thanks!
Cheers
Frank
Am 04.06.2011 um 15:11 schrieb Frank Gönninger:
Hi James,
thanks for coming back quickly.
I have set OCPI_CKD_DIR, too. It is set to /opt/radio/packages/opencpi/ocpi and
is equal to OCPI_DIR.
My full environment re OCPI is:
OCPI_OMNI_INCLUDE_DIR=/opt/orb/omniorb/include
OCPI_PPP_LIBRARY_DIR=
OCPI_ARCH=x86_64
OCPI_RUNTIME_HOST=darwin-x86_64
OCPI_OMNI_IDL_DIR=/opt/orb/omniorb/share/idl/omniORB
OCPIDIR=/opt/radio/packages/opencpi
OCPI_OMNI_DIR=/opt/orb/omniorb
OCPI_CDK_DIR=/opt/radio/packages/opencpi/ocpi
OCPI_OS=darwin
OCPI_OMNI_LIBRARY_DIR=/opt/orb/omniorb/lib
OCPI_OMNI_BIN_DIR=/opt/orb/omniorb/bin
OCPI_DEBUG=1
OCPI_SHARED_LIBRARIES_FLAGS=
OCPI_EXCLUDE_TARGETS=xilinx
OCPI_ASSERT=1
OCPI_GTEST_DIR=/opt/langtools/packages/gtest
OCPI_OUT_DIR=darwin-x86_64-bin
OCPI_LIBRARY_PATH=/var/data/opencpi/libexec
OCPI_BUILD_HOST=darwin-x86_64
OCPI_BASE_DIR=/Users/frgo
OCPI_CORBA_ORB=OMNI
OCPI_DIR=/opt/radio/packages/opencpi/ocpi
OCPI_HAVE_IBVERBS=0
OCPI_BUILD_SHARED_LIBRARIES=1
OCPI_PPP_INCLUDE_DIR=
Some of the env vars are made up to support my own dev environment.
Regards
Frank
Am 04.06.2011 um 14:42 schrieb James Kulp:
We'll check this later today.
You must set OCPI_CDK_DIR,
Not OCPI_DIR.
Sent from my phone.
On Jun 4, 2011, at 8:13, Frank Gönninger<[email protected]> wrote:
Hi all:
with the following Makefile
$ more Makefile
include $(OCPI_DIR)/include/worker.mk
I want to generate code using the following OWD and OCS files:
$ more devil.xml
<RCCImplementation>
<xi:include href="adt200a135gspec.xml">
</RCCImplementation>
$ more adt200a135gspec.xml
<ComponentSpec Name="ADT200A">
<Properties>
<Property Name="num_tx" Type="int" />
<Property Name="num_rx" Type="int" />
</Properties>
<DataInterfaceSpec Name="FRA" Producer="true">
<Protocol>
<Operation Name=”SET_FRA”>
<Argument Name=”F” Type=”String” StringLength="20" />
</Operation>
<Operation Name=”GET_FRA”>
<Argument Name=”F” Type=”String” StringLength="20" />
</Operation>
</Protocol>
</DataInterfaceSpec>
</ComponentSpec>
I get a very disappointing segmentation fault from make... What am I doing
wrong ? Thanks for any help.
Regards,
Frank
_______________________________________________
opencpi_dev mailing list
[email protected]
http://lists.opencpi.org/listinfo.cgi/opencpi_dev-opencpi.org
--
C o n s e q u o r C o n s u l t i n g A G
Frank Goenninger
E-Mail: [email protected]
Phone: +49 711 781 181-10
Fax: +49 711 781 181-11
Consequor Consulting AG
Liebknechtstr. 33
D-70565 Stuttgart
Vorstand: Frank Gönninger (Vors.), Martin Melcher
Aufsichtsratsvorsitzender: Dipl.-Kfm. Matthias Filbinger
Sitz der Gesellschaft: 70565 Stuttgart, Deutschland
Registergericht Amtsgericht Stuttgart HRB 727446
--
C o n s e q u o r C o n s u l t i n g A G
Frank Goenninger
E-Mail: [email protected]
Phone: +49 711 781 181-10
Fax: +49 711 781 181-11
Consequor Consulting AG
Liebknechtstr. 33
D-70565 Stuttgart
Vorstand: Frank Gönninger (Vors.), Martin Melcher
Aufsichtsratsvorsitzender: Dipl.-Kfm. Matthias Filbinger
Sitz der Gesellschaft: 70565 Stuttgart, Deutschland
Registergericht Amtsgericht Stuttgart HRB 727446
_______________________________________________
opencpi_dev mailing list
[email protected]
http://lists.opencpi.org/listinfo.cgi/opencpi_dev-opencpi.org
_______________________________________________
opencpi_dev mailing list
[email protected]
http://lists.opencpi.org/listinfo.cgi/opencpi_dev-opencpi.org