Subject: pkg/23085: can't build pkgsrc/archivers/unrar on netbsd-1-5 branch
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <m.kurek@web.de>
List: netbsd-bugs
Date: 10/07/2003 20:13:18
>Number:         23085
>Category:       pkg
>Synopsis:       can't build pkgsrc/archivers/unrar  on netbsd-1-5 branch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 07 20:14:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Markus Kurek
>Release:        netbsd.1.5.4_ALPHA
>Organization:
>Environment:
NetBSD saidin 1.5.4_ALPHA NetBSD 1.5.4_ALPHA (SAIDIN) #61: Sun Aug 31 23:46:19 CEST 2003     markus@saidin:/usr/src/sys-i4b/arch/i386/compile/SAIDIN i386

>Description:
NetBSD 1.5.x lacks  fseeko() and ftello().


c++ -o unrar  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib rar.o strlist.o strfn.o pathfn.o
 int64.o savepos.o global.o file.o filefn.o filcreat.o  archive.o arcread.o unic
ode.o system.o isnt.o crypt.o crc.o rawread.o encname.o  resource.o match.o time
fn.o rdwrfn.o consio.o options.o ulinks.o errhnd.o rarvm.o  rijndael.o getbits.o
 sha1.o extinfo.o extract.o volume.o list.o find.o unpack.o cmddata.o filestr.o recvol.o rs.o scantree.o 
file.o: In function `File::RawSeek(long long, int)':
file.o(.text+0x6b6): undefined reference to `fseeko'
file.o: In function `File::Tell(void)':
file.o(.text+0x6d5): undefined reference to `ftello'
collect2: ld returned 1 exit status
*** Error code 1

>How-To-Repeat:
on a netbsd-1.5.x box

cd  /usr/pkgsrc/archivers/unrar
make

>Fix:

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