[hipl-users] Re: HIPL+ ubuntu

  • From: Varjonen Samu <samu.varjonen@xxxxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Thu, 12 Jun 2008 13:59:01 +0300

Hi,

Here, this patch from hipl sources has the correct protocol number and is the one most up to date (there is some UDP stuff still to be figured out).

patches/ethereal/wireshark-1.0.0-hip.patch

Varjonen Samu wrote:
Hi,

You can also take the wireshark patches from the hipl sources under /patches/ethereal.

BR,
SAMU

Lina wrote:
Thanks Andrey,

Just if you can, can you give me other links for wireshark because those ones give corrupted files.


 > Date: Thu, 12 Jun 2008 11:39:28 +0300
 > From: andrey.khurri@xxxxxxx
 > To: hipl-users@xxxxxxxxxxxxx
 > Subject: [hipl-users] Re: HIPL+ ubuntu
 >
 > Hi Lina,
 >
> To check whether the HIP base exchange has been performed you can use a
 > network analyzer, for instance, tcpdump or even better graphical
> Wireshark. The latter has HIP patches provided by Boeing and can display
 > HIP packets as well:
 >
 > http://hipserver.mct.phantomworks.org/ethereal.html
 >
> I am not sure though if the current patch for Wireshark reflects changes
 > of HIP protocol number (253 -> 139).
 >
> With tcpdump you can run the following command to see HIP only traffic:
 > "tcpdump -n -i any esp or proto 139 or port 50500"
 >
> If you resolve your hostname to an IP address at least locally (e.g. in
 > /etc/hosts) your test with hostname should work then.
 >
 > Regards,
 > Andrey
 >
 >
 > Lina wrote:
 > > Hello,
 > >
 > > I think finally I get some thing.
 > >
 > > In responder,
 > >
 > > test/conntest-server tcp 900
 > > debug(debug.c:671@hip_print_hit): local addr:
 > > 0000:0000:0000:0000:0000:0000:0000:0000
 > > debug(debug.c:671@hip_print_hit): peer addr:
 > > 2001:0018:53cf:c467:560d:5ddc:80fb:8627
 > > Client sends: ;TTTT
 > > Client has been replied.
 > >
 > > In initiator,
 > >
 > > test/conntest-client 3ffe::1 tcp 900
 > > info(debug.c:177@hip_set_auto_logdebug): Displaying ERROR and INFO
 > > debugging messages
> > info(debug.c:174@hip_set_auto_logdebug): Displaying all debugging messages
 > > debug(getaddrinfo.c:1395@getaddrinfo): name='3ffe::1' service='900'
> > debug(getaddrinfo.c:962@gaih_inet_get_name): The name to resolve is an
 > > IPv6
 > > Input some text, press enter and ctrl+d
 > > ;TTTT
 > > debug(debug.c:671@hip_print_hit): Addr given to connect:
 > > 3ffe:0000:0000:0000:0000:0000:0000:0001
 > > info(conntest.c:389@main_client_gai): !!!! conntest.c Connecting...
 > > After call conntest.c: connect to 3ffe::1
 > > connect ret=0 errno=0
 > > connect took 0.851 sec
 > > connect took 0.851 sec
 > > === connection test result: OK ===
 > >
> > I just want to be sure that this mean that every thing is OK, and PLZ
 > > if you can tell me how can I do to show my HIP packets, I will be so
 > > grateful. The result I get now doesn't show any of the fields of
 > > I1,I2,R1 et R2.
 > >
 > > Thanks so much for you all for your patience.
 > >
 > >
 > >
 > >
 > >
 > > > From: linalinaa@xxxxxxxxxx
 > > > To: hipl-users@xxxxxxxxxxxxx
 > > > Subject: [hipl-users] Re: HIPL+ ubuntu
 > > > Date: Wed, 11 Jun 2008 14:23:12 +0200
 > > >
 > > >
 > > > And when i put directly the IPV6 address of responder in
 > > conntest-client, I get this:
 > > >
 > > > [root@localhost ~]# ip xfrm state
 > > > src 3ffe::3 dst 3ffe::2
 > > > proto (null) reqid 0 mode transport
 > > > replay-window 0
 > > > sel src 2001:1b:c44:8784:2d1b:96b2:b6c5:ad41/128 dst
> > 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128 proto tcp sport 9481 dport 990
 > > > src 3ffe::3 dst 3ffe::2
 > > > proto (null) reqid 0 mode transport
 > > > replay-window 0
 > > > sel src 2001:1b:c44:8784:2d1b:96b2:b6c5:ad41/128 dst
> > 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128 proto tcp sport 9481 dport 990
 > > > src 3ffe::3 dst 3ffe::2
 > > > proto (null) reqid 0 mode transport
 > > > replay-window 0
 > > > sel src 2001:1b:c44:8784:2d1b:96b2:b6c5:ad41/128 dst
> > 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128 proto tcp sport 9481 dport 990
 > > > src 3ffe::3 dst 3ffe::2
 > > > proto (null) reqid 0 mode transport
 > > > replay-window 0
 > > > sel src 2001:1b:c44:8784:2d1b:96b2:b6c5:ad41/128 dst
> > 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128 proto tcp sport 9481 dport 990
 > > > src 3ffe::3 dst 3ffe::2
 > > > proto (null) reqid 0 mode transport
 > > > replay-window 0
 > > > sel src 2001:1b:c44:8784:2d1b:96b2:b6c5:ad41/128 dst
> > 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128 proto tcp sport 9481 dport 990
 > > >
 > > >
 > > >
 > > > [root@localhost ~]# ip xfrm policy
 > > > src 2001:10::/28 dst 2001:10::/28
 > > > dir in priority 0 ptype main
 > > > tmpl src :: dst ::
 > > > proto (null) reqid 0 mode transport
 > > > src 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128 dst
 > > 2001:16:5c7:aa3:ceef:5886:3b22:7c71/128
 > > > dir in priority 0 ptype main
 > > > tmpl src 3ffe::2 dst 3ffe::3
 > > > proto (null) reqid 0 mode transport
 > > > src 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128 dst
 > > 2001:1d:9d87:6693:4825:dd7:58d:1e24/128
 > > > dir in priority 0 ptype main
 > > > tmpl src 3ffe::2 dst 3ffe::3
 > > > proto (null) reqid 0 mode transport
 > > > src 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128 dst
 > > 2001:13:1b54:2028:c289:3244:60b2:83/128
 > > > dir in priority 0 ptype main
 > > > tmpl src 3ffe::2 dst 3ffe::3
 > > > proto (null) reqid 0 mode transport
 > > > src 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128 dst
 > > 2001:1b:c44:8784:2d1b:96b2:b6c5:ad41/128
 > > > dir in priority 0 ptype main
 > > > tmpl src 3ffe::2 dst 3ffe::3
 > > > proto (null) reqid 0 mode transport
 > > > src 2001:10::/28 dst 2001:10::/28
 > > > dir out priority 0 ptype main
 > > > tmpl src :: dst ::
 > > > proto (null) reqid 0 mode transport
 > > > src 2001:16:5c7:aa3:ceef:5886:3b22:7c71/128 dst
 > > 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128
 > > > dir out priority 0 ptype main
 > > > tmpl src 3ffe::3 dst 3ffe::2
 > > > proto (null) reqid 0 mode transport
 > > > src 2001:1d:9d87:6693:4825:dd7:58d:1e24/128 dst
 > > 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128
 > > > dir out priority 0 ptype main
 > > > tmpl src 3ffe::3 dst 3ffe::2
 > > > proto (null) reqid 0 mode transport
 > > > src 2001:13:1b54:2028:c289:3244:60b2:83/128 dst
 > > 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128
 > > > dir out priority 0 ptype main
 > > > tmpl src 3ffe::3 dst 3ffe::2
 > > > proto (null) reqid 0 mode transport
 > > > src 2001:1b:c44:8784:2d1b:96b2:b6c5:ad41/128 dst
 > > 2001:1e:34ac:46e3:73c4:c9de:657c:1001/128
 > > > dir out priority 0 ptype main
 > > > tmpl src 3ffe::3 dst 3ffe::2
 > > > proto (null) reqid 0 mode transport
 > > >
 > > > ----------------------------------------
 > > > > Date: Wed, 11 Jun 2008 14:19:49 +0300
 > > > > From: laser.ru@xxxxxxxxx
 > > > > To: hipl-users@xxxxxxxxxxxxx
 > > > > Subject: [hipl-users] Re: HIPL+ ubuntu
 > > > >
 > > > > Sorry,
 > > > >
 > > > > Please, show those after command "test/conntest-client responder
 > > tcp 999".
 > > > >
 > > > > On Wed, Jun 11, 2008 at 2:18 PM, Andrey Lukyanenko wrote:
 > > > >> Hello,
 > > > >>
 > > > >> After you typed test/conntest-client 3ffe::3 tcp 999, can you
 > > show as the
 > > > >> results of commands 'ip xfrm state', 'ip xfrm policy'.
 > > > >>
 > > > >> Thank you.
 > > > >>
 > > > >> On Wed, Jun 11, 2008 at 1:02 PM, Lina wrote:
 > > > >>>
 > > > >>> Hello,
 > > > >>>
 > > > >>> Thanks for your reply.
 > > > >>> for the files, I just modified those of the iniator,
 > > > >>>
 > > > >>> 3ffe::3 responder
 > > > >>>
 > > > >>> and
 > > > >>>
 > > > >>> 2001:001e:34ac:46e3:73c4:c9de:657c:1001 responder
 > > > >>>
 > > > >>>
 > > > >>> But when i type:
 > > > >>>
 > > > >>> test/conntest-client 3ffe::3 tcp 999
 > > > >>>
 > > > >>> info(debug.c:177@hip_set_auto_logdebug): Displaying ERROR and
 > > INFO debugging messages
 > > > >>> info(debug.c:174@hip_set_auto_logdebug): Displaying all
 > > debugging messages
> > > >>> debug(getaddrinfo.c:1395@getaddrinfo): name='3ffe::3' service='999' > > > >>> debug(getaddrinfo.c:962@gaih_inet_get_name): The name to resolve
 > > is an IPv6
 > > > >>> Input some text, press enter and ctrl+d
 > > > >>> ;TTTTTTTT
 > > > >>> debug(debug.c:671@hip_print_hit): Addr given to connect:
 > > 3ffe:0000:0000:0000:0000:0000:0000:0003
> > > >>> info(conntest.c:389@main_client_gai): !!!! conntest.c Connecting...
 > > > >>>
 > > > >>> and it's blocked there.
 > > > >>>
 > > > >>> While if i put:
 > > > >>>
 > > > >>> test/conntest-client responder tcp 999
 > > > >>>
 > > > >>> info(debug.c:177@hip_set_auto_logdebug): Displaying ERROR and
 > > INFO debugging messages
 > > > >>> info(debug.c:174@hip_set_auto_logdebug): Displaying all
 > > debugging messages
 > > > >>> debug(getaddrinfo.c:1395@getaddrinfo): name='nahla-laptop'
 > > service='999'
> > > >>> debug(getaddrinfo.c:1012@gaih_inet_get_name): The name is not an
 > > IPv4 or IPv6 address, resolve name (!AI_NUMERICHOST)
 > > > >>> Input some text, press enter and ctrl+d
 > > > >>> ;FFFF
 > > > >>>
 > > > >>> I get nothing,
 > > > >>>
 > > > >>> I TRIED many things but till now I didn't find the mistake.
 > > > >>> Is there any other way to verify or test???
 > > > >>>
 > > > >>> Plz any help
 > > > >>> Thanks
 > > > >>> ----------------------------------------
 > > > >>>> Date: Tue, 10 Jun 2008 17:04:44 +0200
 > > > >>>> From: dpark1978@xxxxxxxxx
 > > > >>>> To: hipl-users@xxxxxxxxxxxxx
 > > > >>>> Subject: [hipl-users] Re: HIPL+ ubuntu
 > > > >>>>
 > > > >>>> Hi,
 > > > >>>>
> > > >>>> Your current peer address is not HIT, but just an IPv6 address.
 > > It means
 > > > >>>> your HIT configurations in /etc/hip/hosts and /etc/hosts are
 > > somehow not
 > > > >>>> correct.
 > > > >>>>
 > > > >>>> Try to make sure again that HIT values are matching with each
 > > other, on
 > > > >>>> both hosts.
 > > > >>>>
 > > > >>>> By the way, note also that the HIP protocol number is 253 for
 > > the hipl
> > > >>>> release 1.0.3, in contrast to 139 for the development branches
 > > explained
 > > > >>>> on the manual. Therefore you have to run tcpdump like that:
 > > > >>>>
 > > > >>>> $ tcpdump -n -v esp or proto 253 or port 50500
 > > > >>>>
 > > > >>>> Dongsu
 > > > >>>>
 > > > >>>> Lina wrote:
 > > > >>>>> Now I get this:
 > > > >>>>>
> > > >>>>> test/conntest-server tcp 1120debug(debug.c:671@hip_print_hit):
 > > local addr:
> > 0000:0000:0000:0000:0000:0000:0000:0000debug(debug.c:671@hip_print_hit):
 > > peer addr: 3ffe:0000:0000:0000:0000:0000:0000:0002Client sends:
 > > ;TESTClient has been replied.
 > > > >>>>>
 > > > >>>>> and
 > > > >>>>>
 > > > >>>>> debug(debug.c:671@hip_print_hit): Addr given to connect:
> > 3ffe:0000:0000:0000:0000:0000:0000:0003info(conntest.c:389@main_client_gai):
 > > !!!! conntest.c Connecting...After call conntest.c: connect to
 > > 3ffe::3connect ret=0 errno=0connect took 6.010 secconnect took 6.010
 > > sec=== connection test result: OK ===
 > > > >>>>>
 > > > >>>>> and
 > > > >>>>>
 > > > >>>>> debug(debug.c:671@hip_print_hit): Addr given to connect:
 > > 3ffe:0000:0000:0000:0000:0000:0000:0003
 > > > >>>>> info(conntest.c:389@main_client_gai): !!!! conntest.c
 > > Connecting...
 > > > >>>>> After call conntest.c: connect to 3ffe::3
 > > > >>>>> connect ret=0 errno=0
 > > > >>>>> connect took 6.010 sec
 > > > >>>>> connect took 6.010 sec
 > > > >>>>> === connection test result: OK ===
 > > > >>>>> [16:43:26] … debug(builder.c:902@hip_dump_msg):
 > > --------------- MSG START ------------------
 > > > >>>>> debug(builder.c:906@hip_dump_msg): Msg type : HIP_I1 (1)
 > > > >>>>> debug(builder.c:907@hip_dump_msg): Msg length: 40
 > > > >>>>> debug(builder.c:908@hip_dump_msg): Msg err: 0
 > > > >>>>> debug(builder.c:909@hip_dump_msg): Msg controls: 0x0000
 > > > >>>>> debug(builder.c:929@hip_dump_msg): ---------------- MSG END
 > > --------------------
 > > > >>>>> debug(output.c:791@hip_send_raw): Using IPv6 raw socket
 > > > >>>>> debug(output.c:797@hip_send_raw): local address given
 > > > >>>>> debug(debug.c:671@hip_print_hit): src6:
 > > 3ffe:0000:0000:0000:0000:0000:0000:0002
 > > > >>>>> debug(debug.c:671@hip_print_hit): dst6:
 > > 3ffe:0000:0000:0000:0000:0000:0000:0003
 > > > >>>>> debug(builder.c:1654@hip_checksum_packet): Checksumming 40
 > > bytes of data.
 > > > >>>>> debug(output.c:884@hip_send_raw): sent=40/40 ipv4=0
 > > > >>>>> debug(output.c:885@hip_send_raw): Packet sent ok
 > > > >>>>> debug(output.c:106@hip_send_i1): err after sending: 0.
 > > > >>>>> debug(user.c:551@hip_handle_user_msg): No response sent
 > > > >>>>> debug(oppdb.c:489@hip_handle_opp_fallback): Timeout for opp
 > > entry, falling back to
> > > >>>>> debug(oppdb.c:491@hip_handle_opp_fallback): Unblock returned 0
 > > > >>>>> debug(debug.c:671@hip_print_hit): HIT1:
 > > 2001:0017:bd5f:79e5:3807:46a3:0000:0000
 > > > >>>>> debug(debug.c:671@hip_print_hit): HIT2:
 > > 2001:001b:0c44:8784:2d1b:96b2:b6c5:ad41
 > > > >>>>> debug(hadb.c:74@hip_hadb_rem_state_hit):
 > > > >>>>> debug(debug.c:671@hip_print_hit): our HIT:
 > > 2001:001b:0c44:8784:2d1b:96b2:b6c5:ad41
 > > > >>>>> debug(debug.c:671@hip_print_hit): peer HIT:
 > > 2001:0017:bd5f:79e5:3807:46a3:0000:0000
 > > > >>>>> debug(hadb.c:2439@hip_hadb_delete_state): ha=0x0x80bbb88
 > > > >>>>> debug(hadb.c:2353@hip_hadb_delete_inbound_spi): SPI=0x0
 > > > >>>>> debug(hadb.c:2400@hip_hadb_delete_outbound_spi):
 > > entry=0x0x80bbb88 SPI=0x0
 > > > >>>>> debug(oppdb.c:45@hip_oppdb_entry_clean_up): Del peer info
 > > returned 617
> > > >>>>> error(maintenance.c:98@hip_scan_opp_fallback): for_each_ha err.
 > > > >>>>>
 > > > >>>>>
 > > > >>>>> But I want to see the HIP BE packets, and the tcpdump shows
 > > nothing.
 > > > >>>>>
 > > > >>>>> What should I do??
 > > > >>>>>
 > > > >>>>>
 > > > >>>>> From: linalinaa@xxxxxxxxxx
 > > > >>>>> To: hipl-users@xxxxxxxxxxxxx
 > > > >>>>> Subject: [hipl-users] Re: HIPL+ ubuntu
 > > > >>>>> Date: Tue, 10 Jun 2008 14:13:24 +0200
 > > > >>>>>
 > > > >>>>>
 > > > >>>>>
 > > > >>>>>
 > > > >>>>>
 > > > >>>>>
 > > > >>>>>
 > > > >>>>>
 > > > >>>>> Thank you Dongsu sooo much.
> > > >>>>> I installed HIPl on ubuntu and now have my 2 hosts one fedora
 > > and one ubuntu
 > > > >>>>> I try the connection, i get this:
 > > > >>>>> info(builder.c:926@hip_dump_msg):
 > > Contents:0x0000000100020005info(builder.c:927@hip_dump_msg):
 > > Padding:0x00000000debug(builder.c:925@hip_dump_msg): Parameter
 > > type:HIP_PARAM_HOST_ID (705). Total length: 160 (4 type+length, 153
 > > content, 3 padding).info(builder.c:926@hip_dump_msg):
> > Contents:0x0088100d0202ff0503010001b913040ef9e48d85182e13d49bef65ec53fb19bb0a9ba3886093f1fcc8ee6ca688c5515485fed9b601c566770707003e1b383ab8f7b9d9c085031eb3fd80200d9642ec538475458d96f328a276b3f993d80f98b6defa6ca7cd51b929d37d6c9ed46254da3d45a2308469c9a3289552b3f8976f636a8055100c46ed73286f3ba16e61686c612d6c6170746f7000info(builder.c:927@hip_dump_msg):
 > > Padding:0x000000debug(builder.c:925@hip_dump_msg): Parameter
 > > type:HIP_PARAM_HIP_SIGNATURE2 (61633). Total length: 136 (4
> > type+length, 129 content, 3 padding).info(builder.c:926@hip_dump_msg): > > Contents:0x0526504fd9ebee8cf2bc82a694140b971599181a25d831333c90b4413b7be1ad2452e1ea72e6a9b9ffb7955abd11e86c4846c20c5ad175fdf324227fc48f1e75e9eced6fbe569d55840d4cf9e8
 > > > >>>>
> > cc654facda8c7cbdb2cc0da6d3250afe5e4ac481279c6bf769e3c703332138c1e16f70b0cbea0e272f84def22326b0d89a59856dinfo(builder.c:927@hip_dump_msg):
 > > Padding:0x000000debug(builder.c:929@hip_dump_msg): ----------------
 > > MSG END --------------------debug(output.c:791@hip_send_raw): Using
 > > IPv6 raw socketdebug(output.c:797@hip_send_raw): local address
 > > givendebug(debug.c:671@hip_print_hit): src6:
> > 3ffe:0000:0000:0000:0000:0000:0000:0003debug(debug.c:671@hip_print_hit):
 > > dst6:
> > 3ffe:0000:0000:0000:0000:0000:0000:0001debug(builder.c:1654@hip_checksum_packet):
 > > Checksumming 640 bytes of data.debug(output.c:884@hip_send_raw):
 > > sent=640/640 ipv4=0debug(output.c:885@hip_send_raw): Packet sent
 > > okdebug(input.c:572@hip_receive_control_packet): Done with control
 > > packet, err is 0.
 > > > >>>>>
 > > > >>>>> and
 > > > >>>>>
 > > > >>>>> debug(debug.c:671@hip_print_hit): HIT1:
> > 2001:001d:9d87:6693:4825:0dd7:058d:1e24debug(debug.c:671@hip_print_hit):
 > > HIT2:
> > 2001:001e:34ac:46e3:73c4:c9de:657c:1001debug(netdev.c:749@hip_netdev_handle_acquire):
 > > I1 was already sent, ignoringdebug(hipd.c:646@hipd_main): netlink
 > > receivedebug(nlink.c:56@hip_netlink_receive): Received a netlink
 > > messagedebug(netdev.c:818@hip_netdev_event): handling msg type 23
 > > ifindex=0debug(netdev.c:645@hip_netdev_handle_acquire): Acquire:
 > > sending I1 (pid: 0) debug(debug.c:671@hip_print_hit): src HIT:
> > 2001:001d:9d87:6693:4825:0dd7:058d:1e24debug(debug.c:671@hip_print_hit):
 > > dst HIT:
> > 2001:001e:34ac:46e3:73c4:c9de:657c:1001debug(hidb.c:97@hip_get_hostid_entry_by_lhi_and_algo):
 > > ALGO VALUE :-1, algo value of id entry
 > > :3debug(debug.c:671@hip_print_hit): HIT1:
> > 2001:001d:9d87:6693:4825:0dd7:058d:1e24debug(debug.c:671@hip_print_hit):
 > > HIT2:
> > 2001:001e:34ac:46e3:73c4:c9de:657c:1001debug(netdev.c:749@hip_netdev_handle_acquire):
 > > I1 was already sent, ignoringdebug(h
 > > > >>>> ipd.c:646@hipd_main): netlink
 > > receivedebug(nlink.c:56@hip_netlink_receive): Received a netlink
 > > messagedebug(netdev.c:818@hip_netdev_event): handling msg type 23
 > > ifindex=0debug(netdev.c:645@hip_netdev_handle_acquire): Acquire:
 > > sending I1 (pid: 0) debug(debug.c:671@hip_print_hit): src HIT:
> > 2001:001d:9d87:6693:4825:0dd7:058d:1e24debug(debug.c:671@hip_print_hit):
 > > dst HIT:
> > 2001:001e:34ac:46e3:73c4:c9de:657c:1001debug(hidb.c:97@hip_get_hostid_entry_by_lhi_and_algo):
 > > ALGO VALUE :-1, algo value of id entry
 > > :3debug(debug.c:671@hip_print_hit): HIT1:
> > 2001:001d:9d87:6693:4825:0dd7:058d:1e24debug(debug.c:671@hip_print_hit):
 > > HIT2:
> > 2001:001e:34ac:46e3:73c4:c9de:657c:1001debug(netdev.c:749@hip_netdev_handle_acquire):
 > > I1 was already sent, ignoring
 > > > >>>>>
> > > >>>>> It seems there's another problem and the tcpdump show no packets
 > > > >>>>> Any help??
 > > > >>>>>
 > > > >>>>>> Date: Tue, 10 Jun 2008 12:13:39 +0200
 > > > >>>>>> From: dpark1978@xxxxxxxxx
 > > > >>>>>> To: hipl-users@xxxxxxxxxxxxx
 > > > >>>>>> Subject: [hipl-users] Re: HIPL+ ubuntu
 > > > >>>>>>
 > > > >>>>>> Hi,
 > > > >>>>>>
 > > > >>>>>> so you mean, you added the 3 lines at the end of
 > > stdio-lock.h. That's a
 > > > >>>>>> wrong way, which changes nothing.
 > > > >>>>>>
 > > > >>>>>> Do like this:
> > > >>>>>> First, go to the 24th line in /usr/include/bits/stdio-lock.h,
 > > where
 > > > >>>>>> "#include " is located.
> > > >>>>>> Second, disable the include line, either by commenting it out
 > > or by
 > > > >>>>>> embracing with "#if 0" and "#endif". You could just remove
 > > the line, too.
 > > > >>>>>> Third, try compiling hipl again.
 > > > >>>>>>
 > > > >>>>>> Dongsu
 > > > >>>>>>
 > > > >>>>>> Lina wrote:
 > > > >>>>>>> Hi all,
 > > > >>>>>>>
 > > > >>>>>>> I try to install HIPL under ubuntu 7.4
 > > > >>>>>>> I used those links
 > > > >>>>>>>
 > > > >>>>>>> http://hipl.hiit.fi/hipl/release/latest/deb/i386/
 > > > >>>>>>>
 > > http://hipl.hiit.fi/hipl/release/latest/deb/i386/hipl-1.0-3-deb-src/
 > > > >>>>>>>
 > > > >>>>>>> And when i type ./configure&& make install
 > > > >>>>>>>
 > > > >>>>>>> I get this:
 > > > >>>>>>>
 > > > >>>>>>> In file included from /usr/include/libio.h:171, from
 > > /usr/include/stdio.h:72, from /usr/include/resolv.h:64, from
 > > getaddrinfo.c:53:/usr/include/bits/stdio-lock.h:24:26: error:
 > > lowlevellock.h: No such file or directorygetaddrinfo.c: In function
 > > 'gethosts_hit':getaddrinfo.c:484: warning: assignment from
> > incompatible pointer typegetaddrinfo.c:496: warning: passing argument
 > > 2 of 'opendht_get_key' discards qualifiers from pointer target
 > > typemake[2]: *** [getaddrinfo.lo] Error 1
 > > > >>>>>>>
 > > > >>>>>>> I found a topic in the list speaking about that, i added
 > > > >>>>>>>
 > > > >>>>>>>
 > > > >>>>>>>
 > > > >>>>>>> #if 0
 > > > >>>>>>> #include
 > > > >>>>>>> #endif in /usr/include/bits/stdio-lock.h
 > > > >>>>>>>
 > > > >>>>>>> like that:
 > > > >>>>>>> ....
 > > > >>>>>>> # define _IO_release_lock(_fp) ; } while (0)
 > > > >>>>>>>
 > > > >>>>>>> #endif
 > > > >>>>>>> #if 0
 > > > >>>>>>> #include
 > > > >>>>>>> #endif
 > > > >>>>>>> #endif /* bits/stdio-lock.h */
 > > > >>>>>>>
 > > > >>>>>>> But I still have the same problem.
 > > > >>>>>>> Do any one have any idea???
 > > > >>>>>>> Thanks in advance.
 > > > >>>>>>>
 > > > >>>>>>>
 > > > >>>>>>>
 > > > >>>>>>>
 > > _________________________________________________________________
> > > >>>>>>> Faites vous de nouveaux amis grâce à l'annuaire des profils
 > > Messenger !
 > > > >>>>>>>
> > http://home.services.spaces.live.com/search/?page=searchresults&ss=true&FormId=AdvPeopleSearch&form=SPXFRM&tp=3&sc=2&pg=0&Search.DisplayName=Nom+public&search.gender=&search.age=&Search.FirstName=Pr%C3%A9nom&Search.LastName=Nom&search.location=Lieu&search.occupation=Profession&search.interests=amis&submit=Rechercher
 > > > >>>>>>
 > > > >>>>>
 > > > >>>>> Discutez gratuitement avec vos amis en vidéo ! Téléchargez
 > > Messenger, c'est gratuit !
 > > > >>>>>
> > > >>>>> _________________________________________________________________
 > > > >>>>> Caroline vient de mettre à jour son profil Messenger !
 > > Connectez-vous !
 > > > >>>>>
> > http://login.live.com/login.srf?wa=wsignin1.0&rpsnv=10&ct=1198837564&rver=4.0.1534.0&wp=MBI&wreply=http:%2F%2Fhome.services.spaces.live.com%2F&lc=1036&id=73625
 > > > >>>>
 > > > >>>>
 > > > >>>
> > > >>> _________________________________________________________________
 > > > >>> Caroline vient de mettre à jour son profil Messenger !
 > > Connectez-vous !
 > > > >>>
> > http://login.live.com/login.srf?wa=wsignin1.0&rpsnv=10&ct=1198837564&rver=4.0.1534.0&wp=MBI&wreply=http:%2F%2Fhome.services.spaces.live.com%2F&lc=1036&id=73625
 > > > >>>
 > > > >>
 > > > >>
 > > > >>
 > > > >> --
 > > > >> Best regards,
 > > > >> Andrey Lukyanenko.
 > > > >>
 > > > >
 > > > >
 > > > >
 > > > > --
 > > > > Best regards,
 > > > > Andrey Lukyanenko.
 > > >
 > > > _________________________________________________________________
> > > Avec Hotmail, vos e-mails vous suivent partout ! Mettez Hotmail sur
 > > votre mobile !
 > > > http://www.messengersurvotremobile.com/?d=hotmail
 > >
> > ------------------------------------------------------------------------
 > > Tous vos amis discutent sur Messenger, et vous ? Téléchargez
 > > Messenger, c'est gratuit ! <http://www.windowslive.fr/messenger/>
 >
 >
 > --
 > Andrey Khurri
 > Researcher
 > Helsinki Institute for Information Technology (HIIT)
 > Tel +358 50 384 1510
 > firstname.lastname(a)hiit.fi
 >
 >

------------------------------------------------------------------------
Avec Windows Live Messenger restez en contact avec tous vos amis ! Téléchargez Messenger, c'est gratuit ! <http://www.windowslive.fr/messenger/>





Other related posts: