Hi,

I sent previous message but didn't get anything, so I'm sending this group. 


Thanks,

 

---------- Forwarded message ----------
From: Ivan Mikey <ivanmikey2@gmail.com>
Date: Thu, Feb 28, 2013 at 1:32 PM
Subject: ASN1C
To: baseband-devel@lists.osmocom.org


Hi, 

I've been searching for help regarding the ASN1C in http://cgit.osmocom.org/cgit/

I'm not sure if this is the right group to contact or not, if not please let me know and I apologize for it. 


I've installed the following 

SS7/MAP 
asn1c
libasn1c
libosmo-asn1-map
libosmo-asn1-tcap
libosmo-tcap
libsu
osmo-tcap-map

and then did the below and I got the following errors.

/osmo-tcap-map/test$ make
cc -lasn1c -losmo-asn1-map -losmo-asn1-tcap -lm -o gprs_update gprs_update.o
gprs_update.o: In function `create_map_invoke':
gprs_update.c:(.text+0xf0): undefined reference to `asn_long2INTEGER'
gprs_update.c:(.text+0x111): undefined reference to `ANY_new_fromType'
gprs_update.o: In function `upd_gprs_loc_invoke':
gprs_update.c:(.text+0x160): undefined reference to `OCTET_STRING_fromBuf'
gprs_update.c:(.text+0x17d): undefined reference to `OCTET_STRING_fromBuf'
gprs_update.c:(.text+0x19a): undefined reference to `OCTET_STRING_fromBuf'
gprs_update.c:(.text+0x1ad): undefined reference to `asn_DEF_UpdateGprsLocationArg'
gprs_update.c:(.text+0x1b5): undefined reference to `xer_fprint'
gprs_update.c:(.text+0x1c4): undefined reference to `asn_DEF_UpdateGprsLocationArg'
gprs_update.c:(.text+0x1e2): undefined reference to `asn_DEF_Component'
gprs_update.c:(.text+0x1ea): undefined reference to `xer_fprint'
gprs_update.o: In function `upd_gprs_loc_aarq':
gprs_update.c:(.text+0x2d7): undefined reference to `OBJECT_IDENTIFIER_set_arcs'
gprs_update.c:(.text+0x2e7): undefined reference to `asn_DEF_DialoguePDU'
gprs_update.c:(.text+0x2ef): undefined reference to `xer_fprint'
gprs_update.o: In function `tcap_msg':
gprs_update.c:(.text+0x3e9): undefined reference to `OCTET_STRING_fromBuf'
gprs_update.c:(.text+0x415): undefined reference to `OBJECT_IDENTIFIER_set_arcs'
gprs_update.c:(.text+0x42c): undefined reference to `asn_DEF_DialoguePDU'
gprs_update.c:(.text+0x434): undefined reference to `ANY_fromType'
gprs_update.c:(.text+0x443): undefined reference to `asn_DEF_ExternalPDU'
gprs_update.c:(.text+0x448): undefined reference to `ANY_new_fromType'
gprs_update.c:(.text+0x492): undefined reference to `asn_set_add'
gprs_update.c:(.text+0x4a2): undefined reference to `asn_DEF_TCMessage'
gprs_update.c:(.text+0x4aa): undefined reference to `xer_fprint'
collect2: ld returned 1 exit status
make: *** [gprs_update] Error 1


Thanks
Ivan