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: The Eye (the.eye_AT_gmx.li)
Date: Mon Dec 03 2001 - 14:21:55 EET


On Sun, Dec 02, 2001 at 05:46:21PM +0200, Kai Vehmanen wrote:
> 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.
>

just tried this and it gives me the exact same error than when running
with largefile support .. i.e.:
eye_AT_lormoral:~/ecasound-cvs/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
audioio-cdr.cpp: In method `void CDRFILE::seek_position()':
audioio-cdr.cpp:125: conversion from `long long int' to non-scalar type `_G_fpos_t' requested
audioio-cdr.cpp: In method `void CDRFILE::pad_to_sectorsize()':
audioio-cdr.cpp:141: no match for `fpos_t & % const int &'
audioio-cdr.cpp: In method `void CDRFILE::set_length_in_bytes()':
audioio-cdr.cpp:150: no match for `fpos_t & / int'

(also happen when I do the whole make thing and do configure without the
largefile option)

-- 
Michael Hellwig  aka  The Eye          michael.hellwig_AT_uibk.ac.at
check out http://homepage.uibk.ac.at/~csaa5128 for gpg public key


--
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 : Mon Dec 03 2001 - 14:17:59 EET