Skip to main content

problem CDC PP installation with GTK support

18 replies [Last post]
sharmarajesh
Offline
Joined: 2007-07-04

Hi All,
I am trying to install pp-1_0_01-src-linux-i686. on Red Hat linux9 platform with following command. I am taking GTK with Directfb.

I am in the build directry linux_i686/make CVM_TERSEOUTPUT=false CVM_DEBUG=true JDK_HOME=/root/CDC_DFB/j2sdk 1.4.2_14 CVM_PRELOAD_LIB=true J2ME_CLASSLIB=personal CVM_GNU_TOOLS_PATH=/usr/bin

where =/root/CDC_DFB/j2sdk 1.4.2_14 is the path for the jdk
CVM_GNU_TOOLS_PATH=/usr/bin is for gcc and other GNU tools

during CVM linking the following errors are generated
llect2: ld returned 1 exit status
make: *** [../../build/linux-i686/bin/cvm] Error 1../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x1cd10): undefined reference to `Java_sun_awt_image_GifImageDecoder_parseImage'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x1cd40): undefined reference to `Java_sun_awt_image_GifImageDecoder_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x2d070): undefined reference to `Java_sun_awt_gtk_GMenuBarPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x2d0a0): undefined reference to `Java_sun_awt_gtk_GMenuBarPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x2d0b0): undefined reference to `Java_sun_awt_gtk_GMenuBarPeer_dispose'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x2d0c0): undefined reference to `Java_sun_awt_gtk_GMenuBarPeer_add'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x2e6d0): undefined reference to `Java_sun_awt_gtk_GMenuItemPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x2e700): undefined reference to `Java_sun_awt_gtk_GMenuItemPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x2e710): undefined reference to `Java_sun_awt_gtk_GMenuItemPeer_dispose'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x2e730): undefined reference to `Java_sun_awt_gtk_GMenuItemPeer_setLabelNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x2e740): undefined reference to `Java_sun_awt_gtk_GMenuItemPeer_setEnabled'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x2e750): undefined reference to `Java_sun_awt_gtk_GMenuItemPeer_setFont'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x86870): undefined reference to `Java_sun_awt_gtk_GToolkit_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x86880): undefined reference to `Java_sun_awt_gtk_GToolkit_run'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x868a0): undefined reference to `Java_sun_awt_gtk_GToolkit_getBufferedImagePeer'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x868b0): undefined reference to `Java_sun_awt_gtk_GToolkit_createBufferedImage'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x86a30): undefined reference to `Java_sun_awt_gtk_GToolkit_getScreenWidth'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x86a40): undefined reference to `Java_sun_awt_gtk_GToolkit_getScreenHeight'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x86a60): undefined reference to `Java_sun_awt_gtk_GToolkit_getColorModel'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x86a80): undefined reference to `Java_sun_awt_gtk_GToolkit_sync'../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x86ae0): undefined reference to `Java_sun_awt_gtk_GToolkit_beep'../../build/linux-i686/obj/libromjava.a(
romjava0.o)(.rodata+0x8d490): undefined reference to `Java_sun_awt_gtk_GdkGraphics_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d4a0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_createFromComponentNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d4c0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_createFromGraphics'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d4d0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_createFromImage'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d4e0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_setForegroundNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d540): undefined reference to `Java_sun_awt_gtk_GdkGraphics_dispose'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d5f0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_setPaintMode'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d600): undefined reference to `Java_sun_awt_gtk_GdkGraphics_setXORMode'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d640): undefined reference to `Java_sun_awt_gtk_GdkGraphics_setClipNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d650): undefined reference to `Java_sun_awt_gtk_GdkGraphics_removeClip'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d6a0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_clearRect'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d6d0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_drawRectNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d6f0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_drawStringNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d720): undefined reference to `Java_sun_awt_gtk_GdkGraphics_drawLineNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d7a0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_copyArea'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d7b0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_drawRoundRectNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d7c0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_fillRoundRectNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d7f0): undefined reference to `Java_sun_awt_gtk_GdkGraphics_drawPolygonNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d870): undefined reference to `Java_sun_awt_gtk_GdkGraphics_drawArcNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0x8d880): undefined reference to `Java_sun_awt_gtk_GdkGraphics_fillArcNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6810): undefined reference to `Java_sun_awt_gtk_GComponentPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6860): undefined reference to `Java_sun_awt_gtk_GComponentPeer_disposeNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6880): undefined reference to `Java_sun_awt_gtk_GComponentPeer_setEnabled'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc68e0): undefined reference to `Java_sun_awt_gtk_GComponentPeer_setBoundsNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6900): undefined reference to `Java_sun_awt_gtk_GComponentPeer_postMouseEventToGtk'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6910): undefined reference to `Java_sun_awt_gtk_GComponentPeer_postKeyEventToGtk'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6950): undefined reference to `Java_sun_awt_gtk_GComponentPeer_getLocationOnScreen'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6960): undefined reference to `Java_sun_awt_gtk_GComponentPeer_getPreferredSize'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc69b0): undefined reference to `Java_sun_awt_gtk_GComponentPeer_updateWidgetStyle'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6a10): undefined reference to `Java_sun_awt_gtk_GComponentPeer_setCursorNative'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6a20): undefined reference to `Java_sun_awt_gtk_GComponentPeer_requestFocus'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6a80): undefined reference to `Java_sun_awt_gtk_GComponentPeer_show'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6a90): undefined reference to `Java_sun_awt_gtk_GComponentPeer_hide'
../../build/linux-i686/obj/libromjava.a(romjava0.o)(.rodata+0xc6ab0): undefined reference to `Java_sun_awt_gtk_GComponentPeer_setNativeEvent'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0xb0d0): undefined reference to `Java_sun_awt_gtk_GScrollPanePeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0xb0e0): undefined reference to `Java_sun_awt_gtk_GScrollPanePeer_calculateHScrollbarHeight'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0xb0f0): undefined reference to `Java_sun_awt_gtk_GScrollPanePeer_calculateVScrollbarWidth'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0xb100): undefined reference to `Java_sun_awt_gtk_GScrollPanePeer_enableScrollbarsNative'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0xb120): undefined reference to `Java_sun_awt_gtk_GScrollPanePeer_create'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0xb130): undefined reference to `Java_sun_awt_gtk_GScrollPanePeer_add'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0xb1a0): undefined reference to `Java_sun_awt_gtk_GScrollPanePeer_setUnitIncrementNative'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0xb1e0): undefined reference to `Java_sun_awt_gtk_GScrollPanePeer_setAdjusterNative'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0xb1f0): undefined reference to `Java_sun_awt_gtk_GScrollPanePeer_connectAdjuster'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0xb200): undefined reference to `Java_sun_awt_gtk_GScrollPanePeer_scrollbarVisible'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x31df0): undefined reference to `Java_sun_awt_gtk_GWindowPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x31e10): undefined reference to `Java_sun_awt_gtk_GWindowPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x31e20): undefined reference to `Java_sun_awt_gtk_GWindowPeer_toFront'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x31e30): undefined reference to `Java_sun_awt_gtk_GWindowPeer_toBack'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x31e40): undefined reference to `Java_sun_awt_gtk_GWindowPeer_setResizable'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x31e60): undefined reference to `Java_sun_awt_gtk_GWindowPeer_setBoundsNative'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x31ef0): undefined reference to `Java_sun_awt_gtk_GWindowPeer_requestFocus'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x31f50): undefined reference to `Java_sun_awt_gtk_GWindowPeer_setOwner'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x32170): undefined reference to `Java_sun_awt_gtk_GdkImageRepresentation_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x32190): undefined reference to `Java_sun_awt_gtk_GdkImageRepresentation_offscreenInit'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x321a0): undefined reference to `Java_sun_awt_gtk_GdkImageRepresentation_setBytePixels'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x321b0): undefined reference to `Java_sun_awt_gtk_GdkImageRepresentation_setIntPixels'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x321c0): undefined reference to `Java_sun_awt_gtk_GdkImageRepresentation_finish'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x321d0): undefined reference to `Java_sun_awt_gtk_GdkImageRepresentation_imageDraw'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x321e0): undefined reference to `Java_sun_awt_gtk_GdkImageRepresentation_imageStretch'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x321f0): undefined reference to `Java_sun_awt_gtk_GdkImageRepresentation_disposeImage'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x32200): undefined reference to `Java_sun_awt_gtk_GdkImageRepresentation_getRGB'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x32210): undefined reference to `Java_sun_awt_gtk_GdkImageRepresentation_getRGBs'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x32770): undefined reference to `Java_sun_awt_gtk_GFontPeer_areFontsTheSame'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x32780): undefined reference to `Java_sun_awt_gtk_GFontPeer_createFont'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x32790): undefined reference to `Java_sun_awt_gtk_GFontPeer_init'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x327f0): undefined reference to `Java_sun_awt_gtk_GFontPeer_asciiCharWidth'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x32810): undefined reference to `Java_sun_awt_gtk_GFontPeer_stringWidthNative'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x32820): undefined reference to `Java_sun_awt_gtk_GFontPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x5cb10): undefined reference to `Java_sun_awt_gtk_GMenuPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x5cb30): undefined reference to `Java_sun_awt_gtk_GMenuPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x5cb40): undefined reference to `Java_sun_awt_gtk_GMenuPeer_add'../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x72aa0): undefined reference to `Java_sun_awt_gtk_GLabelPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x73390): undefined reference to `Java_sun_awt_gtk_GCheckboxMenuItemPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x733b0): undefined reference to `Java_sun_awt_gtk_GCheckboxMenuItemPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x733c0): undefined reference to `Java_sun_awt_gtk_GCheckboxMenuItemPeer_setState'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x7dbf0): undefined reference to `Java_sun_awt_image_OffScreenImageSource_sendPixels'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x943c0): undefined reference to `Java_sun_awt_gtk_GPanelPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava1.o)(.rodata+0x943f0): undefined reference to `Java_sun_awt_gtk_GPanelPeer_insert'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x1d000): undefined reference to `Java_sun_awt_gtk_GtkClipboard_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x1d010): undefined reference to `Java_sun_awt_gtk_GtkClipboard_createWidget'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x1d020): undefined reference to `Java_sun_awt_gtk_GtkClipboard_destroyWidget'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x1d030): undefined reference to `Java_sun_awt_gtk_GtkClipboard_setNativeClipboard'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x1d040): undefined reference to `Java_sun_awt_gtk_GtkClipboard_getNativeClipboard'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x2a9a0): undefined reference to `Java_sun_awt_gtk_GCanvasPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x45230): undefined reference to `Java_sun_awt_gtk_GTextComponentPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x45260): undefined reference to `Java_sun_awt_gtk_GTextComponentPeer_setEditable'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x45270): undefined reference to `Java_sun_awt_gtk_GTextComponentPeer_getTextNative'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x45290): undefined reference to `Java_sun_awt_gtk_GTextComponentPeer_setTextNative'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x452d0): undefined reference to `Java_sun_awt_gtk_GTextComponentPeer_getSelectionStart'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x452e0): undefined reference to `Java_sun_awt_gtk_GTextComponentPeer_getSelectionEnd'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x452f0): undefined reference to `Java_sun_awt_gtk_GTextComponentPeer_select'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x45300): undefined reference to `Java_sun_awt_gtk_GTextComponentPeer_setCaretPosition'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x45310): undefined reference to `Java_sun_awt_gtk_GTextComponentPeer_getCaretPosition'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x5c010): undefined reference to `Java_sun_awt_EmbeddedFrame_setPeer'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x61130): undefined reference to `Java_sun_awt_image_JPEGImageDecoder_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x61140): undefined reference to `Java_sun_awt_image_JPEGImageDecoder_readImage'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x66020): undefined reference to `Java_sun_awt_gtk_GPopupMenuPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x66030): undefined reference to `Java_sun_awt_gtk_GPopupMenuPeer_show'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x748d0): undefined reference to `Java_sun_awt_gtk_GFramePeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x748f0): undefined reference to `Java_sun_awt_gtk_GFramePeer_create'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x74900): undefined reference to `Java_sun_awt_gtk_GFramePeer_setTitleNative'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x74930): undefined reference to `Java_sun_awt_gtk_GFramePeer_setStateNative'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x74950): undefined reference to `Java_sun_awt_gtk_GFramePeer_setIconImageNative'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x74980): undefined reference to `Java_sun_awt_gtk_GFramePeer_setMenuBarNative'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x749a0): undefined reference to `Java_sun_awt_gtk_GFramePeer_setWMStateHints'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x75ef0): undefined reference to `Java_sun_awt_PeerBasedToolkit_getComponentPeer'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x75f00): undefined reference to `Java_sun_awt_PeerBasedToolkit_getMenuComponentPeer'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x76610): undefined reference to `Java_sun_awt_gtk_GListPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x76630): undefined reference to `Java_sun_awt_gtk_GListPeer_createNative'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x76660): undefined reference to `Java_sun_awt_gtk_GListPeer_getSelectedIndexes'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x76680): undefined reference to `Java_sun_awt_gtk_GListPeer_setRowHeight'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x766a0): undefined reference to `Java_sun_awt_gtk_GListPeer_addNative'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x766b0): undefined reference to `Java_sun_awt_gtk_GListPeer_delItems'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x766c0): undefined reference to `Java_sun_awt_gtk_GListPeer_removeAll'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x766d0): undefined reference to `Java_sun_awt_gtk_GListPeer_select'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x766e0): undefined reference to `Java_sun_awt_gtk_GListPeer_deselect'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x766f0): undefined reference to `Java_sun_awt_gtk_GListPeer_makeVisible'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x76700): undefined reference to `Java_sun_awt_gtk_GListPeer_setMultipleMode'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x7a010): undefined reference to `Java_sun_awt_gtk_GChoicePeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x7a030): undefined reference to `Java_sun_awt_gtk_GChoicePeer_create'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x7a050): undefined reference to `Java_sun_awt_gtk_GChoicePeer_addNative'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x7a070): undefined reference to `Java_sun_awt_gtk_GChoicePeer_removeNative'
../../build/linux-i686/obj/libromjava.a(romjava2.o)(.rodata+0x7a090): undefined reference to `Java_sun_awt_gtk_GChoicePeer_select'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x1760): undefined reference to `Java_sun_awt_gtk_GDialogPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x1780): undefined reference to `Java_sun_awt_gtk_GDialogPeer_setTitleNative'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x1790): undefined reference to `Java_sun_awt_gtk_GDialogPeer_setModal'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x1b30): undefined reference to `Java_sun_awt_gtk_GFileDialogPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x1b50): undefined reference to `Java_sun_awt_gtk_GFileDialogPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x1b60): undefined reference to `Java_sun_awt_gtk_GFileDialogPeer_setFileNative'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x3110): undefined reference to `Java_sun_awt_gtk_ShutdownHook_gtkMainQuit'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0xa650): undefined reference to `Java_sun_awt_gtk_GButtonPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0xa680): undefined reference to `Java_sun_awt_gtk_GButtonPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0xa690): undefined reference to `Java_sun_awt_gtk_GButtonPeer_setLabelNative'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x112b0): undefined reference to `Java_sun_awt_gtk_GCheckboxPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x112e0): undefined reference to `Java_sun_awt_gtk_GCheckboxPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x11300): undefined reference to `Java_sun_awt_gtk_GCheckboxPeer_setState'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x11330): undefined reference to `Java_sun_awt_gtk_GCheckboxPeer_setLabelNative'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x23d10): undefined reference to `Java_sun_awt_gtk_GTextFieldPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x23d30): undefined reference to `Java_sun_awt_gtk_GTextFieldPeer_create'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x23d40): undefined reference to `Java_sun_awt_gtk_GTextFieldPeer_setEchoChar'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x2e3b0): undefined reference to `Java_sun_awt_gtk_GScrollbarPeer_initIDs'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x2e3e0): undefined reference to `Java_sun_awt_gtk_GScrollbarPeer_createScrollbar'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x2e3f0): undefined reference to `Java_sun_awt_gtk_GScrollbarPeer_setValues'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x2e400): undefined reference to `Java_sun_awt_gtk_GScrollbarPeer_setLineIncrement'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x2e410): undefined reference to `Java_sun_awt_gtk_GScrollbarPeer_setPageIncrement'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x37a50): undefined reference to `Java_sun_awt_gtk_GTextAreaPeer_createTextArea'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x37a60): undefined reference to `Java_sun_awt_gtk_GTextAreaPeer_insertNative'
../../build/linux-i686/obj/libromjava.a(romjava3.o)(.rodata+0x37a80): undefined reference to `Java_sun_awt_gtk_GTextAreaPeer_replaceRangeNative'
collect2: ld returned 1 exit status
make: *** [../../build/linux-i686/bin/cvm] Error 1

Please help me resolve these issues.
Please also send me the link of the installation documentation for pp-1_0_01-src-linux-i686 in SUN website only the src code is available no installation documentation is available with the source code.

Thanks in Advance for the help
Kind Regards,
Rajesh Sharma

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi,
> Thanks for the reply,
> when i try to install pp-1_0_01-src-linux-i686
>
> CVM_TERSEOUTPUT=false CVM_DEBUG=true JDK_HOME=/root/CDC_DFB/j2sdk 1.4.2_14 J2ME_CLASSLIB=personal CVM_GNU_TOOLS_PATH=/usr/bin
>

Try adding AWT_PEERSET=gtk
> cvm is build properly but it is not supporting any graphics. when i tried to run democlasses/ PPDemoFrame with cvm a NullPointerException is generated. I checked the PPDemoFrame.java file it does't including any GTK related library or files.that means i am not be able run any single program which used AWT ot GTK.
>
> Any suggestion Please.?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

anu_1977
Offline
Joined: 2007-06-26

Hello Sir

Can you provide me some details definations of share directory uesd make files.
like defs_basis.mk &othermakefiles how these are interrelated.How i can make sequence digram of make files.

cjplummer
Offline
Joined: 2006-10-16

The short answer is no because currently the makefile architecture is not documented, and to document it in detail would be a big project. Is there something particular you need to know, or are you just interested in first doing some reading on how the makefiles work before having a closer look at them?

Chris

anu_1977
Offline
Joined: 2007-06-26

Hello Chris

Thanks for that.i already done the doumentation of makefiles of phoneme and now i have very good understanding the Flow of the makes files of phoneme_advanced_mr2.

Regards
Anurag

vigneshbabu_k
Offline
Joined: 2007-11-17

Hi all,

I am trying to install PP1.1. on Fedora 6 platform and I have used following option to build

JDK_HOME=/root/tools/j2sdk1.4.2_10 CVM_DEBUG=true CVM_PRELOAD_LIB=false J2ME_CLASSLIB=personal CVM_TERSEOUTPUT=false AWT_IMPLEMENTATION=peer_based AWT_PEERSET=gtk CVM_USE_NATIVE_TOOLS=true DEBUG_GTK_JNI=false WITHOUT_GTK_DEPRECATED=true DEBUG_GTK_THREAD_LOCKING=false

and i have integrated following
PP 1.1.2
JDK1.4.2
GTK+-2.10.13
DirectFB 1.0.0 version

I have successfully build and tried to run the DemoFrame application but i am getting some assertion from threadlocking.c file .

[b]awt_gtk_callbackEnter ../../src/share/personal/native/awt/gtk/ThreadLocking.c 142
cvm: ../../src/share/personal/native/awt/gtk/ThreadLocking.c:150: awt_gtk_callbackEnter: Assertion `lockOwner == pthread_self()' failed.[/b]

Please help me to resolve these issues,
Thanks in Advance for the help

Thanks and Best Regards,
Vignesh Babu.K

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi all,
>
>
> I am trying to install PP1.1. on Fedora 6 platform and I have used following option to build
>
> JDK_HOME=/root/tools/j2sdk1.4.2_10 CVM_DEBUG=true CVM_PRELOAD_LIB=false J2ME_CLASSLIB=personal CVM_TERSEOUTPUT=false AWT_IMPLEMENTATION=peer_based AWT_PEERSET=gtk CVM_USE_NATIVE_TOOLS=true DEBUG_GTK_JNI=false WITHOUT_GTK_DEPRECATED=true DEBUG_GTK_THREAD_LOCKING=false
>
> and i have integrated following
> PP 1.1.2
> JDK1.4.2
> GTK+-2.10.13
> DirectFB 1.0.0 version
>
> I have successfully build and tried to run the DemoFrame application but i am getting some assertion from threadlocking.c file .
>
> [b]awt_gtk_callbackEnter ../../src/share/personal/native/awt/gtk/ThreadLocking.c 142
> cvm: ../../src/share/personal/native/awt/gtk/ThreadLocking.c:150: awt_gtk_callbackEnter: Assertion `lockOwner == pthread_self()' failed.[/b]
>

Hi Babu,

I'm not sure where you got the following build flags and what you are
using them for. Please explain theses:

DEBUG_GTK_JNI=false WITHOUT_GTK_DEPRECATED=true DEBUG_GTK_THREAD_LOCKING=false

Thanks,

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

vigneshbabu_k
Offline
Joined: 2007-11-17

Hi Hinkmond,

Thank you for your immediate reply.

The explaination for the build cflags are as follows,
DEBUG_GTK_JNI=false and DEBUG_GTK_THREAD_LOCKING=false is added for
understanding API calls and it is added only for debugging purpose by me.

The build flag WITHOUT_GTK_DEPRECATED=true is enabled to include the following compile time option in cflags G_DISABLE_DEPRECATED, GDK_DISABLE_DEPRECATED, GDK_PIXBUF_DISABLE_DEPRECATED, GTK_DISABLE_DEPRECATED.
and we have added following code in build/share/defs_personal_gtk.mk

[b]ifeq ($(WITHOUT_GTK_DEPRECATED), true)
CC_ARCH_FLAGS += -DG_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED
endif[/b]

Thanks and Best Regards,
Vignesh Babu .k

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi Hinkmond,
>
> Thank you for your immediate reply.
>
> The explaination for the build cflags are as follows,
> DEBUG_GTK_JNI=false and DEBUG_GTK_THREAD_LOCKING=false is added for
> understanding API calls and it is added only for debugging purpose by me.
>
> The build flag WITHOUT_GTK_DEPRECATED=true is enabled to include the following compile time option in cflags G_DISABLE_DEPRECATED, GDK_DISABLE_DEPRECATED, GDK_PIXBUF_DISABLE_DEPRECATED, GTK_DISABLE_DEPRECATED.
> and we have added following code in build/share/defs_personal_gtk.mk
>
> [b]ifeq ($(WITHOUT_GTK_DEPRECATED), true)
> CC_ARCH_FLAGS += -DG_DISABLE_DEPRECATED \
> -DGDK_DISABLE_DEPRECATED \
> -DGDK_PIXBUF_DISABLE_DEPRECATED \
> -DGTK_DISABLE_DEPRECATED
> endif[/b]

Hi Babu,

Unfortunately, this looks unfamiliar so you will have to do more
debugging on your side.

The only thing I can suggest is to make sure to build on Fedora 6 if you
want to run on Fedora 6 to pick up the correct libpthreads.so.

It sounds like you might be building somewhere else that makes you have
a incompatiblity in the libs.

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

vigneshbabu_k
Offline
Joined: 2007-11-17

Hi Hinkmond,

Thank you for your immediate reply.

I have ensured and it is refering to proper libpthreads.so library but still iam facing the same
problem. So i thought of installing PP 1.1 with GTK support with directFB once again. Please
provide me the link for PP1.1 source integrated with GTK 2.0 with DirectFB and supporting
document to install all relavant driver required for running PP1.1 with GTK support with directFB.
Please guide me to install PP 1.1 in Fedora 6.
Thank in advance for your support.

Thanks and Best Regards,
vignesh babu .K

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi Hinkmond,
>
> Thank you for your immediate reply.
>
> I have ensured and it is refering to proper libpthreads.so library but still iam facing the same
> problem. So i thought of installing PP 1.1 with GTK support with directFB once again. Please
> provide me the link for PP1.1 source integrated with GTK 2.0 with DirectFB and supporting
> document to install all relavant driver required for running PP1.1 with GTK support with directFB.
> Please guide me to install PP 1.1 in Fedora 6.
> Thank in advance for your support.
>

Hi Babu,

Sorry, there is no available port of PP1.1 ported to GTK 2.0 with
DirectFB. :-(

And, it's something that is beyond the scope of this forum/mail alias to
explain how you would do it yourself. Maybe others in the community on
this forum group would be able to help you?

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

sharmarajesh
Offline
Joined: 2007-07-04

Thanks for your Help
My CVM is build successfully and all the demo application programs are executing successfully.
Thanks for your guidance.
Now my next question is that

1) How can i find that these demo application programs uses GTK library for graphical user interface.
after checking the source code od CDC-PP 1.1 i found lots of class file Like GButtonPeer, GFramePeer, GWindowPeer etc.
where these class file are used.

2) The java.awt package created in CDC-PP 1.1 internally used GTK library or not.?
3) Is it possible to create an application which uses GButtonPeer, GFramePeer classes externally

Thanks in Advance for the Help

Rajesh Sharma

Hinkmond Wong

Hi Rajesh,

phonemeadvanced@mobileandembedded.org wrote:
> Thanks for your Help
> My CVM is build successfully and all the demo application programs are executing successfully.
> Thanks for your guidance.
> Now my next question is that
>
> 1) How can i find that these demo application programs uses GTK library for graphical user interface.
> after checking the source code od CDC-PP 1.1 i found lots of class file Like GButtonPeer, GFramePeer, GWindowPeer etc.
> where these class file are used.
>

Which demo application programs do you mean?

> 2) The java.awt package created in CDC-PP 1.1 internally used GTK library or not.?
>

The java.awt packages do not map to a native toolkit (like GTK).
Instead the implementation classes in sun.awt.* map to the GTK library
through their natives.

> 3) Is it possible to create an application which uses GButtonPeer, GFramePeer classes externally
>

No, when creating Java applications, you must use Java APIs that
abstract the native toolkit. So, you would create java.awt.Button,
java.awt.Frame, etc., (not GButtonPeer, GFramePeer, etc.) which allows
you to run on any Java platform that is ported to any GUI toolkit like
GTK, or Qt, or Microwindows, etc.

The classes for GButtonPeer, GFramePeer, etc. are for internal library
use only, not for apps to use.

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

sharmarajesh
Offline
Joined: 2007-07-04

Hi cplummer and hinkmond
after building the cvm with following option
CVM_TERSEOUTPUT=false CVM_DEBUG=true JDK_HOME=/root/CDC_DFB/j2sdk 1.4.2_14 CVM_PRELOAD_LIB=true J2ME_CLASSLIB=personal CVM_GNU_TOOLS_PATH=/usr/bin AWT_PEERSET=gtk
CVM is built successfully

when i try to run the following program errors are given below

[root@localhost democlasses]# cvm HelloWorld
GC[SS]: Initialized semi-space gen for generational GC
Size of *each* semispace in bytes=1048576
Limits of generation = [0x40073200,0x40273200)
First semispace = [0x40073200,0x40173200)
Second semispace = [0x40173200,0x40273200)
GC[MC]: Initialized mark-compact gen for generational GC
Size of the space in bytes=3145728
Limits of generation = [0x40273200,0x40573200)
GC[generational]: Auxiliary data structures
heapBaseMemoryArea=[0x40073008,0x40573208)
cardTable=[0x8395f78,0x8398778)
objectHeaderTable=[0x8398780,0x839af80)
summaryTable=[0x839af88,0x83a4f88)
java.lang.NullPointerException:
at java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;(Native Method)
at java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;(Class.java:127)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment()Ljava/awt/GraphicsEnvironment;(GraphicsEnvironment.java:57)
at java.awt.Window.(Ljava/awt/GraphicsConfiguration;)V(Window.java:151)
at java.awt.Frame.(Ljava/lang/String;Ljava/awt/GraphicsConfiguration;)V(Frame.java:341)
at java.awt.Frame.()V(Frame.java:278)
at HelloWorld.()V(HelloWorld.java:13)
at HelloWorld.main([Ljava/lang/String;)V(HelloWorld.java:15)
Thanks in advance

Regards,
Rajesh Sharma

cjplummer
Offline
Joined: 2006-10-16

Just a hunch. Try putting the absolute path of the cvm lib directory on the LD_LIBRARY_PATH.

Chris

sharmarajesh
Offline
Joined: 2007-07-04

Hi
Thanks for the reply and your time

without CVM_PRELOAD_LIB=true option the cvm is build successfully
when i tried to run the program PPDemoFrame in democlasses the following error is generated

[root@localhost democlasses]# cvm PPDemoFrame

java.lang.NullPointerException:
at java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;(Native Method)
at java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment()Ljava/awt/GraphicsEnvironment;(Unknown Source)
at java.awt.Window.(Ljava/awt/GraphicsConfiguration;)V(Unknown Source)
at java.awt.Frame.(Ljava/lang/String;Ljava/awt/GraphicsConfiguration;)V(Unknown Source)
at java.awt.Frame.()V(Unknown Source)
at PPDemoFrame.([Ljava/lang/String;)V(Unknown Source)
at PPDemoFrame.main([Ljava/lang/String;)V(Unknown Source)

when i run the program with following option

[root@localhost democlasses]# java PPDemoFrame
program run successfully and a frame is displayed successfully
that means clearly cvm doesn't support any graphics feature

Regards

sharmarajesh
Offline
Joined: 2007-07-04

Hi,
Thanks for the reply,
when i try to install pp-1_0_01-src-linux-i686

CVM_TERSEOUTPUT=false CVM_DEBUG=true JDK_HOME=/root/CDC_DFB/j2sdk 1.4.2_14 J2ME_CLASSLIB=personal CVM_GNU_TOOLS_PATH=/usr/bin

cvm is build properly but it is not supporting any graphics. when i tried to run democlasses/ PPDemoFrame with cvm a NullPointerException is generated. I checked the PPDemoFrame.java file it does't including any GTK related library or files.that means i am not be able run any single program which used AWT ot GTK.

Any suggestion Please.?

Thanks & Regards

Rajesh Sharma

cjplummer
Offline
Joined: 2006-10-16

Can you include a backtrace for the NullPointerException? Also, what do you mean by "Ichecked the PPDemoFrame.java file it does't including any GTK related library or files." Why should it? PP apps don't know how the underlying graphics support is implemented.

Chris

cjplummer
Offline
Joined: 2006-10-16

CVM_PRELOAD_LIB=true is not supported for pp-1_0_01-src-linux-i686 (the Personal Profile 1.0.1 RI release). The only configuration we built and tested was with just default options. Even CVM_DEBUG=true is not officially supported (althoug probably works). Also, you should build with JDK 1.3.1,not 1.4.2.

Fixing the CVM_PRELOAD_LIB=true problem seems to be mostly a matter of making sure all objects in AWT_LIB_OBJS (defined in defs_personal_gtk.mk) get linked with the cvm executable. Is looks like there is a ROMIZE_LIBCLASSES=true option for this (probably used in conjunction with CVM_PRELOAD_LIB=true). It would be best to start with that and see how things go. I can't help much beyond that since I can't do GTK builds on my host.

Chris