Skip to main content

Linker error while building sjwc

2 replies [Last post]
molp
Offline
Joined: 2007-05-27

Hi everybody,

I am currently trying to build the java wireless client software on linux for linux. I am using the guide from here: http://java.sun.com/javame/reference/docs/sjwc-2.0-web/docs/BuildGuide-h...

Unfortunately I run into some errors and I don't know what to do. Maybe you can help me?
This is what the errors look like:

...
Overwrite raw image: /home/jars/phoneme_feature/output/midp/appdb/splash_screen_210x176.raw
exporting parameter values to /home/jars/phoneme_feature/output/midp/Settings.gmk ...
created /home/jars/phoneme_feature/output/midp/Settings.gmk
... linking /home/jars/phoneme_feature/output/midp/bin/i386/runMidlet
/home/jars/phoneme_feature/output/midp/obj/i386/libobj.a(suitestore_task_manager.o): In function `midp_remove_suite':
suitestore_task_manager.c:(.text+0x337): undefined reference to `pushdeletesuite'
/home/jars/phoneme_feature/output/midp/obj/i386/libobj.a(midp_run.o): In function `midpRunMainClass':
midp_run.c:(.text+0x85): undefined reference to `pushcheckinall'
/home/jars/phoneme_feature/output/midp/obj/i386/libobj.a(midp_run.o): In function `midpFinalizeUI':
midp_run.c:(.text+0xb9): undefined reference to `pushclose'
/home/jars/phoneme_feature/output/midp/obj/i386/libobj.a(midp_run.o): In function `midpInitializeUI':
midp_run.c:(.text+0xe6): undefined reference to `pushopen'
/home/jars/phoneme_feature/output/midp/obj/i386/libobj.a(midp_run.o): In function `midp_run_midlet_with_args_cp':
midp_run.c:(.text+0x3e6): undefined reference to `pushcheckinLeftOvers'
midp_run.c:(.text+0x4c0): undefined reference to `pushcheckinall'
midp_run.c:(.text+0x4d5): undefined reference to `pushcheckinall'
midp_run.c:(.text+0x4fb): undefined reference to `pushcheckinLeftOvers'
/home/jars/phoneme_feature/output/midp/obj/i386/libobj.a(midp_master_mode_events.o): In function `midp_check_events':
midp_master_mode_events.c:(.text+0x192): undefined reference to `findPushTimerBlockedHandle'
midp_master_mode_events.c:(.text+0x307): undefined reference to `findPushBlockedHandle'
/home/jars/phoneme_feature/output/midp/obj/i386/libobj.a(ROMImage.o):(.rodata+0x20df4): undefined reference to `Java_com_sun_midp_chameleon_skins_resources_LoadedSkinData_beginReadingSkinFile'
/home/jars/phoneme_feature/output/midp/obj/i386/libobj.a(ROMImage.o):(.rodata+0x20ebc): undefined reference to `Java_com_sun_midp_chameleon_skins_resources_LoadedSkinData_readIntArray'
/home/jars/phoneme_feature/output/midp/obj/i386/libobj.a(ROMImage.o):(.rodata+0x20ed8): undefined reference to `Java_com_sun_midp_chameleon_skins_resources_LoadedSkinData_readStringArray'

.. the list is actually a bit longer.. I just skipped the rest..

any help appreciated!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
molp
Offline
Joined: 2007-05-27

After countless tries it finally worked. I am not sure what was wrong, but I added the target=i386 and now it compiled and linked at least one time sucessfully.

thiagon79
Offline
Joined: 2008-11-14

Hi there... i am trying to do things using the same documentation, but i did not find the sources code told there. Could you tell me where to download those code ?

Thanks in advanced.

tcn.