Getting Started with OpenJDK in NetBeans IDE?

Peter B. West lists at pbw.id.au
Thu Jul 19 03:30:33 PDT 2007


Dave Bristor wrote:
> 
...
> 
>> Before getting to that point, and thinking I might need to do a prebuild
>> of j2se, I tried that from a terminal. At the moment, that build is not
>> working because, in spite of what the docs say, the build requires not
>> only the openmotif header files, but the libs as well. The openmotif
>> libs I have installed are too recent, so it looks as though I will have
>> to build a set an install them in a non-standard place if I need to
>> build the jdk. Haven't sorted that one out yet.
> 
> The motif requirements are different for different OSs; cf the Ubuntu
> 6.06 v. 7.04 notes; in particular that the latter does have motif
> dependencies (though I'm not sure this will resolve your problem without
> knowing more about your build environment/platform).  I just checked my
> kubuntu 6.10 box, and seem to have headers+libs; YMMV.
> 
>     Dave
> 

Dave,

The first problem with the openmotif libraries is that the link points
to the hppa architecture's 2.1.30 package. Once I had corrected that, I
tried the build again. Here's a snatch of the output.

     [exec]
../../../build/linux-i586/tmp/sun/sun.awt/motif21/obj/awt_motif21.o: In
function `awt_motif_getIMStatusHeight':
     [exec] awt_motif21.c:(.text+0x426): undefined reference to
`_XmImGetGeo'
     [exec] /home/pbw/src/openmotif/lib/libXm.a(DragC.o): In function
`DragKey':
     [exec] DragC.c:(.text+0x2699): undefined reference to `__guard'
     [exec] DragC.c:(.text+0x2785): undefined reference to `__guard'
     [exec] DragC.c:(.text+0x279c): undefined reference to
`__stack_smash_handler'
     [exec] /home/pbw/src/openmotif/lib/libXm.a(DragC.o): In function
`InitiatorMainLoop':
     [exec] DragC.c:(.text+0x2d02): undefined reference to `__guard'
     [exec] DragC.c:(.text+0x2d2c): undefined reference to
`__stack_smash_handler'
     [exec] DragC.c:(.text+0x2eaa): undefined reference to `__guard'

It goes on and on like that. It looks as though it's trying to build
motif 2.1, but not 2.1 as we know it, Jim.



-- 
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/>



More information about the nb-projects-dev mailing list