Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 20:32:30 GMT
From:      Waitman Gobble <uzimac@da3m0n8t3r.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186137: net-p2p/litecoin fails to build
Message-ID:  <201401262032.s0QKWUCX084684@oldred.freebsd.org>
Resent-Message-ID: <201401262040.s0QKe187089784@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186137
>Category:       ports
>Synopsis:       net-p2p/litecoin fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 26 20:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Waitman Gobble
>Release:        FreeBSD 10.0-CURRENT
>Organization:
Waitman Gobble
>Environment:
FreeBSD dx.burplex.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r252355: Fri Jun 28 16:39:19 PDT 2013     root@dx.burplex.com:/usr/obj/usr/src/sys/FURAHA  amd64
>Description:
checking out litecoin, appears to be missing include in worksrc/src/scrypt.cpp
(?)

src/scrypt.cpp:130:3: error: use of undeclared identifier 'be32enc'
                be32enc(ivec, (uint32_t)(i + 1));
                ^
src/scrypt.cpp:242:10: error: use of undeclared identifier 'le32dec'
                X[k] = le32dec(&B[4 * k]);
                       ^
src/scrypt.cpp:258:3: error: use of undeclared identifier 'le32enc'
                le32enc(&B[4 * k], X[k]);


>How-To-Repeat:
cd /usr/ports/net-p2p/litecoin
make
>Fix:
adding 
#include <sys/endian.h>
to scrypt.cpp seems to solve the problem.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401262032.s0QKWUCX084684>