[Yakov Lerner] > New developments: > > It looks like -D_FILE_OFFSET_BITS=64 alone is wrong because > it's not complete. Correct build settings are: > > gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE > > This makes problem go away without any changes in the sources. > > Haakon: can you check that adding these solves the problem on you rmachine ?
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE was enough for me. Didn't you get this message before? I posted it about one minute after you joined this thread (in a reply to A.J.Mechelynck). :) I thought the reason you guys kept going was that you wanted to learn more about the underlying reasons. -- Haakon