Re: [92hackathon] SPUDlib available

"Visweswaran, Gowri" <gvisweswaran@verisign.com> Sat, 21 March 2015 02:17 UTC

Return-Path: <gvisweswaran@verisign.com>
X-Original-To: 92hackathon@ietfa.amsl.com
Delivered-To: 92hackathon@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 976FB1A8788 for <92hackathon@ietfa.amsl.com>; Fri, 20 Mar 2015 19:17:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VOTqAzao8guL for <92hackathon@ietfa.amsl.com>; Fri, 20 Mar 2015 19:17:16 -0700 (PDT)
Received: from mail-qg0-f100.google.com (mail-qg0-f100.google.com [209.85.192.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E4C11A6FEA for <92hackathon@ietf.org>; Fri, 20 Mar 2015 19:17:16 -0700 (PDT)
Received: by qgea108 with SMTP id a108so3056336qge.3 for <92hackathon@ietf.org>; Fri, 20 Mar 2015 19:17:15 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:user-agent:content-type:content-id :content-transfer-encoding:mime-version; bh=RfkHsvB72nNfE6HJ+VBdvR4bCAHC7WFbtCbTU0UqXcU=; b=bMuW0lAqFLwLipvyB0Idce5G7WDO+TdUSCLV3abm1e1qYtZu8RDW4J2xmso2uCnbmb v4kDtJlXRAPbVa3Uzlw9Of7BTiQ1SfsC32gyXBq3zsCL1YE3yf1dVlB4blUcvMtAxlGG vPCSE7aT23hK5oSNZmy30yZ9PVIRXqag/5fukKbyssBYSZP5gLGHmJ6UhlZIjY0zgCvw jTh+WBXgkBk1ObhtNBohHgkAJ9ChZYiRKbs/uia/XbikN3PpdcHsAPO6BdHzi2ZYZbiZ VuN3YeGMKyJWDeK0bqUelYIHrKMfsZlr09mkhHwd1ufcWncSJHt1NRQfiQOjsbhtao+W VbDQ==
X-Gm-Message-State: ALoCoQkqBFtrmUcUpuIxDJ7vk+RAEk6HQRnYmz8CpOxkvBy73aKayXAdxPR8SdCDGfBzIz/fD9MQ07UWRN0K6y1WKNEIcRLdSQ==
X-Received: by 10.140.148.216 with SMTP id 207mr109359519qhu.62.1426904235276; Fri, 20 Mar 2015 19:17:15 -0700 (PDT)
Received: from brn1lxmailout02.verisign.com (brn1lxmailout02.verisign.com. [72.13.63.42]) by mx.google.com with ESMTPS id gt4sm1287546qcb.3.2015.03.20.19.17.14 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Mar 2015 19:17:15 -0700 (PDT)
X-Relaying-Domain: verisign.com
Received: from brn1wnexcas02.vcorp.ad.vrsn.com (brn1wnexcas02 [10.173.152.206]) by brn1lxmailout02.verisign.com (8.13.8/8.13.8) with ESMTP id t2L2HEVm006534 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 20 Mar 2015 22:17:14 -0400
Received: from BRN1WNEXMBX01.vcorp.ad.vrsn.com ([::1]) by brn1wnexcas02.vcorp.ad.vrsn.com ([::1]) with mapi id 14.03.0174.001; Fri, 20 Mar 2015 22:17:14 -0400
From: "Visweswaran, Gowri" <gvisweswaran@verisign.com>
To: "Pal Martinsen (palmarti)" <palmarti@cisco.com>
Thread-Topic: [92hackathon] SPUDlib available
Thread-Index: AQHQY2kP0DI6OF4A3ku4THZhzzrwrZ0mF3GAgABslgD//69tgA==
Date: Sat, 21 Mar 2015 02:17:13 +0000
Message-ID: <D1324AF9.6F96%gvisweswaran@verisign.com>
References: <D1321CEE.43155%eckelcu@cisco.com> <D132353A.6F90%gvisweswaran@verisign.com> <3E11BFFB-FE00-435D-966C-22EE0F504642@cisco.com>
In-Reply-To: <3E11BFFB-FE00-435D-966C-22EE0F504642@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.7.141117
x-originating-ip: [10.173.152.4]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <63BBB33BDACFED4DB2E990284348937F@verisign.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/92hackathon/d0b57jn0tuqQbiFxk1UVx9BqSMc>
Cc: "IETF Hackathon: New Discussion" <discussions-community-developer-ietf--hackathon@cisco-marketing.hosted.jivesoftware.com>, "92hackathon@ietf.org" <92hackathon@ietf.org>, "Charles Eckel (eckelcu)" <eckelcu@cisco.com>
Subject: Re: [92hackathon] SPUDlib available
X-BeenThere: 92hackathon@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF 92 Hackathon <92hackathon.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/92hackathon>, <mailto:92hackathon-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/92hackathon/>
List-Post: <mailto:92hackathon@ietf.org>
List-Help: <mailto:92hackathon-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/92hackathon>, <mailto:92hackathon-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Mar 2015 02:17:18 -0000

Hello,

I would be happy to sit down tomorrow and figure this out, meantime, here
is what I am seeing on both my machinesŠ



On the Mac OS X Yosemite 10.10.2:

bash-3.2$ ./bootstrap.sh
Can't exec "libtoolize": No such file or directory at
/usr/local/share/autoconf/Autom4te/FileUtils.pm line 345, <GEN2> line 5.
autoreconf: failed to run libtoolize: No such file or directory
autoreconf: libtoolize is needed because this package uses Libtool


On my Centos 6.6 machine:

./configure: line 12756: syntax error near unexpected token `CHECK,'
./configure: line 12756: `  PKG_CHECK_MODULES(CHECK, check >= 0.9.8)'

I commented out that line to see if I could proceed and did build the
libraries and samples.

I did try to run the spud echo sample but could not see my UDP request
echo¹ed back. 



Tests did fail to build though:


Head of output:
[gmadkat@gmadkat SPUDlib]$ make check
Making check in src
make[1]: Entering directory `/home/gmadkat/spud/SPUDlib/src'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/gmadkat/spud/SPUDlib/src'
Making check in samplecode
make[1]: Entering directory `/home/gmadkat/spud/SPUDlib/samplecode'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/gmadkat/spud/SPUDlib/samplecode'
Making check in .
make[1]: Entering directory `/home/gmadkat/spud/SPUDlib'
make[1]: Leaving directory `/home/gmadkat/spud/SPUDlib'
Making check in test
make[1]: Entering directory `/home/gmadkat/spud/SPUDlib/test'
make  check_spudlib
make[2]: Entering directory `/home/gmadkat/spud/SPUDlib/test'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu99  -g -O2 -g   -o
check_spudlib ls_str_test.o ls_sockaddr_test.o ls_error_test.o
ls_mem_test.o ls_log_test.o ls_htable_test.o ls_eventing_test.o
spud_test.o tube_test.o cbor_test.o test_utils.o testmain.o
../src/libspud.la -lm -lpthread
libtool: link: gcc -std=gnu99 -g -O2 -g -o .libs/check_spudlib
ls_str_test.o ls_sockaddr_test.o ls_error_test.o ls_mem_test.o
ls_log_test.o ls_htable_test.o ls_eventing_test.o spud_test.o tube_test.o
cbor_test.o test_utils.o testmain.o  ../src/.libs/libspud.so -lm -lpthread
tube_test.o: In function `tube_manager_loop_test':
/home/gmadkat/spud/SPUDlib/test/tube_test.c:272: warning: `sys_errlist' is
deprecated; use `strerror' or `strerror_r' instead
ls_str_test.o: In function `ls_str_suite':
/home/gmadkat/spud/SPUDlib/test/ls_str_test.c:196: undefined reference to
`suite_create'
/home/gmadkat/spud/SPUDlib/test/ls_str_test.c:200: undefined reference to
`tcase_create'
/home/gmadkat/spud/SPUDlib/test/ls_str_test.c:201: undefined reference to
`_tcase_add_test'
/home/gmadkat/spud/SPUDlib/test/ls_str_test.c:202: undefined reference to
`_tcase_add_test'
/home/gmadkat/spud/SPUDlib/test/ls_str_test.c:203: undefined reference to
`_tcase_add_test'
/home/gmadkat/spud/SPUDlib/test/ls_str_test.c:204: undefined reference to
`_tcase_add_test'
/home/gmadkat/spud/SPUDlib/test/ls_str_test.c:205: undefined reference to
`_tcase_add_test'





On 3/20/15, 10:05 PM, "Pal Martinsen (palmarti)" <palmarti@cisco.com>
wrote:

>
>> On 20 Mar 2015, at 19:36, Visweswaran, Gowri
>><gvisweswaran@verisign.com> wrote:
>> 
>> Thanks Charles, 
>> 
>> Which platforms does this code build on? I am not able to build it on my
>> Mac Yosemite or on a Centos 6X machine.
>
>What did ./configure tell you?
>
>You need to have auto-tools installed to build the ./configure script
>
>Works on my Darwin kernel 14.0.1 and Ubuntu box.
>On OS-X i works well with gcc, clang and cc( Apple clang)
>Ubuntu works with gcc and clang
>
>Making sure this compile an all platforms is important to us. Can we sit
>down tomorrow and see if we can figure out what the problem is?
>
>.-.
>Pål-Erik
>
>> 
>> Gowri
>> 
>> On 3/20/15, 7:53 PM, "Charles Eckel (eckelcu)" <eckelcu@cisco.com>
>>wrote:
>> 
>>> Actually, I meant SPUDlib at https://github.com/iptube/SPUDlib
>>> But check out SPUDshark as well :)
>>> 
>>> On 3/20/15, 6:51 PM, "Charles Eckel (eckelcu)" <eckelcu@cisco.com>
>>>wrote:
>>> 
>>>> For those of you planning to work on SPUD related stuff at the
>>>>Hackathon,
>>>> check out: https://github.com/iptube/SPUDshark
>>>> 
>>>> There is a list of issues included in the project in case you want to
>>>> start looking now for good things to work on this weekend. You will
>>>>hear
>>>> more about it tomorrow morning. See you then!
>>>> 
>>>> Cheers,
>>>> Charles
>>>> 
>>>> _______________________________________________
>>>> 92hackathon mailing list
>>>> 92hackathon@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/92hackathon
>>> 
>>> _______________________________________________
>>> 92hackathon mailing list
>>> 92hackathon@ietf.org
>>> https://www.ietf.org/mailman/listinfo/92hackathon
>> 
>> _______________________________________________
>> 92hackathon mailing list
>> 92hackathon@ietf.org
>> https://www.ietf.org/mailman/listinfo/92hackathon
>