Re: port of user app onto arm

amar <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>

I do have same problem, I am unable to solve this can any one help on this 

Marek Bykowski <marek.bykowski <at> klasonline.com> writes:

> 
> Hello All,It's my first post so wanted to say hello to everybody. I'm doing a
port of user app "opennhrp" onto an arm platform and seems to be running into a
c-ares library problem (Ubuntu package: libc-ares-dev). Part of my Makefile
where I replace standard gcc with arm gcc looks as below:#CC             :=
$(CROSS_COMPILE)gcc#LD             := $(CROSS_COMPILE)ld# !!!!!!!!!!!!!!
snapgear replacements !!!!!!!!!!!!!!!!!!!!!!!!!!
> ## snapgear cross-compilationCC              := ucfront-gcc arm-linux-gcc
-mbig-endian  # ucfront and arm c compiler and big endianLD              :=
ucfront-ld arm-linux-ld                 # ucfront and arm linker
> AR              := arm-linux-ar r                          # binary utilities
for subroutines in archived libsSTRIP           :=
arm-linux-strip                      # strips the symbols from object fileswhen
compiling the following error apears:
> CC      nhrp/admin.o  CC      nhrp/libev.o  CC     
nhrp/nhrp_address.onhrp/nhrp_address.c:22:26: ares_version.h: No such file or
directorynhrp/nhrp_address.c: In function `ares_io_cb':nhrp/nhrp_address.c:63:
error: `ares_socket_t' undeclared (first use in this function)
> nhrp/nhrp_address.c:63: error: (Each undeclared identifier is reported only
oncenhrp/nhrp_address.c:63: error: for each function it appears
in.)nhrp/nhrp_address.c:63: error: parse error before "rfd"
> nhrp/nhrp_address.c:66: error: `rfd' undeclared (first use in this
function)nhrp/nhrp_address.c:68: error: `wfd' undeclared (first use in this
function)nhrp/nhrp_address.c:70: warning: implicit declaration of function
`ares_process_fd'
> nhrp/nhrp_address.c: At top level:nhrp/nhrp_address.c:73: error: parse error
before "ares_socket_t"nhrp/nhrp_address.c:75: warning: function declaration
isn't a prototypenhrp/nhrp_address.c: In function `ares_socket_cb':
> nhrp/nhrp_address.c:76: error: `data' undeclared (first use in this
function)nhrp/nhrp_address.c:79: error: `readable' undeclared (first use in this
function)nhrp/nhrp_address.c:81: error: `writable' undeclared (first use in this
function)
> nhrp/nhrp_address.c:85: error: `fd' undeclared (first use in this
function)nhrp/nhrp_address.c: In function
`nhrp_address_resolve_cancel':nhrp/nhrp_address.c:258: warning: implicit
declaration of function `ares_cancel'
> nhrp/nhrp_address.c: In function `nhrp_address_init':nhrp/nhrp_address.c:427:
error: structure has no member named `sock_state_cb'nhrp/nhrp_address.c:428:
error: structure has no member named `sock_state_cb_data'
> nhrp/nhrp_address.c:432: error: `ARES_OPT_SOCK_STATE_CB' undeclared (first use
in this function)Have anybody of you came across this problem before?Thanks a
million,Marek
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev <at> uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev <at> uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev




_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.