Re: [ecasound] largefile update

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] largefile update
From: Kai Vehmanen (k_AT_eca.cx)
Date: Sun Dec 02 2001 - 17:46:21 EET


On Sun, 2 Dec 2001, The Eye wrote:

> got somethin new for ya ...
[...]
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../kvutils -O2 -D_REENTRANT
> -DNDEBUG -ffast-math -fstrict-aliasing -funroll-loops -DENABLE_DBC
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wp,-MD,.deps/audioio-cdr.pp -c
> -fPIC -DPIC audioio-cdr.cpp -o .libs/audioio-cdr.lo
> audioio-cdr.cpp: In method `void CDRFILE::seek_position()':
> audioio-cdr.cpp:125: conversion from `long long int' to non-scalar type `_G_fpos64_t' requested

Ok, a real problem for a change. ;) What version of gcc and glibc are you
using? I've tested that the current CVS-tree compiles with both 2.91.66
and 3.0.2 gcc versions, but glibc 2.1.3 (from rh6.2) is the only libc
version tested.

Support for largefiles is a relatively new addition to glibc (and the
Linux kernel), and most sources recommend using at least glibc 2.1.3.
You can try compiling manually without largefile support to see whether
that helps... ie:

--cut--
cd ecasound/libecasound
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../kvutils -O2 -D_REENTRANT -DNDEBUG -ffast-math -fstrict-aliasing -funroll-loops -DENABLE_DBC -Wp,-MD,.deps/audioio-cdr.pp -c -fPIC -DPIC audioio-cdr.cpp -o .libs/audioio-cdr.lo
--cut--

If it compiles fine, then you have a problem with largefile support.

-- 
 http://www.eca.cx
 Audio software for Linux!

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Dec 02 2001 - 17:38:52 EET