Subject: port-i386/34171: Compiling udpcast in NetBSD
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 08/09/2006 07:20:01
>Number:         34171
>Category:       port-i386
>Synopsis:       Compiling udpcast in NetBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 09 07:20:00 +0000 2006
>Originator:     Petr
>Release:        3.0
etBSD neptune 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 i386

Hey people,
Ive recently switched one of our servers from Linux to NetBSD. All works well except I cannot compile udpcast, and it cannot be ran through Linux emulation either.

Version of udpcast is 20060619

I get this error:

statistics.c: In function `printFilePosition':
statistics.c:40: error: `loff_t' undeclared (first use in this function)
statistics.c:40: error: (Each undeclared identifier is reported only once
statistics.c:40: error: for each function it appears in.)
statistics.c:40: error: parse error before "offset"
statistics.c:41: error: `offset' undeclared (first use in this function)
*** Error code 1

Im not a C or C++ programmer so I cant fix it myself, however its crucial that I get this to work because our system depends on udpcast to multicast images to many computers. udpcast mailing list didnt help me so Im turning to here. Can anyone help me make a patch PLEASE? It would be sweet if udpcast was in pkgsrc too..

Petr Janda
Download udp cast and try to run make on it.