java-from-scratch build error

Tushar Teredesai tush at
Tue Aug 13 08:53:09 PDT 2002

Tushar Teredesai wrote:

> Dimitris Tsagatakis wrote:
>> Compiling /usr/src/java/hotspot/src/share/vm/utilities/accessFlags.cpp
>> In file included from ../generated/incls/_accessFlags.cpp.incl:115,
>>                 from
>> /usr/src/java/hotspot/src/share/vm/utilities/accessFlags.cpp:10:
>> /usr/src/java/hotspot/src/share/vm/runtime/thread.hpp: In static member
>>   function `static ByteSize JavaThread::osthread_offset()':
>> /usr/src/java/hotspot/src/share/vm/runtime/thread.hpp:875: invalid 
>> reference
>> to
>>   NULL ptr, use ptr-to-member instead
>> make[3]: *** [accessFlags.o] Error 1
> Did u apply the patch? If you did, check out the patch and look for a 
> patch for the file build/hotspot/src/share/vm/prims/jvmdi.cpp and 
> apply a similar fix for the above file.

Sorry, on checking the file, there seems nothing wrong with the syntax. 
(My knowledge of C/C++ -> 0, so I may be wrong.)

Try recompiling without any optimization flags and see if that works.

Tushar Teredesai
LFS ID: 1377

Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list