[jitsi-users] Building jitsi on ARM platform


#1

Hi,

I don't know if the users list is a good place to post my questions. I'm new
on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK Zero
VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant rebuild".
After a few seconds I got this error messages
[javac] Error: The option "-Xlint" is unsupported in this build.
[javac] use: jikes [options] [@files] file.java...
[javac] For more help, try -help or -version.
[javac] Error: The option "-Xlint:-serial" is unsupported in this build.
[javac] Error: The option "-Xmaxwarns" is unsupported in this build.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild".
I got this error messages:
[javac] /usr/src/jitsi/build.xml:287: warning: 'includeantruntime' was not
set, defaulting to build.sysclasspath=last; set to false for repeatable
builds
[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac]
[javac] Found 1 system error:
[javac]
[javac] *** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?
2) Which jvm are supported to build jitsi from it's source code ?
3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the source
library ?

kind regards,
Paolo.


#2

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a �crit :

Hi,

I don't know if the users list is a good place to post my questions. I'm new
on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK Zero
VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant rebuild".
After a few seconds I got this error messages
[javac] Error: The option "-Xlint" is unsupported in this build.
[javac] use: jikes [options] [@files] file.java...
[javac] For more help, try -help or -version.
[javac] Error: The option "-Xlint:-serial" is unsupported in this build.
[javac] Error: The option "-Xmaxwarns" is unsupported in this build.

According to this log, I think you try to build Jitsi with IBM Jikes JVM and not OpenJDK. Try setting JAVA_HOME environment variable to point to OpenJDK JVM (on Debian it is something like /usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is symlinked to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild".
I got this error messages:
[javac] /usr/src/jitsi/build.xml:287: warning: 'includeantruntime' was not
set, defaulting to build.sysclasspath=last; set to false for repeatable
builds
[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac]
[javac] Found 1 system error:
[javac]
[javac] *** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the source
library ?

You can find all native source code in jitsi/src/native/ directory. You have ant buildfile but it may be modified to fit ARM compilation. For some native lib, you will also need to compile additionnal libs such as PortAudio and ffmpeg, all instructions are available in relevant native directories.

kind regards,
Paolo.

Regards,

···

--
Seb


#3

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/,
the symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac] Found 1 system error:
[javac] *** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----

···

Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a écrit :

Hi,

I don't know if the users list is a good place to post my questions.
I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK Zero
VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac] Error:
The option "-Xlint" is unsupported in this build. [javac] use: jikes
[options] [@files] file.java... [javac] For more help, try -help or
-version. [javac] Error: The option "-Xlint:-serial" is unsupported in
this build. [javac] Error: The option "-Xmaxwarns" is unsupported in
this build.

According to this log, I think you try to build Jitsi with IBM Jikes JVM
and not OpenJDK. Try setting JAVA_HOME environment variable to point to
OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is symlinked to
openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild". I
got this error messages: [javac] /usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac]
[javac] Found 1 system error:
[javac]
[javac] *** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to have
all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the source
library ?

You can find all native source code in jitsi/src/native/ directory. You
have ant buildfile but it may be modified to fit ARM compilation. For
some native lib, you will also need to compile additionnal libs such as
PortAudio and ffmpeg, all instructions are available in relevant native
directories.

kind regards,
Paolo.

Regards,
--
Seb


#4

Hi,

Other question to integrate my previous e-mail.

Do I need to change some properties on build.xml using a debian linux
distribution on ARM ?

Thank you,

Kind regards,
Paolo.

-----Messaggio originale-----

···

Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: mercoledì 25 gennaio 2012 12.15
A: seb@jitsi.org; users@jitsi.java.net
Oggetto: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/,
the symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes [javac] Found
1 system error: [javac] *** Semantic Error: You need to modify your
classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes could not
find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a écrit :

Hi,

I don't know if the users list is a good place to post my questions.
I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK Zero
VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac] Error:
The option "-Xlint" is unsupported in this build. [javac] use: jikes
[options] [@files] file.java... [javac] For more help, try -help or
-version. [javac] Error: The option "-Xlint:-serial" is unsupported in
this build. [javac] Error: The option "-Xmaxwarns" is unsupported in
this build.

According to this log, I think you try to build Jitsi with IBM Jikes JVM
and not OpenJDK. Try setting JAVA_HOME environment variable to point to
OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is symlinked to
openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild". I
got this error messages: [javac] /usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac]
[javac] Found 1 system error:
[javac]
[javac] *** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to have
all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the source
library ?

You can find all native source code in jitsi/src/native/ directory. You
have ant buildfile but it may be modified to fit ARM compilation. For
some native lib, you will also need to compile additionnal libs such as
PortAudio and ffmpeg, all instructions are available in relevant native
directories.

kind regards,
Paolo.

Regards,
--
Seb


#5

Hi,

What is the output of "ant -v | grep Detected" ?

···

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a �crit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/,
the symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac] Found 1 system error:
[javac] *** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a �crit :

Hi,

I don't know if the users list is a good place to post my questions.
I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK Zero
VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac] Error:
The option "-Xlint" is unsupported in this build. [javac] use: jikes
[options] [@files] file.java... [javac] For more help, try -help or
-version. [javac] Error: The option "-Xlint:-serial" is unsupported in
this build. [javac] Error: The option "-Xmaxwarns" is unsupported in
this build.

According to this log, I think you try to build Jitsi with IBM Jikes JVM
and not OpenJDK. Try setting JAVA_HOME environment variable to point to
OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is symlinked to
openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild". I
got this error messages: [javac] /usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac]
[javac] Found 1 system error:
[javac]
[javac] *** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to have
all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the source
library ?

You can find all native source code in jitsi/src/native/ directory. You
have ant buildfile but it may be modified to fit ARM compilation. For
some native lib, you will also need to compile additionnal libs such as
PortAudio and ffmpeg, all instructions are available in relevant native
directories.

kind regards,
Paolo.

Regards,
--
Seb


#6

Hi,

This is the output of command suggested:

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux

Is it correct ?

Regards,
Paolo.

-----Messaggio originale-----

···

Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 13.42
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

What is the output of "ant -v | grep Detected" ?

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a écrit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/, the
symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes [javac]
Found 1 system error: [javac] *** Semantic Error: You need to modify
your classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes
could not find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a écrit :

Hi,

I don't know if the users list is a good place to post my questions.
I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK Zero
VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac]
Error: The option "-Xlint" is unsupported in this build. [javac] use:
jikes [options] [@files] file.java... [javac] For more help, try
-help or -version. [javac] Error: The option "-Xlint:-serial" is
unsupported in this build. [javac] Error: The option "-Xmaxwarns" is
unsupported in this build.

According to this log, I think you try to build Jitsi with IBM Jikes
JVM and not OpenJDK. Try setting JAVA_HOME environment variable to
point to OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is symlinked
to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild". I
got this error messages: [javac] /usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds [javac]
Compiling 2412 source files to /usr/src/jitsi/classes [javac]
[javac] Found 1 system error:
[javac]
[javac] *** Semantic Error: You need to modify your classpath,

sourcepath,

bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to
have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the source
library ?

You can find all native source code in jitsi/src/native/ directory.
You have ant buildfile but it may be modified to fit ARM compilation.
For some native lib, you will also need to compile additionnal libs
such as PortAudio and ffmpeg, all instructions are available in
relevant native directories.

kind regards,
Paolo.

Regards,
--
Seb


#7

Le 25/01/12 14:40, Paolo Pellegatti a �crit :

Hi,

This is the output of command suggested:

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux

Is it correct ?

Yes.

I wonder why ant uses Jikes instead of OpenJDK. Maybe try removing jikes package (if you have no use) or rename /usr/lib/jvm/<jikes_directory> to be sure that Jikes is not used/found during java compilation.

···

--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 13.42
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

What is the output of "ant -v | grep Detected" ?

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a �crit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/, the
symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes [javac]
Found 1 system error: [javac] *** Semantic Error: You need to modify
your classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes
could not find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a �crit :

Hi,

I don't know if the users list is a good place to post my questions.
I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK Zero
VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac]
Error: The option "-Xlint" is unsupported in this build. [javac] use:
jikes [options] [@files] file.java... [javac] For more help, try
-help or -version. [javac] Error: The option "-Xlint:-serial" is
unsupported in this build. [javac] Error: The option "-Xmaxwarns" is
unsupported in this build.

According to this log, I think you try to build Jitsi with IBM Jikes
JVM and not OpenJDK. Try setting JAVA_HOME environment variable to
point to OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is symlinked
to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild". I
got this error messages: [javac] /usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds [javac]
Compiling 2412 source files to /usr/src/jitsi/classes [javac]
[javac] Found 1 system error:
[javac]
[javac] *** Semantic Error: You need to modify your classpath,

sourcepath,

bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to
have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the source
library ?

You can find all native source code in jitsi/src/native/ directory.
You have ant buildfile but it may be modified to fit ARM compilation.
For some native lib, you will also need to compile additionnal libs
such as PortAudio and ffmpeg, all instructions are available in
relevant native directories.

kind regards,
Paolo.

Regards,
--
Seb


#8

Hi,

I try to check with "dpkg -l jikes" this is the output

Desired=Unknown/Install/Remove/Purge/Hold

Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

···

/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

/ Name Version Description

+++-==============-==============-==========================================

un jikes <none> (no description available)

This is the location of jikes with "which jikes" command: /usr/bin/jikes
Where: /usr/bin/jikes --> /usr/bin/javac --> /etc/alternatives/javac -->
/usr/lib/jvm/java-6-openjdk/bin/javac

Probably I have installed other packages or manually installed jikes in the
past overwriting the openjdk-6 javac.

I'll try to reinstall openjdk-6.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 14.47
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Le 25/01/12 14:40, Paolo Pellegatti a écrit :

Hi,

This is the output of command suggested:

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux

Is it correct ?

Yes.

I wonder why ant uses Jikes instead of OpenJDK. Maybe try removing jikes
package (if you have no use) or rename /usr/lib/jvm/<jikes_directory> to
be sure that Jikes is not used/found during java compilation.

--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 13.42
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

What is the output of "ant -v | grep Detected" ?

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a écrit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/, the
symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes [javac]
Found 1 system error: [javac] *** Semantic Error: You need to modify
your classpath, sourcepath, bootclasspath, and/or extdirs setup.
Jikes could not find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a écrit :

Hi,

I don't know if the users list is a good place to post my questions.
I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK Zero
VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac]
Error: The option "-Xlint" is unsupported in this build. [javac]
use: jikes [options] [@files] file.java... [javac] For more help,
try -help or -version. [javac] Error: The option "-Xlint:-serial" is
unsupported in this build. [javac] Error: The option "-Xmaxwarns" is
unsupported in this build.

According to this log, I think you try to build Jitsi with IBM Jikes
JVM and not OpenJDK. Try setting JAVA_HOME environment variable to
point to OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is symlinked
to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild". I
got this error messages: [javac] /usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds [javac]
Compiling 2412 source files to /usr/src/jitsi/classes [javac]
[javac] Found 1 system error: [javac]
[javac] *** Semantic Error: You need to modify your classpath,

sourcepath,

bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to
have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the
source library ?

You can find all native source code in jitsi/src/native/ directory.
You have ant buildfile but it may be modified to fit ARM compilation.
For some native lib, you will also need to compile additionnal libs
such as PortAudio and ffmpeg, all instructions are available in
relevant native directories.

kind regards,
Paolo.

Regards,
--
Seb


#9

Hi,

To update my situation.

These are the last messages of ant log after a re-installation of
openjdk-6-jdk on my ARM machine.

···

===========================================
bundle-globalshortcut:
      [jar] Building jar: /usr/src/jitsi/sc-bundles/globalshortcut.jar

bundles:

package:

make:

rebuild:
     [echo] ver=1.0-beta1-0.build.by.SVN

BUILD SUCCESSFUL
Total time: 36 minutes 20 seconds

My questions now, is:

1) Do I need to build also the library on native source code in
jitsi/src/native/ or "ant rebuild" have already done for me ?

2) Where I can find the compiled version of jitsi ?

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: mercoledì 25 gennaio 2012 16.15
A: users@jitsi.java.net; seb@jitsi.org
Oggetto: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Hi,

I try to check with "dpkg -l jikes" this is the output

Desired=Unknown/Install/Remove/Purge/Hold

Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

/ Name Version Description

+++-==============-==============-======================================
+++====

un jikes <none> (no description available)

This is the location of jikes with "which jikes" command: /usr/bin/jikes
Where: /usr/bin/jikes --> /usr/bin/javac --> /etc/alternatives/javac -->
/usr/lib/jvm/java-6-openjdk/bin/javac

Probably I have installed other packages or manually installed jikes in the
past overwriting the openjdk-6 javac.

I'll try to reinstall openjdk-6.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 14.47
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Le 25/01/12 14:40, Paolo Pellegatti a écrit :

Hi,

This is the output of command suggested:

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux

Is it correct ?

Yes.

I wonder why ant uses Jikes instead of OpenJDK. Maybe try removing jikes
package (if you have no use) or rename /usr/lib/jvm/<jikes_directory> to
be sure that Jikes is not used/found during java compilation.

--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 13.42
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

What is the output of "ant -v | grep Detected" ?

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a écrit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/, the
symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes [javac]
Found 1 system error: [javac] *** Semantic Error: You need to modify
your classpath, sourcepath, bootclasspath, and/or extdirs setup.
Jikes could not find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a écrit :

Hi,

I don't know if the users list is a good place to post my questions.
I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK Zero
VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac]
Error: The option "-Xlint" is unsupported in this build. [javac]
use: jikes [options] [@files] file.java... [javac] For more help,
try -help or -version. [javac] Error: The option "-Xlint:-serial" is
unsupported in this build. [javac] Error: The option "-Xmaxwarns" is
unsupported in this build.

According to this log, I think you try to build Jitsi with IBM Jikes
JVM and not OpenJDK. Try setting JAVA_HOME environment variable to
point to OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is symlinked
to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild". I
got this error messages: [javac] /usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds [javac]
Compiling 2412 source files to /usr/src/jitsi/classes [javac]
[javac] Found 1 system error: [javac]
[javac] *** Semantic Error: You need to modify your classpath,

sourcepath,

bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to
have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the
source library ?

You can find all native source code in jitsi/src/native/ directory.
You have ant buildfile but it may be modified to fit ARM compilation.
For some native lib, you will also need to compile additionnal libs
such as PortAudio and ffmpeg, all instructions are available in
relevant native directories.

kind regards,
Paolo.

Regards,
--
Seb


#10

Hi,

Le 25/01/12 17:43, Paolo Pellegatti a �crit :

Hi,

To update my situation.

These are the last messages of ant log after a re-installation of
openjdk-6-jdk on my ARM machine.

bundle-globalshortcut:
       [jar] Building jar: /usr/src/jitsi/sc-bundles/globalshortcut.jar

bundles:

package:

make:

rebuild:
      [echo] ver=1.0-beta1-0.build.by.SVN

BUILD SUCCESSFUL
Total time: 36 minutes 20 seconds

Seems it works now ;).

My questions now, is:

1) Do I need to build also the library on native source code in
jitsi/src/native/ or "ant rebuild" have already done for me ?

No you have to compile each library by yourself.

2) Where I can find the compiled version of jitsi ?

On http://download.jitsi.org/, you can find Jitsi installers for Windows (32-bit and 64-bit), debian packages (32-bit and 64-bit) and Mac OS X installers (universal).

Please note that we have not ARM packages (and thus no compiled ARM native libraries) for debian.

Regards,

···

--
Seb

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: mercoled� 25 gennaio 2012 16.15
A: users@jitsi.java.net; seb@jitsi.org
Oggetto: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Hi,

I try to check with "dpkg -l jikes" this is the output

Desired=Unknown/Install/Remove/Purge/Hold
>
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>>/ Name Version Description
+++-==============-==============-======================================
+++====

un jikes<none> (no description available)

This is the location of jikes with "which jikes" command: /usr/bin/jikes
Where: /usr/bin/jikes --> /usr/bin/javac --> /etc/alternatives/javac -->
/usr/lib/jvm/java-6-openjdk/bin/javac

Probably I have installed other packages or manually installed jikes in the
past overwriting the openjdk-6 javac.

I'll try to reinstall openjdk-6.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 14.47
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Le 25/01/12 14:40, Paolo Pellegatti a �crit :

Hi,

This is the output of command suggested:

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux

Is it correct ?

Yes.

I wonder why ant uses Jikes instead of OpenJDK. Maybe try removing jikes
package (if you have no use) or rename /usr/lib/jvm/<jikes_directory> to
be sure that Jikes is not used/found during java compilation.

--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 13.42
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

What is the output of "ant -v | grep Detected" ?

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a �crit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/, the
symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes [javac]
Found 1 system error: [javac] *** Semantic Error: You need to modify
your classpath, sourcepath, bootclasspath, and/or extdirs setup.
Jikes could not find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a �crit :

Hi,

I don't know if the users list is a good place to post my questions.
I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK Zero
VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac]
Error: The option "-Xlint" is unsupported in this build. [javac]
use: jikes [options] [@files] file.java... [javac] For more help,
try -help or -version. [javac] Error: The option "-Xlint:-serial" is
unsupported in this build. [javac] Error: The option "-Xmaxwarns" is
unsupported in this build.

According to this log, I think you try to build Jitsi with IBM Jikes
JVM and not OpenJDK. Try setting JAVA_HOME environment variable to
point to OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is symlinked
to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild". I
got this error messages: [javac] /usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds [javac]
Compiling 2412 source files to /usr/src/jitsi/classes [javac]
[javac] Found 1 system error: [javac]
[javac] *** Semantic Error: You need to modify your classpath,

sourcepath,

bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to
have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the
source library ?

You can find all native source code in jitsi/src/native/ directory.
You have ant buildfile but it may be modified to fit ARM compilation.
For some native lib, you will also need to compile additionnal libs
such as PortAudio and ffmpeg, all instructions are available in
relevant native directories.

kind regards,
Paolo.

Regards,
--
Seb


#11

Hi,

I'm sorry but my question N.2. was not correct, in fact I wanted to ask
this:

Where can I find the Jitsi compiled at the end of the ant build ? I found a
folder called "release" but it's empty.

Thank you for support.

Kind regards,
Paolo.

-----Messaggio originale-----

···

Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 18.09
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Hi,

Le 25/01/12 17:43, Paolo Pellegatti a écrit :

Hi,

To update my situation.

These are the last messages of ant log after a re-installation of
openjdk-6-jdk on my ARM machine.

bundle-globalshortcut:
       [jar] Building jar:
/usr/src/jitsi/sc-bundles/globalshortcut.jar

bundles:

package:

make:

rebuild:
      [echo] ver=1.0-beta1-0.build.by.SVN

BUILD SUCCESSFUL
Total time: 36 minutes 20 seconds

Seems it works now ;).

My questions now, is:

1) Do I need to build also the library on native source code in
jitsi/src/native/ or "ant rebuild" have already done for me ?

No you have to compile each library by yourself.

2) Where I can find the compiled version of jitsi ?

On http://download.jitsi.org/, you can find Jitsi installers for Windows
(32-bit and 64-bit), debian packages (32-bit and 64-bit) and Mac OS X
installers (universal).

Please note that we have not ARM packages (and thus no compiled ARM
native libraries) for debian.

Regards,
--
Seb

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: mercoledì 25 gennaio 2012 16.15
A: users@jitsi.java.net; seb@jitsi.org
Oggetto: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Hi,

I try to check with "dpkg -l jikes" this is the output

Desired=Unknown/Install/Remove/Purge/Hold
>
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tri
g-pend
>/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>>/ Name Version Description
+++-==============-==============-====================================
+++==
+++====

un jikes<none> (no description available)

This is the location of jikes with "which jikes" command:
/usr/bin/jikes
Where: /usr/bin/jikes --> /usr/bin/javac --> /etc/alternatives/javac -->
/usr/lib/jvm/java-6-openjdk/bin/javac

Probably I have installed other packages or manually installed jikes
in the past overwriting the openjdk-6 javac.

I'll try to reinstall openjdk-6.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 14.47
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Le 25/01/12 14:40, Paolo Pellegatti a écrit :

Hi,

This is the output of command suggested:

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux

Is it correct ?

Yes.

I wonder why ant uses Jikes instead of OpenJDK. Maybe try removing
jikes package (if you have no use) or rename
/usr/lib/jvm/<jikes_directory> to be sure that Jikes is not
used/found during java compilation.

--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 13.42
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

What is the output of "ant -v | grep Detected" ?

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a écrit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/, the
symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac] Found 1 system error: [javac] *** Semantic Error: You need
to modify your classpath, sourcepath, bootclasspath, and/or extdirs
setup. Jikes could not find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a écrit :

Hi,

I don't know if the users list is a good place to post my
questions. I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK
Zero VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac]
Error: The option "-Xlint" is unsupported in this build. [javac]
use: jikes [options] [@files] file.java... [javac] For more help,
try -help or -version. [javac] Error: The option "-Xlint:-serial"
is unsupported in this build. [javac] Error: The option
"-Xmaxwarns" is unsupported in this build.

According to this log, I think you try to build Jitsi with IBM Jikes
JVM and not OpenJDK. Try setting JAVA_HOME environment variable to
point to OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is
symlinked to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild". I
got this error messages: [javac] /usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds [javac]
Compiling 2412 source files to /usr/src/jitsi/classes [javac]
[javac] Found 1 system error: [javac] [javac] *** Semantic Error:
You need to modify your classpath,

sourcepath,

bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to
have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the
source library ?

You can find all native source code in jitsi/src/native/ directory.
You have ant buildfile but it may be modified to fit ARM
compilation. For some native lib, you will also need to compile
additionnal libs such as PortAudio and ffmpeg, all instructions are
available in relevant native directories.

kind regards,
Paolo.

Regards,
--
Seb


#12

Hi,

Simply type "ant run" in the Jitsi directory.

You can make a debian package and have /usr/bin/jitsi script to execute Jitsi by typing "ant deb".

Regards,

···

--
Seb

Le 26/01/12 08:46, Paolo Pellegatti a �crit :

Hi,

I'm sorry but my question N.2. was not correct, in fact I wanted to ask
this:

Where can I find the Jitsi compiled at the end of the ant build ? I found a
folder called "release" but it's empty.

Thank you for support.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 18.09
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Hi,

Le 25/01/12 17:43, Paolo Pellegatti a �crit :

Hi,

To update my situation.

These are the last messages of ant log after a re-installation of
openjdk-6-jdk on my ARM machine.

bundle-globalshortcut:
        [jar] Building jar:
/usr/src/jitsi/sc-bundles/globalshortcut.jar

bundles:

package:

make:

rebuild:
       [echo] ver=1.0-beta1-0.build.by.SVN

BUILD SUCCESSFUL
Total time: 36 minutes 20 seconds

Seems it works now ;).

My questions now, is:

1) Do I need to build also the library on native source code in
jitsi/src/native/ or "ant rebuild" have already done for me ?

No you have to compile each library by yourself.

2) Where I can find the compiled version of jitsi ?

On http://download.jitsi.org/, you can find Jitsi installers for Windows
(32-bit and 64-bit), debian packages (32-bit and 64-bit) and Mac OS X
installers (universal).

Please note that we have not ARM packages (and thus no compiled ARM
native libraries) for debian.

Regards,
--
Seb

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: mercoled� 25 gennaio 2012 16.15
A: users@jitsi.java.net; seb@jitsi.org
Oggetto: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Hi,

I try to check with "dpkg -l jikes" this is the output

Desired=Unknown/Install/Remove/Purge/Hold
>
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tri
g-pend
>/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>>/ Name Version Description
+++-==============-==============-====================================
+++==
+++====

un jikes<none> (no description available)

This is the location of jikes with "which jikes" command:
/usr/bin/jikes
Where: /usr/bin/jikes --> /usr/bin/javac --> /etc/alternatives/javac -->
/usr/lib/jvm/java-6-openjdk/bin/javac

Probably I have installed other packages or manually installed jikes
in the past overwriting the openjdk-6 javac.

I'll try to reinstall openjdk-6.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 14.47
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Le 25/01/12 14:40, Paolo Pellegatti a �crit :

Hi,

This is the output of command suggested:

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux

Is it correct ?

Yes.

I wonder why ant uses Jikes instead of OpenJDK. Maybe try removing
jikes package (if you have no use) or rename
/usr/lib/jvm/<jikes_directory> to be sure that Jikes is not
used/found during java compilation.

--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 13.42
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

What is the output of "ant -v | grep Detected" ?

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a �crit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/, the
symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac] Found 1 system error: [javac] *** Semantic Error: You need
to modify your classpath, sourcepath, bootclasspath, and/or extdirs
setup. Jikes could not find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a �crit :

Hi,

I don't know if the users list is a good place to post my
questions. I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK
Zero VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac]
Error: The option "-Xlint" is unsupported in this build. [javac]
use: jikes [options] [@files] file.java... [javac] For more help,
try -help or -version. [javac] Error: The option "-Xlint:-serial"
is unsupported in this build. [javac] Error: The option
"-Xmaxwarns" is unsupported in this build.

According to this log, I think you try to build Jitsi with IBM Jikes
JVM and not OpenJDK. Try setting JAVA_HOME environment variable to
point to OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is
symlinked to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial and
-Xmaxwarns and retry to buil with the same command "ant rebuild". I
got this error messages: [javac] /usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds [javac]
Compiling 2412 source files to /usr/src/jitsi/classes [javac]
[javac] Found 1 system error: [javac] [javac] *** Semantic Error:
You need to modify your classpath,

sourcepath,

bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to
have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the
source library ?

You can find all native source code in jitsi/src/native/ directory.
You have ant buildfile but it may be modified to fit ARM
compilation. For some native lib, you will also need to compile
additionnal libs such as PortAudio and ffmpeg, all instructions are
available in relevant native directories.

kind regards,
Paolo.

Regards,
--
Seb


#13

Hi,

Building the jawtrenderer library with "ant jawtrenderer" command (using the
original build.xml file), I got this error messages:

···

============================================================================

Buildfile: /usr/src/jitsi/src/native/build.xml

init-native:

jawtrenderer-windows:

jawtrenderer:
       [cc] Starting dependency analysis for 1 files.
       [cc] 1 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 1 total files to be compiled.
       [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c: In
func
tion 'JAWTRenderer_close':
       [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:47:
warn
ing: cast to pointer from integer of different size
       [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c: In
func
tion 'JAWTRenderer_open':
       [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:89:
warn
ing: cast from pointer to integer of different size
       [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c: In
func
tion 'JAWTRenderer_paint':
       [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:103:
war
ning: cast to pointer from integer of different size
       [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c: In
func
tion 'JAWTRenderer_process':
       [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:176:
war
ning: cast to pointer from integer of different size

BUILD FAILED
/usr/src/jitsi/src/native/build.xml:207: Output directory is not a directory

======

I got the same error messages with some other packages

Do I need to create a specific directory before building or it's only a
problem of mismatch architecture ?
If yes, how I can match the build.xml information for ARM platform ? I
didn't found any README file on jitsi/src/native/ path.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: giovedì 26 gennaio 2012 8.50
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

Simply type "ant run" in the Jitsi directory.

You can make a debian package and have /usr/bin/jitsi script to execute
Jitsi by typing "ant deb".

Regards,
--
Seb

Le 26/01/12 08:46, Paolo Pellegatti a écrit :

Hi,

I'm sorry but my question N.2. was not correct, in fact I wanted to
ask
this:

Where can I find the Jitsi compiled at the end of the ant build ? I
found a folder called "release" but it's empty.

Thank you for support.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 18.09
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

Le 25/01/12 17:43, Paolo Pellegatti a écrit :

Hi,

To update my situation.

These are the last messages of ant log after a re-installation of
openjdk-6-jdk on my ARM machine.

bundle-globalshortcut:
        [jar] Building jar:
/usr/src/jitsi/sc-bundles/globalshortcut.jar

bundles:

package:

make:

rebuild:
       [echo] ver=1.0-beta1-0.build.by.SVN

BUILD SUCCESSFUL
Total time: 36 minutes 20 seconds

Seems it works now ;).

My questions now, is:

1) Do I need to build also the library on native source code in
jitsi/src/native/ or "ant rebuild" have already done for me ?

No you have to compile each library by yourself.

2) Where I can find the compiled version of jitsi ?

On http://download.jitsi.org/, you can find Jitsi installers for
Windows (32-bit and 64-bit), debian packages (32-bit and 64-bit) and
Mac OS X installers (universal).

Please note that we have not ARM packages (and thus no compiled ARM
native libraries) for debian.

Regards,
--
Seb

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: mercoledì 25 gennaio 2012 16.15
A: users@jitsi.java.net; seb@jitsi.org
Oggetto: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

I try to check with "dpkg -l jikes" this is the output

Desired=Unknown/Install/Remove/Purge/Hold
>
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tr
i
g-pend
>/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>>/ Name Version Description
+++-==============-==============-===================================
+++=
+++==
+++====

un jikes<none> (no description available)

This is the location of jikes with "which jikes" command:
/usr/bin/jikes
Where: /usr/bin/jikes --> /usr/bin/javac --> /etc/alternatives/javac

-->

/usr/lib/jvm/java-6-openjdk/bin/javac

Probably I have installed other packages or manually installed jikes
in the past overwriting the openjdk-6 javac.

I'll try to reinstall openjdk-6.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 14.47
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Le 25/01/12 14:40, Paolo Pellegatti a écrit :

Hi,

This is the output of command suggested:

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux

Is it correct ?

Yes.

I wonder why ant uses Jikes instead of OpenJDK. Maybe try removing
jikes package (if you have no use) or rename
/usr/lib/jvm/<jikes_directory> to be sure that Jikes is not
used/found during java compilation.

--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 13.42
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

What is the output of "ant -v | grep Detected" ?

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a écrit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/,
the symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac] Found 1 system error: [javac] *** Semantic Error: You need
to modify your classpath, sourcepath, bootclasspath, and/or extdirs
setup. Jikes could not find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a écrit :

Hi,

I don't know if the users list is a good place to post my
questions. I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK
Zero VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac]
Error: The option "-Xlint" is unsupported in this build. [javac]
use: jikes [options] [@files] file.java... [javac] For more help,
try -help or -version. [javac] Error: The option "-Xlint:-serial"
is unsupported in this build. [javac] Error: The option
"-Xmaxwarns" is unsupported in this build.

According to this log, I think you try to build Jitsi with IBM
Jikes JVM and not OpenJDK. Try setting JAVA_HOME environment
variable to point to OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is
symlinked to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial
and -Xmaxwarns and retry to buil with the same command "ant
rebuild". I got this error messages: [javac]
/usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds [javac]
Compiling 2412 source files to /usr/src/jitsi/classes [javac]
[javac] Found 1 system error: [javac] [javac] *** Semantic Error:
You need to modify your classpath,

sourcepath,

bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to
have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the
source library ?

You can find all native source code in jitsi/src/native/ directory.
You have ant buildfile but it may be modified to fit ARM
compilation. For some native lib, you will also need to compile
additionnal libs such as PortAudio and ffmpeg, all instructions are
available in relevant native directories.

kind regards,
Paolo.

Regards,
--
Seb


#14

Hi,

Yes it is a problem with architecture.

You need to modify build.xml and src/native/build.xml to fill the information of ARM (look at what exist for linux and linux-64 for the detection of architecture). You will also need to create the lib directory for ARM (lib/native/linux-arm) and reflect it to the build.xml.

Regards,

···

--
Seb

Le 26/01/12 10:40, Paolo Pellegatti a �crit :

Hi,

Building the jawtrenderer library with "ant jawtrenderer" command (using the
original build.xml file), I got this error messages:

============================================================================

Buildfile: /usr/src/jitsi/src/native/build.xml

init-native:

jawtrenderer-windows:

jawtrenderer:
        [cc] Starting dependency analysis for 1 files.
        [cc] 1 files are up to date.
        [cc] 0 files to be recompiled from dependency analysis.
        [cc] 1 total files to be compiled.
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c: In
func
tion 'JAWTRenderer_close':
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:47:
warn
ing: cast to pointer from integer of different size
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c: In
func
tion 'JAWTRenderer_open':
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:89:
warn
ing: cast from pointer to integer of different size
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c: In
func
tion 'JAWTRenderer_paint':
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:103:
war
ning: cast to pointer from integer of different size
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c: In
func
tion 'JAWTRenderer_process':
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:176:
war
ning: cast to pointer from integer of different size

BUILD FAILED
/usr/src/jitsi/src/native/build.xml:207: Output directory is not a directory

======

I got the same error messages with some other packages

Do I need to create a specific directory before building or it's only a
problem of mismatch architecture ?
If yes, how I can match the build.xml information for ARM platform ? I
didn't found any README file on jitsi/src/native/ path.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: gioved� 26 gennaio 2012 8.50
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

Simply type "ant run" in the Jitsi directory.

You can make a debian package and have /usr/bin/jitsi script to execute
Jitsi by typing "ant deb".

Regards,
--
Seb

Le 26/01/12 08:46, Paolo Pellegatti a �crit :

Hi,

I'm sorry but my question N.2. was not correct, in fact I wanted to
ask
this:

Where can I find the Jitsi compiled at the end of the ant build ? I
found a folder called "release" but it's empty.

Thank you for support.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 18.09
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

Le 25/01/12 17:43, Paolo Pellegatti a �crit :

Hi,

To update my situation.

These are the last messages of ant log after a re-installation of
openjdk-6-jdk on my ARM machine.

bundle-globalshortcut:
         [jar] Building jar:
/usr/src/jitsi/sc-bundles/globalshortcut.jar

bundles:

package:

make:

rebuild:
        [echo] ver=1.0-beta1-0.build.by.SVN

BUILD SUCCESSFUL
Total time: 36 minutes 20 seconds

Seems it works now ;).

My questions now, is:

1) Do I need to build also the library on native source code in
jitsi/src/native/ or "ant rebuild" have already done for me ?

No you have to compile each library by yourself.

2) Where I can find the compiled version of jitsi ?

On http://download.jitsi.org/, you can find Jitsi installers for
Windows (32-bit and 64-bit), debian packages (32-bit and 64-bit) and
Mac OS X installers (universal).

Please note that we have not ARM packages (and thus no compiled ARM
native libraries) for debian.

Regards,
--
Seb

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: mercoled� 25 gennaio 2012 16.15
A: users@jitsi.java.net; seb@jitsi.org
Oggetto: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

I try to check with "dpkg -l jikes" this is the output

Desired=Unknown/Install/Remove/Purge/Hold
>
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tr
i
g-pend
>/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>>/ Name Version Description
+++-==============-==============-===================================
+++=
+++==
+++====

un jikes<none> (no description available)

This is the location of jikes with "which jikes" command:
/usr/bin/jikes
Where: /usr/bin/jikes --> /usr/bin/javac --> /etc/alternatives/javac

-->

/usr/lib/jvm/java-6-openjdk/bin/javac

Probably I have installed other packages or manually installed jikes
in the past overwriting the openjdk-6 javac.

I'll try to reinstall openjdk-6.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 14.47
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Le 25/01/12 14:40, Paolo Pellegatti a �crit :

Hi,

This is the output of command suggested:

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux

Is it correct ?

Yes.

I wonder why ant uses Jikes instead of OpenJDK. Maybe try removing
jikes package (if you have no use) or rename
/usr/lib/jvm/<jikes_directory> to be sure that Jikes is not
used/found during java compilation.

--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 13.42
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

What is the output of "ant -v | grep Detected" ?

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a �crit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/,
the symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java.
Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac] Found 1 system error: [javac] *** Semantic Error: You need
to modify your classpath, sourcepath, bootclasspath, and/or extdirs
setup. Jikes could not find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoled� 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a �crit :

Hi,

I don't know if the users list is a good place to post my
questions. I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK
Zero VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command "ant
rebuild". After a few seconds I got this error messages [javac]
Error: The option "-Xlint" is unsupported in this build. [javac]
use: jikes [options] [@files] file.java... [javac] For more help,
try -help or -version. [javac] Error: The option "-Xlint:-serial"
is unsupported in this build. [javac] Error: The option
"-Xmaxwarns" is unsupported in this build.

According to this log, I think you try to build Jitsi with IBM
Jikes JVM and not OpenJDK. Try setting JAVA_HOME environment
variable to point to OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is
symlinked to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial
and -Xmaxwarns and retry to buil with the same command "ant
rebuild". I got this error messages: [javac]
/usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds [javac]
Compiling 2412 source files to /usr/src/jitsi/classes [javac]
[javac] Found 1 system error: [javac] [javac] *** Semantic Error:
You need to modify your classpath,

sourcepath,

bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order to
have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the
source library ?

You can find all native source code in jitsi/src/native/ directory.
You have ant buildfile but it may be modified to fit ARM
compilation. For some native lib, you will also need to compile
additionnal libs such as PortAudio and ffmpeg, all instructions are
available in relevant native directories.

kind regards,
Paolo.

Regards,
--
Seb


#15

Hi,

I create the folder linux-arm to jitsi/lib/native/ and modified the
src/native/build.xml file to fill the information of ARM as you seggested.

This is my changes, I added this lines <os arch="arm" /> closed to row 21
and at row 68

<condition property="native_install_dir" value="${native.libs}/linux-arm">
    <and>
      <isset property="is.running.linux-arm"/>
      <equals arg1="${arch}" arg2="arm" />
    </and>
</condition>

But executing the command "ant -Darch=arm jawtrenderer" I got the same error
messages in previous e-mail.

I don't understand how the property "is.running.linux-arm" could be set to
build correctly all library for ARM platform.
How can I set properly it on build.xml ?

Or do I need to call ant with a specific parameter ?

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Inviato: giovedì 26 gennaio 2012 10.46

···

Da: Sebastien Vincent [mailto:seb@jitsi.org]
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

Yes it is a problem with architecture.

You need to modify build.xml and src/native/build.xml to fill the
information of ARM (look at what exist for linux and linux-64 for the
detection of architecture). You will also need to create the lib
directory for ARM (lib/native/linux-arm) and reflect it to the build.xml.

Regards,
--
Seb

Le 26/01/12 10:40, Paolo Pellegatti a écrit :

Hi,

Building the jawtrenderer library with "ant jawtrenderer" command
(using the original build.xml file), I got this error messages:

======================================================================

=====
Buildfile: /usr/src/jitsi/src/native/build.xml

init-native:

jawtrenderer-windows:

jawtrenderer:
        [cc] Starting dependency analysis for 1 files.
        [cc] 1 files are up to date.
        [cc] 0 files to be recompiled from dependency analysis.
        [cc] 1 total files to be compiled.
        [cc]
/usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c: In func
tion 'JAWTRenderer_close':
        [cc]
/usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:47:
warn
ing: cast to pointer from integer of different size
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:

In

func
tion 'JAWTRenderer_open':
        [cc]

/usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:89:

warn
ing: cast from pointer to integer of different size
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:

In

func
tion 'JAWTRenderer_paint':
        [cc]

/usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:103:

war
ning: cast to pointer from integer of different size
        [cc] /usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:

In

func
tion 'JAWTRenderer_process':
        [cc]

/usr/src/jitsi/src/native/jawtrenderer/JAWTRenderer_Linux.c:176:

war
ning: cast to pointer from integer of different size

BUILD FAILED
/usr/src/jitsi/src/native/build.xml:207: Output directory is not a
directory

============================================================================

======

I got the same error messages with some other packages

Do I need to create a specific directory before building or it's only
a problem of mismatch architecture ? If yes, how I can match the
build.xml information for ARM platform ? I didn't found any README
file on jitsi/src/native/ path.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: giovedì 26 gennaio 2012 8.50
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

Simply type "ant run" in the Jitsi directory.

You can make a debian package and have /usr/bin/jitsi script to
execute Jitsi by typing "ant deb".

Regards,
--
Seb

Le 26/01/12 08:46, Paolo Pellegatti a écrit :

Hi,

I'm sorry but my question N.2. was not correct, in fact I wanted to
ask
this:

Where can I find the Jitsi compiled at the end of the ant build ? I
found a folder called "release" but it's empty.

Thank you for support.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 18.09
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

Le 25/01/12 17:43, Paolo Pellegatti a écrit :

Hi,

To update my situation.

These are the last messages of ant log after a re-installation of
openjdk-6-jdk on my ARM machine.

bundle-globalshortcut:
         [jar] Building jar:
/usr/src/jitsi/sc-bundles/globalshortcut.jar

bundles:

package:

make:

rebuild:
        [echo] ver=1.0-beta1-0.build.by.SVN

BUILD SUCCESSFUL
Total time: 36 minutes 20 seconds

Seems it works now ;).

My questions now, is:

1) Do I need to build also the library on native source code in
jitsi/src/native/ or "ant rebuild" have already done for me ?

No you have to compile each library by yourself.

2) Where I can find the compiled version of jitsi ?

On http://download.jitsi.org/, you can find Jitsi installers for
Windows (32-bit and 64-bit), debian packages (32-bit and 64-bit) and
Mac OS X installers (universal).

Please note that we have not ARM packages (and thus no compiled ARM
native libraries) for debian.

Regards,
--
Seb

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: mercoledì 25 gennaio 2012 16.15
A: users@jitsi.java.net; seb@jitsi.org
Oggetto: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

I try to check with "dpkg -l jikes" this is the output

Desired=Unknown/Install/Remove/Purge/Hold
>
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/T
r
i
g-pend
>/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>>/ Name Version Description
+++-==============-==============-==================================
+++=
+++=
+++==
+++====

un jikes<none> (no description available)

This is the location of jikes with "which jikes" command:
/usr/bin/jikes
Where: /usr/bin/jikes --> /usr/bin/javac -->

/etc/alternatives/javac

-->

/usr/lib/jvm/java-6-openjdk/bin/javac

Probably I have installed other packages or manually installed jikes
in the past overwriting the openjdk-6 javac.

I'll try to reinstall openjdk-6.

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 14.47
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: R: R: Re: Building jitsi on ARM platform

Le 25/01/12 14:40, Paolo Pellegatti a écrit :

Hi,

This is the output of command suggested:

Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
Detected OS: Linux

Is it correct ?

Yes.

I wonder why ant uses Jikes instead of OpenJDK. Maybe try removing
jikes package (if you have no use) or rename
/usr/lib/jvm/<jikes_directory> to be sure that Jikes is not
used/found during java compilation.

--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 13.42
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: [jitsi-users] Re: Building jitsi on ARM platform

Hi,

What is the output of "ant -v | grep Detected" ?

--
Seb

Le 25/01/12 12:15, Paolo Pellegatti a écrit :

Hi,

I try to set JAVA_HOME variable as /usr/lib/jvm/java-6-openjdk/,
the symbolic links java (in /usr/bin) points to java ->
/etc/alternatives/java ->

/usr/lib/jvm/java-6-openjdk/jre/bin/java.

Building with "ant rebuild" I got the same error messages:

[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac] Found 1 system error: [javac] *** Semantic Error: You need
to modify your classpath, sourcepath, bootclasspath, and/or
extdirs setup. Jikes could not find package "java.lang" in:

Do I need to set other java variable ?

Thank you.

Regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: mercoledì 25 gennaio 2012 10.54
A: users@jitsi.java.net
Oggetto: [jitsi-users] Re: Building jitsi on ARM platform

Hi Paolo,

Le 25/01/12 10:46, Paolo Pellegatti a écrit :

Hi,

I don't know if the users list is a good place to post my
questions. I'm new on Java.

This is our JVM used:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK
Zero VM (build 14.0-b16, mixed mode)

We try to build jitsi on our ARMv7 platform using the command
"ant rebuild". After a few seconds I got this error messages
[javac]
Error: The option "-Xlint" is unsupported in this build. [javac]
use: jikes [options] [@files] file.java... [javac] For more help,
try -help or -version. [javac] Error: The option "-Xlint:-serial"
is unsupported in this build. [javac] Error: The option
"-Xmaxwarns" is unsupported in this build.

According to this log, I think you try to build Jitsi with IBM
Jikes JVM and not OpenJDK. Try setting JAVA_HOME environment
variable to point to OpenJDK JVM (on Debian it is something like
/usr/lib/jvm/java-6-openjdk...) or be sure /usr/bin/java is
symlinked to openjdk java.

I try to remove from build.xml, the line command -Xlint:-serial
and -Xmaxwarns and retry to buil with the same command "ant
rebuild". I got this error messages: [javac]
/usr/src/jitsi/build.xml:287:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2412 source files to /usr/src/jitsi/classes
[javac] [javac] Found 1 system error: [javac] [javac] ***
Semantic Error: You need to modify your classpath,

sourcepath,

bootclasspath, and/or extdirs setup. Jikes could not find package
"java.lang" in:

My questions is:
1) Is jitsi project compatible with ARM processor ?

Yes... but you need to compile several native libraries in order
to have all features.

2) Which jvm are supported to build jitsi from it's source code ?

I personally build/test on SUN/Oracle JVM and OpenJDK.

3) Do I need to build and substitute each library.so file on
/usr/src/jitsi/lib/native/linux for ARM ? Where I can find the
source library ?

You can find all native source code in jitsi/src/native/
directory. You have ant buildfile but it may be modified to fit
ARM compilation. For some native lib, you will also need to
compile additionnal libs such as PortAudio and ffmpeg, all
instructions are available in relevant native directories.

kind regards,
Paolo.

Regards,
--
Seb


#16

Hi,

After some changes on src/native/build.xml file to matching ARM platform, I
can compile all the library on src/native/ for ARM platform (except for
hid.so compiled with make).

I noticed that the number of libraries *.so found in
<jitsi-home>/lib/native/linux/ are more than those compiled for ARM ("ant
-Darch=arm <library>").

This is the full list of library compiled for ARM in
<jitsi-home>/lib/native/linux-arm/

hid.so
libgalagonotification.so
libhwaddressretriever.so
libjawtrenderer.so
libjg722.so
libjmf_alsa.so
libjnffmpeg.so
libjnportaudio.so
libjspeex.so
libjvideo4linux2.so
libscreencapture.so

My question is:

1) The libraries above are adequate to run jitsi ? I forgot someone ?

Regards,
Paolo.

-----Messaggio originale-----
Inviato: giovedì 26 gennaio 2012 17.05

···

Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
A: 'Sebastien Vincent'
Cc: users@jitsi.java.net
Oggetto: R: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

I create the folder linux-arm to jitsi/lib/native/ and modified the
src/native/build.xml file to fill the information of ARM as you seggested.

This is my changes, I added this lines <os arch="arm" /> closed to row 21
and at row 68

<condition property="native_install_dir" value="${native.libs}/linux-arm">
    <and>
      <isset property="is.running.linux-arm"/>
      <equals arg1="${arch}" arg2="arm" />
    </and>
</condition>

But executing the command "ant -Darch=arm jawtrenderer" I got the same error
messages in previous e-mail.

I don't understand how the property "is.running.linux-arm" could be set to
build correctly all library for ARM platform. How can I set properly it on
build.xml ?

Or do I need to call ant with a specific parameter ?

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: giovedì 26 gennaio 2012 10.46
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

Yes it is a problem with architecture.

You need to modify build.xml and src/native/build.xml to fill the
information of ARM (look at what exist for linux and linux-64 for the
detection of architecture). You will also need to create the lib
directory for ARM (lib/native/linux-arm) and reflect it to the build.xml.

Regards,
--
Seb


#17

Le 27/01/12 17:47, Paolo Pellegatti a �crit :

Hi,

After some changes on src/native/build.xml file to matching ARM platform, I
can compile all the library on src/native/ for ARM platform (except for
hid.so compiled with make).

I noticed that the number of libraries *.so found in
<jitsi-home>/lib/native/linux/ are more than those compiled for ARM ("ant
-Darch=arm<library>").

This is the full list of library compiled for ARM in
<jitsi-home>/lib/native/linux-arm/

hid.so
libgalagonotification.so
libhwaddressretriever.so
libjawtrenderer.so
libjg722.so
libjmf_alsa.so
libjnffmpeg.so
libjnportaudio.so
libjspeex.so
libjvideo4linux2.so
libscreencapture.so

My question is:

1) The libraries above are adequate to run jitsi ? I forgot someone ?

Rename hid.so to libhid.so otherwise it will not be loaded properly. If you want to use DNSSEC stuff, it miss libjunbound. And also libsysactivitynotifications to be notified of some stuff (network down, ...).

Otherwise it looks fine to me.

Regards,

···

--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: gioved� 26 gennaio 2012 17.05
A: 'Sebastien Vincent'
Cc: users@jitsi.java.net
Oggetto: R: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

I create the folder linux-arm to jitsi/lib/native/ and modified the
src/native/build.xml file to fill the information of ARM as you seggested.

This is my changes, I added this lines<os arch="arm" /> closed to row 21
and at row 68

<condition property="native_install_dir" value="${native.libs}/linux-arm">
     <and>
       <isset property="is.running.linux-arm"/>
       <equals arg1="${arch}" arg2="arm" />
     </and>
</condition>

But executing the command "ant -Darch=arm jawtrenderer" I got the same error
messages in previous e-mail.

I don't understand how the property "is.running.linux-arm" could be set to
build correctly all library for ARM platform. How can I set properly it on
build.xml ?

Or do I need to call ant with a specific parameter ?

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: gioved� 26 gennaio 2012 10.46
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

Yes it is a problem with architecture.

You need to modify build.xml and src/native/build.xml to fill the
information of ARM (look at what exist for linux and linux-64 for the
detection of architecture). You will also need to create the lib
directory for ARM (lib/native/linux-arm) and reflect it to the build.xml.

Regards,
--
Seb


#18

Hi,

I try to create a debian package for ARM using the command "ant deb" but I
got some error/warning messages as reported below (in order of appearence)
even if the last message of ant was BUILD SUCCESSFUL Total time: 5 minutes
11 seconds. And the package *.deb was not created on
<jitsi_home>/release/debian.

Do I need to change or add other lines on build.xml found on <jitsi_home> to
build the installation package *.deb for ARM ?

Is <jitsi_home>/release/debian the right place to find the installation deb
package as result of ant deb command ?

Thank you.

Best regards,
Paolo.

1)
[get] Error opening connection java.io.FileNotFoundException:
http://bluejimp.com/sip-communicator/changelogs/extended-changelog-${label}.
txt
[get] Can't get
http://bluejimp.com/sip-communicator/changelogs/extended-changelog-${label}.
txt to /usr/src/jitsi/changelog-${label}.txt
[loadfile] /usr/src/jitsi/changelog-${label}.txt doesn't exist

2)
[exec] dh_strip -Xjdic_misc
[exec] strip: Unable to recognise the format of the input file
`debian/jitsi/usr/lib/jitsi/lib/native/libglobalshortcut.so'
[exec] dh_strip: strip --remove-section=.comment --remove-section=.note
--strip-unneeded debian/jitsi/usr/lib/jitsi/lib/native/libglobalshortcut.so
returne
d exit code 1
[exec] make: *** [binary-arch] Error 9
[exec] dpkg-buildpackage: error: fakeroot debian/rules binary gave error
exit status 2

3)
[exec] LINE: -- Martin Andre <mandre@dev.java.net> Mon, 30 Jan 2012
13:12:13 +0100
[exec] dpkg-buildpackage: source package jitsi
[exec] dpkg-buildpackage: source version 1.0-beta1-0.build.by.SVN
[exec] dpkg-buildpackage: source changed by Martin Andre
<mandre@dev.java.net>
[exec] dpkg-architecture: warning: Specified GNU system type
x86_64-linux-gnu does not match gcc system type arm-linux-gnueabi.
[exec] dpkg-source --before-build install
[exec] dpkg-buildpackage: host architecture amd64

-----Messaggio originale-----
Inviato: venerdì 27 gennaio 2012 17.57

···

Da: Sebastien Vincent [mailto:seb@jitsi.org]
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Le 27/01/12 17:47, Paolo Pellegatti a écrit :

Hi,

After some changes on src/native/build.xml file to matching ARM
platform, I can compile all the library on src/native/ for ARM
platform (except for hid.so compiled with make).

I noticed that the number of libraries *.so found in
<jitsi-home>/lib/native/linux/ are more than those compiled for ARM
("ant -Darch=arm<library>").

This is the full list of library compiled for ARM in
<jitsi-home>/lib/native/linux-arm/

hid.so
libgalagonotification.so
libhwaddressretriever.so
libjawtrenderer.so
libjg722.so
libjmf_alsa.so
libjnffmpeg.so
libjnportaudio.so
libjspeex.so
libjvideo4linux2.so
libscreencapture.so

My question is:

1) The libraries above are adequate to run jitsi ? I forgot someone ?

Rename hid.so to libhid.so otherwise it will not be loaded properly. If
you want to use DNSSEC stuff, it miss libjunbound. And also
libsysactivitynotifications to be notified of some stuff (network down,
...).

Otherwise it looks fine to me.

Regards,
--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: giovedì 26 gennaio 2012 17.05
A: 'Sebastien Vincent'
Cc: users@jitsi.java.net
Oggetto: R: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

I create the folder linux-arm to jitsi/lib/native/ and modified the
src/native/build.xml file to fill the information of ARM as you
seggested.

This is my changes, I added this lines<os arch="arm" /> closed to row
21 and at row 68

<condition property="native_install_dir" value="${native.libs}/linux-arm">
     <and>
       <isset property="is.running.linux-arm"/>
       <equals arg1="${arch}" arg2="arm" />
     </and>
</condition>

But executing the command "ant -Darch=arm jawtrenderer" I got the same
error messages in previous e-mail.

I don't understand how the property "is.running.linux-arm" could be
set to build correctly all library for ARM platform. How can I set
properly it on build.xml ?

Or do I need to call ant with a specific parameter ?

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: giovedì 26 gennaio 2012 10.46
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on
ARM platform

Hi,

Yes it is a problem with architecture.

You need to modify build.xml and src/native/build.xml to fill the
information of ARM (look at what exist for linux and linux-64 for the
detection of architecture). You will also need to create the lib
directory for ARM (lib/native/linux-arm) and reflect it to the
build.xml.

Regards,
--
Seb


#19

Hi,

Le 30/01/12 14:49, Paolo Pellegatti a �crit :

Hi,

I try to create a debian package for ARM using the command "ant deb" but I
got some error/warning messages as reported below (in order of appearence)
even if the last message of ant was BUILD SUCCESSFUL Total time: 5 minutes
11 seconds. And the package *.deb was not created on
<jitsi_home>/release/debian.

Do I need to change or add other lines on build.xml found on<jitsi_home> to
build the installation package *.deb for ARM ?

Is<jitsi_home>/release/debian the right place to find the installation deb
package as result of ant deb command ?

Yes it is.

Thank you.

Best regards,
Paolo.

1)
[get] Error opening connection java.io.FileNotFoundException:
http://bluejimp.com/sip-communicator/changelogs/extended-changelog-${label}.
txt
[get] Can't get
http://bluejimp.com/sip-communicator/changelogs/extended-changelog-${label}.
txt to /usr/src/jitsi/changelog-${label}.txt
[loadfile] /usr/src/jitsi/changelog-${label}.txt doesn't exist

I don't think it is important for the deb generation

2)
[exec] dh_strip -Xjdic_misc
[exec] strip: Unable to recognise the format of the input file
`debian/jitsi/usr/lib/jitsi/lib/native/libglobalshortcut.so'
[exec] dh_strip: strip --remove-section=.comment --remove-section=.note
--strip-unneeded debian/jitsi/usr/lib/jitsi/lib/native/libglobalshortcut.so
returne
d exit code 1
[exec] make: *** [binary-arch] Error 9
[exec] dpkg-buildpackage: error: fakeroot debian/rules binary gave error
exit status 2

Maybe libglobalshortcut.so is not correctly compiled. Does the library work when you run Jitsi or not ? Check with file command and try to recompile it.

3)
[exec] LINE: -- Martin Andre<mandre@dev.java.net> Mon, 30 Jan 2012
13:12:13 +0100
[exec] dpkg-buildpackage: source package jitsi
[exec] dpkg-buildpackage: source version 1.0-beta1-0.build.by.SVN
[exec] dpkg-buildpackage: source changed by Martin Andre
<mandre@dev.java.net>
[exec] dpkg-architecture: warning: Specified GNU system type
x86_64-linux-gnu does not match gcc system type arm-linux-gnueabi.
[exec] dpkg-source --before-build install
[exec] dpkg-buildpackage: host architecture amd64

I think you should look in resources/install/build.xml, and changes the architecture used for the deb package generation.

···

--
Seb

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: venerd� 27 gennaio 2012 17.57
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Le 27/01/12 17:47, Paolo Pellegatti a �crit :

Hi,

After some changes on src/native/build.xml file to matching ARM
platform, I can compile all the library on src/native/ for ARM
platform (except for hid.so compiled with make).

I noticed that the number of libraries *.so found in
<jitsi-home>/lib/native/linux/ are more than those compiled for ARM
("ant -Darch=arm<library>").

This is the full list of library compiled for ARM in
<jitsi-home>/lib/native/linux-arm/

hid.so
libgalagonotification.so
libhwaddressretriever.so
libjawtrenderer.so
libjg722.so
libjmf_alsa.so
libjnffmpeg.so
libjnportaudio.so
libjspeex.so
libjvideo4linux2.so
libscreencapture.so

My question is:

1) The libraries above are adequate to run jitsi ? I forgot someone ?

Rename hid.so to libhid.so otherwise it will not be loaded properly. If
you want to use DNSSEC stuff, it miss libjunbound. And also
libsysactivitynotifications to be notified of some stuff (network down,
...).

Otherwise it looks fine to me.

Regards,
--
Seb

Regards,
Paolo.

-----Messaggio originale-----
Da: Paolo Pellegatti [mailto:paolo.pellegatti@axesstmc.com]
Inviato: gioved� 26 gennaio 2012 17.05
A: 'Sebastien Vincent'
Cc: users@jitsi.java.net
Oggetto: R: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on ARM
platform

Hi,

I create the folder linux-arm to jitsi/lib/native/ and modified the
src/native/build.xml file to fill the information of ARM as you
seggested.

This is my changes, I added this lines<os arch="arm" /> closed to row
21 and at row 68

<condition property="native_install_dir" value="${native.libs}/linux-arm">
      <and>
        <isset property="is.running.linux-arm"/>
        <equals arg1="${arch}" arg2="arm" />
      </and>
</condition>

But executing the command "ant -Darch=arm jawtrenderer" I got the same
error messages in previous e-mail.

I don't understand how the property "is.running.linux-arm" could be
set to build correctly all library for ARM platform. How can I set
properly it on build.xml ?

Or do I need to call ant with a specific parameter ?

Thank you.

Kind regards,
Paolo.

-----Messaggio originale-----
Da: Sebastien Vincent [mailto:seb@jitsi.org]
Inviato: gioved� 26 gennaio 2012 10.46
A: Paolo Pellegatti
Cc: users@jitsi.java.net
Oggetto: Re: R: R: R: [jitsi-users] Re: R: R: Re: Building jitsi on
ARM platform

Hi,

Yes it is a problem with architecture.

You need to modify build.xml and src/native/build.xml to fill the
information of ARM (look at what exist for linux and linux-64 for the
detection of architecture). You will also need to create the lib
directory for ARM (lib/native/linux-arm) and reflect it to the
build.xml.

Regards,
--
Seb