Skip to main content

building midp on linux

2 replies [Last post]
Anonymous

I have successfully built pcsl, cldc, and I am trying to build midp, and
I am running into the following problem when building midp :

Any idea what might be wrong?

... compiling 421 .java files and 6 generated .java files
... preverifying 509 .class files
/bin/sh: line 1: 17361 Segmentation fault
/export/home/hamada/J2ME/midp/build/linux_fb_gcc/output/bin/arm/preverify
-classpath
/export/home/J2ME/midp/build/linux_fb_gcc/output/tmpclasses:/export/home/hamada/J2ME/midp/build/linux_fb_gcc/output/classes
-d /export/home/J2ME/midp/build/linux_fb_gcc/output/classes
/export/home/J2ME/midp/build/linux_fb_gcc/output/tmpclasses
make[1]: ***
[/export/home/J2ME/midp/build/linux_fb_gcc/output/classes.zip] Error 1
make[1]: Leaving directory `/export/home/J2ME/midp/build/linux_fb_gcc'

Thanks in advance,
Mohamed

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

Reply viewing options

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

Hi, Mohamed,

Please see the attached letter by Yevgeniy Diomidov.
He suggested the solution once: LC_CTYPE variable
should be set to some standard locale/lang.

--
SY,
Serg

Mohamed Abdelaziz wrote:
> I have successfully built pcsl, cldc, and I am trying to build midp,
> and I am running into the following problem when building midp :
>
> Any idea what might be wrong?
>
>
>
> ... compiling 421 .java files and 6 generated .java files
> ... preverifying 509 .class files
> /bin/sh: line 1: 17361 Segmentation fault
> /export/home/hamada/J2ME/midp/build/linux_fb_gcc/output/bin/arm/preverify
> -classpath
> /export/home/J2ME/midp/build/linux_fb_gcc/output/tmpclasses:to/export/home/hamada/J2ME/midp/build/linux_fb_gcc/output/classes
> -d /export/home/J2ME/midp/build/linux_fb_gcc/output/classes
> /export/home/J2ME/midp/build/linux_fb_gcc/output/tmpclasses
> make[1]: ***
> [/export/home/J2ME/midp/build/linux_fb_gcc/output/classes.zip] Error 1
> make[1]: Leaving directory `/export/home/J2ME/midp/build/linux_fb_gcc'
>
>
> Thanks in advance,
> Mohamed
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>

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

Mohamed Abdelaziz

Thanks Segey. setting LC_CTYPE=C worked for me.

Mohamed
p.s. you ought to consider adding a check for this in the makefile.

Sergey Troshin wrote:
> Hi, Mohamed,
>
> Please see the attached letter by Yevgeniy Diomidov.
> He suggested the solution once: LC_CTYPE variable
> should be set to some standard locale/lang.
>
> --
> SY,
> Serg
>
>
> Mohamed Abdelaziz wrote:
>> I have successfully built pcsl, cldc, and I am trying to build midp,
>> and I am running into the following problem when building midp :
>>
>> Any idea what might be wrong?
>>
>>
>>
>> ... compiling 421 .java files and 6 generated .java files
>> ... preverifying 509 .class files
>> /bin/sh: line 1: 17361 Segmentation fault
>> /export/home/hamada/J2ME/midp/build/linux_fb_gcc/output/bin/arm/preverify
>> -classpath
>> /export/home/J2ME/midp/build/linux_fb_gcc/output/tmpclasses:to/export/home/hamada/J2ME/midp/build/linux_fb_gcc/output/classes
>> -d /export/home/J2ME/midp/build/linux_fb_gcc/output/classes
>> /export/home/J2ME/midp/build/linux_fb_gcc/output/tmpclasses
>> make[1]: ***
>> [/export/home/J2ME/midp/build/linux_fb_gcc/output/classes.zip] Error 1
>> make[1]: Leaving directory `/export/home/J2ME/midp/build/linux_fb_gcc'
>>
>>
>> Thanks in advance,
>> Mohamed
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
>> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>>
>
>
> ------------------------------------------------------------------------
>
> Subject:
> preverify Segmentation fault
> From:
> Yevgeny Diomidov
> Date:
> Thu, 15 Feb 2007 20:33:26 +0300
>
> CC:
> olga-directs@sun.com, kostya-directs@sun.com
>
>
> Hi,
>
> Just FYI...
>
> In case you have the following error
>
> ... compiling 439 .java files and 6 generated .java files
> ... preverifying 534 .class files
> /bin/sh: line 1: 27556 Segmentation fault
>
> Please check you LC_CTYPE variable.
> 'ru_RU.utf8' is not the best choice ;)
> Probably 'C' (or other one) is better.
>
> Regards,
> Yevgeny
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>

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