Error 42: Symbol Undefined __lseeki64

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Dec 17 06:31:12 PST 2015


On Thursday, 17 December 2015 at 04:11:56 UTC, tcak wrote:
> On Wednesday, 16 December 2015 at 18:30:41 UTC, Byron Heads 
> wrote:
>> On Wednesday, 16 December 2015 at 18:21:33 UTC, Byron Heads 
>> wrote:
>>> On Wednesday, 16 December 2015 at 18:14:35 UTC, Byron Heads
> I searched the function "__lseek64" under /usr/include/dmd" 
> with "grep -R __lseek64", but nothing is found. I work on Linux 
> 64-bit. So, I guess it is either Windows related, or 32bit dmd 
> related. "lseek64" is found in "unistd.d", but this doesn't 
> solve any problem.

Of course it's windows related. 'lseek' is a posix function. 
There's a version/#define somewhere that's missing, maybe in the 
C binding, because under Windows lseek is 'SetFilePointer'.

But I'm not able to find it...
:/


More information about the Digitalmars-d-learn mailing list