[hipl-users] Infrahip Hi3 support.

  • From: "Walter Wong" <walterwong@xxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Mon, 28 Aug 2006 22:32:36 +0000

Hi,

I've been testing the hi3 support but I didn't work. I downloaded the
latest nightly build and did what the manual said. However I got the
following error:

init.c: In function `hipd_init':
init.c:52: error: `i3_config' undeclared (first use in this function)
init.c:52: error: (Each undeclared identifier is reported only once
init.c:52: error: for each function it appears in.)
make[1]: *** [init.o] Error 1
make[1]: Leaving directory `/usr/local/hipl--main--2.6/hipd'
make: *** [all-recursive] Error 1

I looked in the source code and found that there was a reference of
i3_config in the hipd.c source file, but not in the init.c file. I
added the declaration of the variable and this error stopped. Later,
it failed saying that the library libi3client.a was missing. I
compiled it by myself and it didn't work.

Some of the output of the compiler:

gcc -g -o hipd rvs.o update.o beet.o hipd.o keymat.o user.o hadb.o
oppdb.o close.o input.o output.o hidb.o cookie.o netdev.obos.o nat.o
spam.o escrow.o reg.o init.o maintenance.o accessor.o
../libinet6/.libs/libinet6.a ../libhiptool/.libs/libhiptool.a
../i3/i3_client/libi3client.a ../i3/aeshash/libaes.a -lcrypto
../libhiptool/.libs/libhiptool.a(message.o)(.text+0x24f): In function
`hip_send_recv_daemon_info':
/usr/local/hipl--main--2.6/libhiptool/message.c:60: warning: the use
of `tmpnam' is dangerous, better use `mkstemp'
output.o(.text+0x16f1): In function `no_matching_trigger':
/usr/local/hipl--main--2.6/hipd/output.c:592: undefined reference to
`sprintf_i3_id'
../i3/i3_client/libi3client.a(i3_client_api.o)(.text+0x7): In function
`cl_init':
/usr/local/hipl--main--2.6/i3/i3_client/i3_client_api.c:61: undefined
reference to `init_rand'
../i3/i3_client/libi3client.a(i3_client_api.o)(.text+0xc):/usr/local/hipl--main--2.6/i3/i3_client/i3_client_api.c:63:
undefined reference to `nw_init'
../i3/i3_client/libi3client.a(i3_client_api_ctx.o)(.text+0x10): In
function `cl_ctx_init':
/usr/local/hipl--main--2.6/i3/i3_client/i3_client_api_ctx.c:68:
undefined reference to `nw_init'
../i3/i3_client/libi3client.a(i3_client_api_ctx.o)(.text+0x28):/usr/local/hipl--main--2.6/i3/i3_client/i3_client_api_ctx.c:80:
undefined reference to `read_parameters'
../i3/i3_client/libi3client.a(i3_client_api_ctx.o)(.text+0x74):/usr/local/hipl--main--2.6/i3/i3_client/i3_client_api_ctx.c:92:
undefined reference to `read_string_attribute'

I also tested the release 1.0 and it didn't fail with the i3_config,
but did the same about the libraries errors.

Can you give me any advice?

BR,


-- Walter Wong E-mail:wong at dca.fee.unicamp.br School of Electrical and Computer Engineering - FEEC State University at Campinas - UNICAMP

Other related posts: