[Nsis-imp] nsis-0.6.0 compilation error

Zerrouki Noureddine <n_zerrouki@esi.dz> Wed, 26 December 2012 15:28 UTC

Return-Path: <n_zerrouki@esi.dz>
X-Original-To: nsis-imp@ietfa.amsl.com
Delivered-To: nsis-imp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 808AC21F8756 for <nsis-imp@ietfa.amsl.com>; Wed, 26 Dec 2012 07:28:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.488
X-Spam-Level:
X-Spam-Status: No, score=-1.488 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9emC5RED3CsI for <nsis-imp@ietfa.amsl.com>; Wed, 26 Dec 2012 07:28:55 -0800 (PST)
Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by ietfa.amsl.com (Postfix) with ESMTP id A8B8921F86B8 for <nsis-imp@ietf.org>; Wed, 26 Dec 2012 07:28:54 -0800 (PST)
Received: by mail-la0-f54.google.com with SMTP id j13so10892645lah.27 for <nsis-imp@ietf.org>; Wed, 26 Dec 2012 07:28:46 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding:x-gm-message-state; bh=iKiU2ZCUKW9WIPH8oLt3tapcRpQQyu4BzpvwlDLSV/Q=; b=HFa31zObq+IkbjPRyeuf6hBc72K4c4M4lE3tNlLkCYU3q7ucbYDYcmkI/yShRbSsG4 ro/Pwhq+DVKX0r5S8GvX39k8AECHz5jI2N/g4zaPi2HWYehsf9UBt6Nb8LxO0Mo2+sKU dV90RnIPR1hrghXHSkpeotxh47Y7k9LN17tcwnnUMIjbEB1jdfy7OMHWkwxo90tTsMvZ 3Gd0p4jI5aWlkCppdMCFGexwTmztRynn0rlPqEDl7Io3GztEKMPqelZ3xMgSRI/qNwR1 jBi+PMQRoXf5oxKlayGSbu4jroEVyc40MdQV8zGgQE8iT+26Sd02Sxe2vW6+YmPiqGjf ks/A==
MIME-Version: 1.0
Received: by 10.152.47.75 with SMTP id b11mr25325885lan.14.1356535726349; Wed, 26 Dec 2012 07:28:46 -0800 (PST)
Received: by 10.152.113.230 with HTTP; Wed, 26 Dec 2012 07:28:46 -0800 (PST)
Date: Wed, 26 Dec 2012 16:28:46 +0100
Message-ID: <CAAtvpA2BemzEdGtTMNHggYDyVbFiM0HNtxHvdeBGMSRh1t6YQg@mail.gmail.com>
From: Zerrouki Noureddine <n_zerrouki@esi.dz>
To: nsis-imp@ietf.org
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmiJugWUgCsc0107BE9HONReoqL8csDY7PocGm3VFWPVvuINDDFOCuRF1h4GYL+R0feGeqr
Subject: [Nsis-imp] nsis-0.6.0 compilation error
X-BeenThere: nsis-imp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: List for implementation questions for NSIS protocols <nsis-imp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nsis-imp>, <mailto:nsis-imp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nsis-imp>
List-Post: <mailto:nsis-imp@ietf.org>
List-Help: <mailto:nsis-imp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nsis-imp>, <mailto:nsis-imp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Dec 2012 15:34:21 -0000

Hi
I am trying to implement nsis-0.6.0 to do NAT/Firewall traversal tests, but
i had some errors when compiling with make command :

root@debian:/home/zerrouki/Bureau/nsis-0.6.0# make
.....
.....
socket/UDPSocket.cpp:110: error: ‘malloc’ was not declared in this scope
socket/UDPSocket.cpp:111: warning: ‘int inet6_option_init(void*,
cmsghdr**, int)’ is deprecated (declared at
/usr/include/netinet/in.h:488)
socket/UDPSocket.cpp:111: warning: ‘int inet6_option_init(void*,
cmsghdr**, int)’ is deprecated (declared at
/usr/include/netinet/in.h:488)
socket/UDPSocket.cpp:112: warning: ‘int inet6_option_append(cmsghdr*,
const uint8_t*, int, int)’ is deprecated (declared at
/usr/include/netinet/in.h:490)
socket/UDPSocket.cpp:112: warning: ‘int inet6_option_append(cmsghdr*,
const uint8_t*, int, int)’ is deprecated (declared at
/usr/include/netinet/in.h:490)
socket/UDPSocket.cpp:127: warning: deprecated conversion from string
constant to ‘char*’
make[2]: *** [UDPSocket.o] Erreur 1
make[2]: quittant le répertoire « /home/zerrouki/Bureau/nsis-0.5.0/library »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/zerrouki/Bureau/nsis-0.5.0 »
make: *** [all] Erreur 2
root@debian:/home/zerrouki/Bureau/nsis-0.6.0#

After that i have dowloaded gcc4.1 and gcc4.1-base and installed them
because mine is : gcc 4.4.5 (Debian 4.4.5-8).

but when i recompiled with make, i have got the same errors. even with
nsis-0.5.0
 or nsis-0.4.0 .
Could you help me. please!
My os is Debian 6.0.5 squeeze

regards,
zerrouki