|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
Compiling jar file using gcjHi,
i created a java project using netbeans. it uses 2 libraries RXTXcomm.jar & mysql-connector-java.jar after building the project thru netbeans i get the iRemote.jar file in the dist folder. i want to compile it using gcj to create a binary file. i am using the following command gcj --classpath=lib/RXTXcomm.jar --main=iremote.controller.Controller - o iRemote.bin iRemote.jar i get the following error /tmp/cc6GjIBu.o: In function `iremote::device::light::innlink::SignalSender::SignalSender()': iRemote.jar:(.text+0x180a7): undefined reference to `gnu::io::CommPortIdentifier* gnu::io::CommPortIdentifier::getPortIdentifier(java::lang::String*)' iRemote.jar:(.text+0x181c5): undefined reference to `gnu::io::SerialPort::class$' /tmp/cc6GjIBu.o: In function `iremote::device::light::relay3088::SignalSender::SignalSender()': iRemote.jar:(.text+0x24c3b): undefined reference to `gnu::io::CommPortIdentifier* gnu::io::CommPortIdentifier::getPortIdentifier(java::lang::String*)' iRemote.jar:(.text+0x24d59): undefined reference to `gnu::io::SerialPort::class$' /tmp/cc6GjIBu.o: In function ` iremote ::device ::tv::samsungA450av::SignalSender::SignalSender(java::lang::String*)': iRemote.jar:(.text+0x3b3fb): undefined reference to `gnu::io::CommPortIdentifier* gnu::io::CommPortIdentifier::getPortIdentifier(java::lang::String*)' iRemote.jar:(.text+0x3b52b): undefined reference to `gnu::io::SerialPort::class$' iRemote.jar:(.text+0x3bc0d): undefined reference to `gnu::io::CommPortIdentifier* gnu::io::CommPortIdentifier::getPortIdentifier(java::lang::String*)' iRemote.jar:(.text+0x3bd2b): undefined reference to `gnu::io::SerialPort::class$' /tmp/cc6GjIBu.o: In function ` iremote ::device ::tv::samsungA450rf::SignalSender::SignalSender(java::lang::String*)': iRemote.jar:(.text+0x464cb): undefined reference to `gnu::io::CommPortIdentifier* gnu::io::CommPortIdentifier::getPortIdentifier(java::lang::String*)' iRemote.jar:(.text+0x465fb): undefined reference to `gnu::io::SerialPort::class$' iRemote.jar:(.text+0x46cdd): undefined reference to `gnu::io::CommPortIdentifier* gnu::io::CommPortIdentifier::getPortIdentifier(java::lang::String*)' iRemote.jar:(.text+0x46dfb): undefined reference to `gnu::io::SerialPort::class$' /tmp/cc6GjIBu.o: In function ` iremote ::device ::tv::samsungA650av::SignalSender::SignalSender(java::lang::String*)': iRemote.jar:(.text+0x5026f): undefined reference to `gnu::io::CommPortIdentifier* gnu::io::CommPortIdentifier::getPortIdentifier(java::lang::String*)' iRemote.jar:(.text+0x5039f): undefined reference to `gnu::io::SerialPort::class$' iRemote.jar:(.text+0x50a81): undefined reference to `gnu::io::CommPortIdentifier* gnu::io::CommPortIdentifier::getPortIdentifier(java::lang::String*)' iRemote.jar:(.text+0x50b9f): undefined reference to `gnu::io::SerialPort::class$' /tmp/cc6GjIBu.o: In function ` iremote ::device ::tv::samsungA650rf::SignalSender::SignalSender(java::lang::String*)': iRemote.jar:(.text+0x617cd): undefined reference to `gnu::io::CommPortIdentifier* gnu::io::CommPortIdentifier::getPortIdentifier(java::lang::String*)' iRemote.jar:(.text+0x618fd): undefined reference to `gnu::io::SerialPort::class$' iRemote.jar:(.text+0x61fdf): undefined reference to `gnu::io::CommPortIdentifier* gnu::io::CommPortIdentifier::getPortIdentifier(java::lang::String*)' iRemote.jar:(.text+0x620fd): undefined reference to `gnu::io::SerialPort::class$' /tmp/cc6GjIBu.o: In function `void iremote ::device::utility::SimpleRead::main(JArray<java::lang::String*>*)': iRemote.jar:(.text+0x6514f): undefined reference to `java::util::Enumeration* gnu::io::CommPortIdentifier::getPortIdentifiers()' iRemote.jar:(.text+0x651e4): undefined reference to `gnu::io::CommPortIdentifier::class$' /tmp/cc6GjIBu.o: In function `iremote::device::utility::SimpleRead::SimpleRead()': iRemote.jar:(.text+0x65585): undefined reference to `gnu::io::SerialPort::class$' /tmp/cc6GjIBu.o:(.data+0x1bb4): undefined reference to `gnu::io::CommPortIdentifier::class$' /tmp/cc6GjIBu.o:(.data+0x1bc4): undefined reference to `gnu::io::CommPort::class$' /tmp/cc6GjIBu.o:(.data+0x1bd4): undefined reference to `gnu::io::SerialPort::class$' /tmp/cc6GjIBu.o:(.data+0x22f4): undefined reference to `gnu::io::CommPortIdentifier::class$' this program runs fine with java -jar iRemote.jar need help Swapnil |
|
|
Re: Compiling jar file using gcjSwapnil Jain wrote:
> i created a java project using netbeans. it uses 2 libraries > RXTXcomm.jar & mysql-connector-java.jar > > after building the project thru netbeans i get the iRemote.jar file in > the dist folder. > > i want to compile it using gcj to create a binary file. i am using the > following command > > gcj --classpath=lib/RXTXcomm.jar --main=iremote.controller.Controller -o > iRemote.bin iRemote.jar > > > i get the following error > > /tmp/cc6GjIBu.o: In function > `iremote::device::light::innlink::SignalSender::SignalSender()': > iRemote.jar:(.text+0x180a7): undefined reference to > `gnu::io::CommPortIdentifier* You need to compile RXTXcomm.jar as well, not just point the classpath at it. i.e. it's a runtime dependency, not just a compile-time dependency. Andrew. |
|
|
Re: Compiling jar file using gcjOn 29-Aug-09, at 8:35 PM, Andrew Haley wrote: > Swapnil Jain wrote: > >> i created a java project using netbeans. it uses 2 libraries >> RXTXcomm.jar & mysql-connector-java.jar >> >> after building the project thru netbeans i get the iRemote.jar file >> in >> the dist folder. >> >> i want to compile it using gcj to create a binary file. i am using >> the >> following command >> >> gcj --classpath=lib/RXTXcomm.jar -- >> main=iremote.controller.Controller -o >> iRemote.bin iRemote.jar >> >> >> i get the following error >> >> /tmp/cc6GjIBu.o: In function >> `iremote::device::light::innlink::SignalSender::SignalSender()': >> iRemote.jar:(.text+0x180a7): undefined reference to >> `gnu::io::CommPortIdentifier* > > You need to compile RXTXcomm.jar as well, not just point the classpath > at it. i.e. it's a runtime dependency, not just a compile-time > dependency. > > Andrew. > > Thanks Andrew for your reply. but is there a different way to RXTXcomm.jar how do i do that, i need to know this in detail as i am not much familier with gcj thanks again -------------------------------- Swapnil Jain Indore ----------------------------------------------- |
|
|
Re: Compiling jar file using gcjHi,
now i am getting the following Segmentation fault error. ----- COMMAND ----- gcj -o iRemote.sh --main=iremote.controller.Controller -- classpath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar: iRemote.jar RXTXcomm.jar mysql-connector-java-5.1.7-bin.jar -v ----- OUTPUT ----- Using built-in specs. Reading specs from /usr/lib/gcc/i486-linux-gnu/4.3.3/libgcj.spec rename spec startfile to startfileorig rename spec lib to liborig Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcj-4.3/ README.Bugs --enable-languages=c$ Thread model: posix gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) COLLECT_GCC_OPTIONS='-ffilelist-file' '-o' 'iRemote.sh' '-v' '- fbootclasspath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar:./:/usr/ share/java/libgcj-4.3$ COLLECT_GCC_OPTIONS='-ffilelist-file' '-o' 'iRemote.sh' '-v' '- fbootclasspath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar:./:/usr/ share/java/libgcj-4.3$ /usr/lib/gcc/i486-linux-gnu/4.3.3/jc1 /tmp/ccy8jwzgjx -fhash- synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call- exceptions -fkeep-inline$ GNU Java (Ubuntu 4.3.3-5ubuntu4) version 4.3.3 (i486-linux-gnu) compiled by GNU C version 4.3.3, GMP version 4.2.4, MPFR version 2.4.0. GGC heuristics: --param ggc-min-expand=98 --param ggc-min- heapsize=128197 Class path starts here: /tmp/cckBLqcq.zip/ (zip) RXTXcomm.jar/ (system) (zip) mysql-connector-java-5.1.7-bin.jar/ (system) (zip) ./ (system) /usr/share/java/libgcj-4.3.jar/ (system) (zip) java/io/BufferedWriter.java:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcj-4.3/README.Bugs> for instructions. -------------------------------- Swapnil Jain Indore ----------------------------------------------- On 29-Aug-09, at 8:35 PM, Andrew Haley wrote: > Swapnil Jain wrote: > >> i created a java project using netbeans. it uses 2 libraries >> RXTXcomm.jar & mysql-connector-java.jar >> >> after building the project thru netbeans i get the iRemote.jar file >> in >> the dist folder. >> >> i want to compile it using gcj to create a binary file. i am using >> the >> following command >> >> gcj --classpath=lib/RXTXcomm.jar -- >> main=iremote.controller.Controller -o >> iRemote.bin iRemote.jar >> >> >> i get the following error >> >> /tmp/cc6GjIBu.o: In function >> `iremote::device::light::innlink::SignalSender::SignalSender()': >> iRemote.jar:(.text+0x180a7): undefined reference to >> `gnu::io::CommPortIdentifier* > > You need to compile RXTXcomm.jar as well, not just point the classpath > at it. i.e. it's a runtime dependency, not just a compile-time > dependency. > > Andrew. > > |
|
|
Re: Compiling jar file using gcjSwapnil Jain wrote:
> Hi, > > now i am getting the following Segmentation fault error. If you provide me with a complete test case (all files, all the commands you use) I'll have a look. Andrew. |
|
|
Re: Compiling jar file using gcji am using ubuntu 9.04 32 bit desktop edition.
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 gcj (Ubuntu 4.3.3-5ubuntu4) 4.3.3 java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) i created a java project using netbeans. it uses 2 libraries RXTXcomm.jar & mysql-connector-java-5.1.7-bin.jar after building the project thru netbeans i get the iRemote.jar file in the dist folder. i want to compile it using gcj to create a binary file. i am using the following command gcj -o iRemote.sh --main=iremote.controller.Controller -- classpath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar: iRemote.jar RXTXcomm.jar mysql-connector-java-5.1.7-bin.jar -v i am getting a segmentation fault error (file attached) i am also attaching strace of gcc & gcj execve("/usr/bin/gcc", ["gcc"], [/* 20 vars */]) = 0 brk(0) = 0x8652000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f2a000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=58938, ...}) = 0 mmap2(NULL, 58938, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f1b000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320h\1\0004\0\0\0\344"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1442180, ...}) = 0 mmap2(NULL, 1451632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7db8000 mprotect(0xb7f14000, 4096, PROT_NONE) = 0 mmap2(0xb7f15000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0xb7f15000 mmap2(0xb7f18000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f18000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7db7000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7db78d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 open("/dev/urandom", O_RDONLY) = 3 read(3, "b\201e;"..., 4) = 4 close(3) = 0 mprotect(0xb7f15000, 8192, PROT_READ) = 0 mprotect(0x807a000, 4096, PROT_READ) = 0 mprotect(0xb7f49000, 4096, PROT_READ) = 0 munmap(0xb7f1b000, 58938) = 0 brk(0) = 0x8652000 brk(0x8673000) = 0x8673000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f29000 read(3, "# Locale name alias data base.\n# "..., 4096) = 2570 read(3, ""..., 4096) = 0 close(3) = 0 munmap(0xb7f29000, 4096) = 0 open("/usr/lib/locale/en_IN/LC_CTYPE", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=256316, ...}) = 0 mmap2(NULL, 256316, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d78000 close(3) = 0 open("/usr/lib/locale/en_IN/LC_MESSAGES", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 close(3) = 0 open("/usr/lib/locale/en_IN/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=53, ...}) = 0 mmap2(NULL, 53, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f29000 close(3) = 0 open("/usr/share/locale/en_IN/LC_MESSAGES/gcc-4.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/gcc-4.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en_IN/LC_MESSAGES/gcc-4.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en/LC_MESSAGES/gcc-4.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {0x80503c0, [INT], SA_RESTART}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGHUP, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGHUP, {0x80503c0, [HUP], SA_RESTART}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGTERM, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTERM, {0x80503c0, [TERM], SA_RESTART}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGPIPE, {0x80503c0, [PIPE], SA_RESTART}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 access("/usr/local/sbin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/local/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/sbin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gcc", X_OK) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=45056, ...}) = 0 lstat64("/usr/bin/gcc", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0 readlink("/usr/bin/gcc", "gcc-4.3"..., 4095) = 7 lstat64("/usr/bin/gcc-4.3", {st_mode=S_IFREG|0755, st_size=208068, ...}) = 0 access("/usr/local/sbin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/local/bin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/sbin/gcc", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gcc", X_OK) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=45056, ...}) = 0 lstat64("/usr/bin/gcc", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0 readlink("/usr/bin/gcc", "gcc-4.3"..., 4095) = 7 lstat64("/usr/bin/gcc-4.3", {st_mode=S_IFREG|0755, st_size=208068, ...}) = 0 access("/usr/lib/gcc/i486-linux-gnu/4.3.3/", X_OK) = 0 access("/usr/lib/gcc/i486-linux-gnu/4.3.3/", X_OK) = 0 access("/usr/lib/gcc/i486-linux-gnu/4.3.3/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/4.3.3/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../i486-linux-gnu/lib/i486-linux-gnu/4.3.3/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../i486-linux-gnu/lib/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/4.3.3/", X_OK) = 0 write(2, "gcc: "..., 5gcc: ) = 5 write(2, "no input files"..., 14no input files) = 14 write(2, "\n"..., 1 ) = 1 exit_group(1) = ? execve("/usr/bin/gcj", ["gcj"], [/* 20 vars */]) = 0 brk(0) = 0x9570000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb808c000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=58938, ...}) = 0 mmap2(NULL, 58938, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb807d000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320h\1\0004\0\0\0\344"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1442180, ...}) = 0 mmap2(NULL, 1451632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f1a000 mprotect(0xb8076000, 4096, PROT_NONE) = 0 mmap2(0xb8077000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0xb8077000 mmap2(0xb807a000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb807a000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f19000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f196c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 open("/dev/urandom", O_RDONLY) = 3 read(3, "\200T\213\203"..., 4) = 4 close(3) = 0 mprotect(0xb8077000, 8192, PROT_READ) = 0 mprotect(0xb80ab000, 4096, PROT_READ) = 0 munmap(0xb807d000, 58938) = 0 brk(0) = 0x9570000 brk(0x9591000) = 0x9591000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb808b000 read(3, "# Locale name alias data base.\n# "..., 4096) = 2570 read(3, ""..., 4096) = 0 close(3) = 0 munmap(0xb808b000, 4096) = 0 open("/usr/lib/locale/en_IN/LC_CTYPE", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=256316, ...}) = 0 mmap2(NULL, 256316, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7eda000 close(3) = 0 open("/usr/lib/locale/en_IN/LC_MESSAGES", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 close(3) = 0 open("/usr/lib/locale/en_IN/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=53, ...}) = 0 mmap2(NULL, 53, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb808b000 close(3) = 0 open("/usr/share/locale/en_IN/LC_MESSAGES/gcc-4.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/gcc-4.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en_IN/LC_MESSAGES/gcc-4.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en/LC_MESSAGES/gcc-4.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {0x8053cf0, [INT], SA_RESTART}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGHUP, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGHUP, {0x8053cf0, [HUP], SA_RESTART}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGTERM, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTERM, {0x8053cf0, [TERM], SA_RESTART}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGPIPE, {0x8053cf0, [PIPE], SA_RESTART}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 access("/usr/local/sbin/gcj", X_OK) = -1 ENOENT (No such file or directory) access("/usr/local/bin/gcj", X_OK) = -1 ENOENT (No such file or directory) access("/usr/sbin/gcj", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gcj", X_OK) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=45056, ...}) = 0 lstat64("/usr/bin/gcj", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0 readlink("/usr/bin/gcj", "gcj-4.3"..., 4095) = 7 lstat64("/usr/bin/gcj-4.3", {st_mode=S_IFREG|0755, st_size=212840, ...}) = 0 access("/usr/local/sbin/gcj", X_OK) = -1 ENOENT (No such file or directory) access("/usr/local/bin/gcj", X_OK) = -1 ENOENT (No such file or directory) access("/usr/sbin/gcj", X_OK) = -1 ENOENT (No such file or directory) access("/usr/bin/gcj", X_OK) = 0 lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=45056, ...}) = 0 lstat64("/usr/bin/gcj", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0 readlink("/usr/bin/gcj", "gcj-4.3"..., 4095) = 7 lstat64("/usr/bin/gcj-4.3", {st_mode=S_IFREG|0755, st_size=212840, ...}) = 0 stat64("/usr/share/java/ext/", 0xbfda9a54) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/4.3.3/", X_OK) = 0 access("/usr/lib/gcc/i486-linux-gnu/4.3.3/", X_OK) = 0 access("/usr/lib/gcc/i486-linux-gnu/4.3.3/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/4.3.3/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../i486-linux-gnu/lib/i486-linux-gnu/4.3.3/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../i486-linux-gnu/lib/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/specs", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/gcc/i486-linux-gnu/4.3.3/", X_OK) = 0 access("/usr/lib/gcc/i486-linux-gnu/4.3.3/libgcj.spec", R_OK) = 0 open("/usr/lib/gcc/i486-linux-gnu/4.3.3/libgcj.spec", O_RDONLY) = 3 stat64("/usr/lib/gcc/i486-linux-gnu/4.3.3/libgcj.spec", {st_mode=S_IFREG|0644, st_size=488, ...}) = 0 read(3, "#\n# This spec file is read by gcj"..., 488) = 488 close(3) = 0 write(2, "gcj: "..., 5gcj: ) = 5 write(2, "no input files"..., 14no input files) = 14 write(2, "\n"..., 1 ) = 1 exit_group(1) = ? Using built-in specs. Reading specs from /usr/lib/gcc/i486-linux-gnu/4.3.3/libgcj.spec rename spec startfile to startfileorig rename spec lib to liborig Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcj-4.3/README.Bugs --enable-languages=c$ Thread model: posix gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) COLLECT_GCC_OPTIONS='-ffilelist-file' '-o' 'iRemote.sh' '-v' '-fbootclasspath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar:./:/usr/share/java/libgcj-4.3$ COLLECT_GCC_OPTIONS='-ffilelist-file' '-o' 'iRemote.sh' '-v' '-fbootclasspath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar:./:/usr/share/java/libgcj-4.3$ /usr/lib/gcc/i486-linux-gnu/4.3.3/jc1 /tmp/ccM9dwPgjx -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline$ GNU Java (Ubuntu 4.3.3-5ubuntu4) version 4.3.3 (i486-linux-gnu) compiled by GNU C version 4.3.3, GMP version 4.2.4, MPFR version 2.4.0. GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128197 Class path starts here: /tmp/ccU59wjn.zip/ (zip) RXTXcomm.jar/ (system) (zip) mysql-connector-java-5.1.7-bin.jar/ (system) (zip) ./ (system) /usr/share/java/libgcj-4.3.jar/ (system) (zip) java/io/BufferedWriter.java:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcj-4.3/README.Bugs> for instructions. kindly let me know if any more information you need. -------------------------------- Swapnil Jain Indore ----------------------------------------------- On 31-Aug-09, at 4:13 PM, Andrew Haley wrote: > Swapnil Jain wrote: >> Hi, >> >> now i am getting the following Segmentation fault error. > > If you provide me with a complete test case (all files, all the > commands you use) I'll have a look. > > Andrew. |
|
|
Re: Compiling jar file using gcjSwapnil Jain wrote:
> i am using ubuntu 9.04 32 bit desktop edition. > > gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 > gcj (Ubuntu 4.3.3-5ubuntu4) 4.3.3 > java version "1.6.0_14" > Java(TM) SE Runtime Environment (build 1.6.0_14-b08) > > i created a java project using netbeans. it uses 2 libraries > RXTXcomm.jar & mysql-connector-java-5.1.7-bin.jar > > after building the project thru netbeans i get the iRemote.jar file in > the dist folder. > > i want to compile it using gcj to create a binary file. i am using the > following command > > gcj -o iRemote.sh --main=iremote.controller.Controller > --classpath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar: iRemote.jar > RXTXcomm.jar mysql-connector-java-5.1.7-bin.jar -v > > i am getting a segmentation fault error (file attached) > > > i am also attaching strace of gcc & gcj > > > kindly let me know if any more information you need. All files. I need to know how to get the exact same versions you are using. Of course, this includes RXTXcomm.jar. Andrew. |
|
|
Re: Compiling jar file using gcji am attaching the RXTXcomm.jar that i use
-------------------------------- Swapnil Jain Indore ----------------------------------------------- On 31-Aug-09, at 4:52 PM, Andrew Haley wrote: > Swapnil Jain wrote: >> i am using ubuntu 9.04 32 bit desktop edition. >> >> gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 >> gcj (Ubuntu 4.3.3-5ubuntu4) 4.3.3 >> java version "1.6.0_14" >> Java(TM) SE Runtime Environment (build 1.6.0_14-b08) >> >> i created a java project using netbeans. it uses 2 libraries >> RXTXcomm.jar & mysql-connector-java-5.1.7-bin.jar >> >> after building the project thru netbeans i get the iRemote.jar file >> in >> the dist folder. >> >> i want to compile it using gcj to create a binary file. i am using >> the >> following command >> >> gcj -o iRemote.sh --main=iremote.controller.Controller >> --classpath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar: >> iRemote.jar >> RXTXcomm.jar mysql-connector-java-5.1.7-bin.jar -v >> >> i am getting a segmentation fault error (file attached) >> >> >> i am also attaching strace of gcc & gcj >> >> >> kindly let me know if any more information you need. > > All files. I need to know how to get the exact same versions you > are using. Of course, this includes RXTXcomm.jar. > > Andrew. > |
|
|
Re: Compiling jar file using gcjSwapnil Jain wrote:
> i am attaching the RXTXcomm.jar that i use > > > > > -------------------------------- > Swapnil Jain > Indore > ----------------------------------------------- > > > > On 31-Aug-09, at 4:52 PM, Andrew Haley wrote: > >> Swapnil Jain wrote: >>> i am using ubuntu 9.04 32 bit desktop edition. >>> >>> gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 >>> gcj (Ubuntu 4.3.3-5ubuntu4) 4.3.3 >>> java version "1.6.0_14" >>> Java(TM) SE Runtime Environment (build 1.6.0_14-b08) >>> >>> i created a java project using netbeans. it uses 2 libraries >>> RXTXcomm.jar & mysql-connector-java-5.1.7-bin.jar >>> >>> after building the project thru netbeans i get the iRemote.jar file in >>> the dist folder. >>> >>> i want to compile it using gcj to create a binary file. i am using the >>> following command >>> >>> gcj -o iRemote.sh --main=iremote.controller.Controller >>> --classpath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar: iRemote.jar >>> RXTXcomm.jar mysql-connector-java-5.1.7-bin.jar -v >>> >>> i am getting a segmentation fault error (file attached) >>> >>> >>> i am also attaching strace of gcc & gcj >>> >>> >>> kindly let me know if any more information you need. >> >> All files. I need to know how to get the exact same versions you >> are using. Of course, this includes RXTXcomm.jar. You have run into a bug where gcj gets very confused if the same file occurs more than once on the command line. I need to look at a way to detect this and abort with an error message instead of segfaulting. I cannot compile your example because a chunk of native code seems to be missing from RXTXcomm. You need to find this. However, once you find the native code for RXTXcomm, something like <compile the RXTX native code to native.o> gcj -c RXTXcomm.jar -o RXTXcomm.o gcj -c --classpath=RXTXcomm.jar iRemote.jar -o iRemote.o gcj --main=iremote.controller.Controller native.o RXTXcomm.o iRemote.o should work. Andrew. |
|
|
Re: Compiling jar file using gcjOn 01-Sep-09, at 3:02 PM, Andrew Haley wrote:
> Swapnil Jain wrote: >> i am attaching the RXTXcomm.jar that i use >> >> >> >> >> -------------------------------- >> Swapnil Jain >> Indore >> ----------------------------------------------- >> >> >> >> On 31-Aug-09, at 4:52 PM, Andrew Haley wrote: >> >>> Swapnil Jain wrote: >>>> i am using ubuntu 9.04 32 bit desktop edition. >>>> >>>> gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 >>>> gcj (Ubuntu 4.3.3-5ubuntu4) 4.3.3 >>>> java version "1.6.0_14" >>>> Java(TM) SE Runtime Environment (build 1.6.0_14-b08) >>>> >>>> i created a java project using netbeans. it uses 2 libraries >>>> RXTXcomm.jar & mysql-connector-java-5.1.7-bin.jar >>>> >>>> after building the project thru netbeans i get the iRemote.jar >>>> file in >>>> the dist folder. >>>> >>>> i want to compile it using gcj to create a binary file. i am >>>> using the >>>> following command >>>> >>>> gcj -o iRemote.sh --main=iremote.controller.Controller >>>> --classpath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar: >>>> iRemote.jar >>>> RXTXcomm.jar mysql-connector-java-5.1.7-bin.jar -v >>>> >>>> i am getting a segmentation fault error (file attached) >>>> >>>> >>>> i am also attaching strace of gcc & gcj >>>> >>>> >>>> kindly let me know if any more information you need. >>> >>> All files. I need to know how to get the exact same versions you >>> are using. Of course, this includes RXTXcomm.jar. > > You have run into a bug where gcj gets very confused if the same > file occurs > more than once on the command line. I need to look at a way to > detect this > and abort with an error message instead of segfaulting. > > I cannot compile your example because a chunk of native code seems > to be > missing from RXTXcomm. You need to find this. > > However, once you find the native code for RXTXcomm, something like > > <compile the RXTX native code to native.o> > gcj -c RXTXcomm.jar -o RXTXcomm.o > gcj -c --classpath=RXTXcomm.jar iRemote.jar -o iRemote.o > gcj --main=iremote.controller.Controller native.o RXTXcomm.o iRemote.o > > should work. > > Andrew. > gcj -c RXTXcomm.jar -o RXTXcomm.o THIS GOES OK > gcj -c --classpath=RXTXcomm.jar iRemote.jar -o iRemote.o THIS GOES OK > gcj --main=iremote.controller.Controller -o native.o RXTXcomm.o > iRemote.o again too many errors, i am attaching the error log ------ Swapnil RXTXcomm.o: In function `gnu::io::CommPort* gnu::io::CommPortIdentifier::open(java::lang::String*, int)': RXTXcomm.jar:(.text+0x15d3): undefined reference to `hidden alias for java::lang::String* gnu::io::CommPortIdentifier::native_psmisc_report_owner(java::lang::String*)' RXTXcomm.o: In function `void gnu::io::I2C$MonitorThread::run()': RXTXcomm.jar:(.text+0x4ce0): undefined reference to `void gnu::io::I2C::eventLoop()' RXTXcomm.o: In function `gnu::io::I2C::I2C(java::lang::String*)': RXTXcomm.jar:(.text+0x5329): undefined reference to `hidden alias for int gnu::io::I2C::open(java::lang::String*)' RXTXcomm.o: In function `void gnu::io::I2C::setI2CPortParams(int, int, int, int)': RXTXcomm.jar:(.text+0x53ff): undefined reference to `hidden alias for void gnu::io::I2C::nativeSetI2CPortParams(int, int, int, int)' RXTXcomm.o: In function `void gnu::io::I2C::setFlowControlMode(int)': RXTXcomm.jar:(.text+0x5530): undefined reference to `hidden alias for void gnu::io::I2C::setflowcontrol(int)' RXTXcomm.o: In function `void gnu::io::I2C::enableReceiveTimeout(int)': RXTXcomm.jar:(.text+0x56e9): undefined reference to `hidden alias for void gnu::io::I2C::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o: In function `bool gnu::io::I2C::isReceiveTimeoutEnabled()': RXTXcomm.jar:(.text+0x5761): undefined reference to `hidden alias for bool gnu::io::I2C::NativeisReceiveTimeoutEnabled()' RXTXcomm.o: In function `int gnu::io::I2C::getReceiveTimeout()': RXTXcomm.jar:(.text+0x578f): undefined reference to `hidden alias for int gnu::io::I2C::NativegetReceiveTimeout()' RXTXcomm.o: In function `void gnu::io::I2C::enableReceiveThreshold(int)': RXTXcomm.jar:(.text+0x5851): undefined reference to `hidden alias for void gnu::io::I2C::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o: In function `void gnu::io::I2C::close()': RXTXcomm.jar:(.text+0x6417): undefined reference to `hidden alias for void gnu::io::I2C::setDTR(bool)' RXTXcomm.jar:(.text+0x644e): undefined reference to `hidden alias for void gnu::io::I2C::setDSR(bool)' RXTXcomm.jar:(.text+0x6477): undefined reference to `hidden alias for void gnu::io::I2C::nativeClose()' RXTXcomm.o: In function `void gnu::io::I2C::access$1000(gnu::io::I2C*, int)': RXTXcomm.jar:(.text+0x6554): undefined reference to `hidden alias for void gnu::io::I2C::writeByte(int)' RXTXcomm.o: In function `void gnu::io::I2C::access$1100(gnu::io::I2C*, JArray<char>*, int, int)': RXTXcomm.jar:(.text+0x65c5): undefined reference to `hidden alias for void gnu::io::I2C::writeArray(JArray<char>*, int, int)' RXTXcomm.o: In function `void gnu::io::I2C::access$1200(gnu::io::I2C*)': RXTXcomm.jar:(.text+0x65fd): undefined reference to `hidden alias for void gnu::io::I2C::drain()' RXTXcomm.o: In function `int gnu::io::I2C::access$1400(gnu::io::I2C*)': RXTXcomm.jar:(.text+0x6667): undefined reference to `hidden alias for int gnu::io::I2C::readByte()' RXTXcomm.o: In function `int gnu::io::I2C::access$1700(gnu::io::I2C*, JArray<char>*, int, int)': RXTXcomm.jar:(.text+0x6726): undefined reference to `hidden alias for int gnu::io::I2C::readArray(JArray<char>*, int, int)' RXTXcomm.o: In function `int gnu::io::I2C::access$1800(gnu::io::I2C*)': RXTXcomm.jar:(.text+0x675e): undefined reference to `hidden alias for int gnu::io::I2C::nativeavailable()' RXTXcomm.o: In function `void gnu::io::I2C::__U3c_clinit__U3e_()': RXTXcomm.jar:(.text+0x6778): undefined reference to `hidden alias for void gnu::io::I2C::Initialize()' RXTXcomm.o: In function `void gnu::io::LPRPort$MonitorThread::run()': RXTXcomm.jar:(.text+0x6948): undefined reference to `void gnu::io::LPRPort::eventLoop()' RXTXcomm.o: In function `int gnu::io::LPRPort$ParallelInputStream::read()': RXTXcomm.jar:(.text+0x6af6): undefined reference to `int gnu::io::LPRPort::readByte()' RXTXcomm.o: In function `int gnu::io::LPRPort$ParallelInputStream::read(JArray<char>*)': RXTXcomm.jar:(.text+0x6bd4): undefined reference to `int gnu::io::LPRPort::readArray(JArray<char>*, int, int)' RXTXcomm.o: In function `int gnu::io::LPRPort$ParallelInputStream::read(JArray<char>*, int, int)': RXTXcomm.jar:(.text+0x6cb4): undefined reference to `int gnu::io::LPRPort::readArray(JArray<char>*, int, int)' RXTXcomm.o: In function `int gnu::io::LPRPort$ParallelInputStream::available()': RXTXcomm.jar:(.text+0x6d52): undefined reference to `int gnu::io::LPRPort::nativeavailable()' RXTXcomm.o: In function `void gnu::io::LPRPort$ParallelOutputStream::write(int)': RXTXcomm.jar:(.text+0x6e50): undefined reference to `void gnu::io::LPRPort::writeByte(int)' RXTXcomm.o: In function `void gnu::io::LPRPort$ParallelOutputStream::write(JArray<char>*)': RXTXcomm.jar:(.text+0x6f75): undefined reference to `void gnu::io::LPRPort::writeArray(JArray<char>*, int, int)' RXTXcomm.o: In function `void gnu::io::LPRPort$ParallelOutputStream::write(JArray<char>*, int, int)': RXTXcomm.jar:(.text+0x7095): undefined reference to `void gnu::io::LPRPort::writeArray(JArray<char>*, int, int)' RXTXcomm.o: In function `gnu::io::LPRPort::LPRPort(java::lang::String*)': RXTXcomm.jar:(.text+0x72bf): undefined reference to `hidden alias for int gnu::io::LPRPort::open(java::lang::String*)' RXTXcomm.o: In function `int gnu::io::LPRPort::setMode(int)': RXTXcomm.jar:(.text+0x7396): undefined reference to `hidden alias for bool gnu::io::LPRPort::setLPRMode(int)' RXTXcomm.o: In function `void gnu::io::LPRPort::close()': RXTXcomm.jar:(.text+0x7520): undefined reference to `hidden alias for void gnu::io::LPRPort::nativeClose()' RXTXcomm.o: In function `void gnu::io::LPRPort::__U3c_clinit__U3e_()': RXTXcomm.jar:(.text+0x8370): undefined reference to `hidden alias for void gnu::io::LPRPort::Initialize()' RXTXcomm.o: In function `void gnu::io::Raw$MonitorThread::run()': RXTXcomm.jar:(.text+0x86cc): undefined reference to `void gnu::io::Raw::eventLoop()' RXTXcomm.o: In function `gnu::io::Raw::Raw(java::lang::String*)': RXTXcomm.jar:(.text+0x967d): undefined reference to `hidden alias for int gnu::io::Raw::open(int)' RXTXcomm.o: In function `void gnu::io::Raw::setRawPortParams(int, int, int, int)': RXTXcomm.jar:(.text+0x9747): undefined reference to `hidden alias for void gnu::io::Raw::nativeSetRawPortParams(int, int, int, int)' RXTXcomm.o: In function `void gnu::io::Raw::setFlowControlMode(int)': RXTXcomm.jar:(.text+0x9878): undefined reference to `hidden alias for void gnu::io::Raw::setflowcontrol(int)' RXTXcomm.o: In function `void gnu::io::Raw::enableReceiveTimeout(int)': RXTXcomm.jar:(.text+0x9a31): undefined reference to `hidden alias for void gnu::io::Raw::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o: In function `bool gnu::io::Raw::isReceiveTimeoutEnabled()': RXTXcomm.jar:(.text+0x9aa9): undefined reference to `hidden alias for bool gnu::io::Raw::NativeisReceiveTimeoutEnabled()' RXTXcomm.o: In function `int gnu::io::Raw::getReceiveTimeout()': RXTXcomm.jar:(.text+0x9ad7): undefined reference to `hidden alias for int gnu::io::Raw::NativegetReceiveTimeout()' RXTXcomm.o: In function `void gnu::io::Raw::enableReceiveThreshold(int)': RXTXcomm.jar:(.text+0x9b99): undefined reference to `hidden alias for void gnu::io::Raw::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o: In function `void gnu::io::Raw::close()': RXTXcomm.jar:(.text+0xa75f): undefined reference to `hidden alias for void gnu::io::Raw::setDTR(bool)' RXTXcomm.jar:(.text+0xa796): undefined reference to `hidden alias for void gnu::io::Raw::setDSR(bool)' RXTXcomm.jar:(.text+0xa7bf): undefined reference to `hidden alias for int gnu::io::Raw::nativeClose()' RXTXcomm.o: In function `void gnu::io::Raw::access$1000(gnu::io::Raw*, int)': RXTXcomm.jar:(.text+0xa89a): undefined reference to `hidden alias for void gnu::io::Raw::writeByte(int)' RXTXcomm.o: In function `void gnu::io::Raw::access$1100(gnu::io::Raw*, JArray<char>*, int, int)': RXTXcomm.jar:(.text+0xa90b): undefined reference to `hidden alias for void gnu::io::Raw::writeArray(JArray<char>*, int, int)' RXTXcomm.o: In function `void gnu::io::Raw::access$1200(gnu::io::Raw*)': RXTXcomm.jar:(.text+0xa943): undefined reference to `hidden alias for void gnu::io::Raw::drain()' RXTXcomm.o: In function `int gnu::io::Raw::access$1400(gnu::io::Raw*)': RXTXcomm.jar:(.text+0xa9ad): undefined reference to `hidden alias for int gnu::io::Raw::readByte()' RXTXcomm.o: In function `int gnu::io::Raw::access$1700(gnu::io::Raw*, JArray<char>*, int, int)': RXTXcomm.jar:(.text+0xaa6c): undefined reference to `hidden alias for int gnu::io::Raw::readArray(JArray<char>*, int, int)' RXTXcomm.o: In function `int gnu::io::Raw::access$1800(gnu::io::Raw*)': RXTXcomm.jar:(.text+0xaaa4): undefined reference to `hidden alias for int gnu::io::Raw::nativeavailable()' RXTXcomm.o: In function `void gnu::io::Raw::__U3c_clinit__U3e_()': RXTXcomm.jar:(.text+0xaabe): undefined reference to `hidden alias for void gnu::io::Raw::Initialize()' RXTXcomm.o: In function `void gnu::io::RS485$MonitorThread::run()': RXTXcomm.jar:(.text+0xad76): undefined reference to `void gnu::io::RS485::eventLoop()' RXTXcomm.o: In function `gnu::io::RS485::RS485(java::lang::String*)': RXTXcomm.jar:(.text+0xbcf5): undefined reference to `hidden alias for int gnu::io::RS485::open(java::lang::String*)' RXTXcomm.o: In function `void gnu::io::RS485::setRS485PortParams(int, int, int, int)': RXTXcomm.jar:(.text+0xbdcb): undefined reference to `hidden alias for void gnu::io::RS485::nativeSetRS485PortParams(int, int, int, int)' RXTXcomm.o: In function `void gnu::io::RS485::setFlowControlMode(int)': RXTXcomm.jar:(.text+0xbefc): undefined reference to `hidden alias for void gnu::io::RS485::setflowcontrol(int)' RXTXcomm.o: In function `void gnu::io::RS485::enableReceiveTimeout(int)': RXTXcomm.jar:(.text+0xc0b5): undefined reference to `hidden alias for void gnu::io::RS485::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o: In function `bool gnu::io::RS485::isReceiveTimeoutEnabled()': RXTXcomm.jar:(.text+0xc12d): undefined reference to `hidden alias for bool gnu::io::RS485::NativeisReceiveTimeoutEnabled()' RXTXcomm.o: In function `int gnu::io::RS485::getReceiveTimeout()': RXTXcomm.jar:(.text+0xc15b): undefined reference to `hidden alias for int gnu::io::RS485::NativegetReceiveTimeout()' RXTXcomm.o: In function `void gnu::io::RS485::enableReceiveThreshold(int)': RXTXcomm.jar:(.text+0xc21d): undefined reference to `hidden alias for void gnu::io::RS485::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o: In function `void gnu::io::RS485::close()': RXTXcomm.jar:(.text+0xcde3): undefined reference to `hidden alias for void gnu::io::RS485::setDTR(bool)' RXTXcomm.jar:(.text+0xce1a): undefined reference to `hidden alias for void gnu::io::RS485::setDSR(bool)' RXTXcomm.jar:(.text+0xce43): undefined reference to `hidden alias for void gnu::io::RS485::nativeClose()' RXTXcomm.o: In function `void gnu::io::RS485::access$1000(gnu::io::RS485*, int)': RXTXcomm.jar:(.text+0xcf20): undefined reference to `hidden alias for void gnu::io::RS485::writeByte(int)' RXTXcomm.o: In function `void gnu::io::RS485::access$1100(gnu::io::RS485*, JArray<char>*, int, int)': RXTXcomm.jar:(.text+0xcf91): undefined reference to `hidden alias for void gnu::io::RS485::writeArray(JArray<char>*, int, int)' RXTXcomm.o: In function `void gnu::io::RS485::access$1200(gnu::io::RS485*)': RXTXcomm.jar:(.text+0xcfc9): undefined reference to `hidden alias for void gnu::io::RS485::drain()' RXTXcomm.o: In function `int gnu::io::RS485::access$1400(gnu::io::RS485*)': RXTXcomm.jar:(.text+0xd033): undefined reference to `hidden alias for int gnu::io::RS485::readByte()' RXTXcomm.o: In function `int gnu::io::RS485::access$1700(gnu::io::RS485*, JArray<char>*, int, int)': RXTXcomm.jar:(.text+0xd0f2): undefined reference to `hidden alias for int gnu::io::RS485::readArray(JArray<char>*, int, int)' RXTXcomm.o: In function `int gnu::io::RS485::access$1800(gnu::io::RS485*)': RXTXcomm.jar:(.text+0xd12a): undefined reference to `hidden alias for int gnu::io::RS485::nativeavailable()' RXTXcomm.o: In function `void gnu::io::RS485::__U3c_clinit__U3e_()': RXTXcomm.jar:(.text+0xd144): undefined reference to `hidden alias for void gnu::io::RS485::Initialize()' RXTXcomm.o: In function `JArray<java::lang::String*>* gnu::io::RXTXCommDriver::getValidPortPrefixes(JArray<java::lang::String*>*)': RXTXcomm.jar:(.text+0xd390): undefined reference to `hidden alias for bool gnu::io::RXTXCommDriver::isPortPrefixValid(java::lang::String*)' RXTXcomm.o: In function `void gnu::io::RXTXCommDriver::checkSolaris(java::lang::String*, int)': RXTXcomm.jar:(.text+0xd7c0): undefined reference to `hidden alias for bool gnu::io::RXTXCommDriver::testRead(java::lang::String*, int)' RXTXcomm.o: In function `void gnu::io::RXTXCommDriver::registerValidPorts(JArray<java::lang::String*>*, JArray<java::lang::String*>*, int)': RXTXcomm.jar:(.text+0xe2b0): undefined reference to `hidden alias for bool gnu::io::RXTXCommDriver::testRead(java::lang::String*, int)' RXTXcomm.o: In function `void gnu::io::RXTXCommDriver::initialize()': RXTXcomm.jar:(.text+0xe3a6): undefined reference to `hidden alias for java::lang::String* gnu::io::RXTXCommDriver::getDeviceDirectory()' RXTXcomm.jar:(.text+0xe467): undefined reference to `hidden alias for bool gnu::io::RXTXCommDriver::registerKnownPorts(int)' RXTXcomm.o: In function `void gnu::io::RXTXCommDriver::addSpecifiedPorts(java::lang::String*, int)': RXTXcomm.jar:(.text+0xe5db): undefined reference to `hidden alias for bool gnu::io::RXTXCommDriver::testRead(java::lang::String*, int)' RXTXcomm.o: In function `void gnu::io::RXTXCommDriver::__U3c_clinit__U3e_()': RXTXcomm.jar:(.text+0x15d8e): undefined reference to `java::lang::String* gnu::io::RXTXVersion::nativeGetVersion()' RXTXcomm.jar:(.text+0x15dbc): undefined reference to `hidden alias for java::lang::String* gnu::io::RXTXCommDriver::nativeGetVersion()' RXTXcomm.o: In function `void gnu::io::RXTXPort$MonitorThread::run()': RXTXcomm.jar:(.text+0x163d2): undefined reference to `void gnu::io::RXTXPort::eventLoop()' RXTXcomm.o: In function `int gnu::io::RXTXPort$SerialInputStream::read()': RXTXcomm.jar:(.text+0x16b47): undefined reference to `int gnu::io::RXTXPort::readByte()' RXTXcomm.o: In function `int gnu::io::RXTXPort$SerialInputStream::read(JArray<char>*, int, int)': RXTXcomm.jar:(.text+0x17508): undefined reference to `int gnu::io::RXTXPort::nativeavailable()' RXTXcomm.jar:(.text+0x17841): undefined reference to `int gnu::io::RXTXPort::readArray(JArray<char>*, int, int)' RXTXcomm.o: In function `int gnu::io::RXTXPort$SerialInputStream::read(JArray<char>*, int, int, JArray<char>*)': RXTXcomm.jar:(.text+0x17ef6): undefined reference to `int gnu::io::RXTXPort::nativeavailable()' RXTXcomm.jar:(.text+0x18248): undefined reference to `int gnu::io::RXTXPort::readTerminatedArray(JArray<char>*, int, int, JArray<char>*)' RXTXcomm.o: In function `int gnu::io::RXTXPort$SerialInputStream::available()': RXTXcomm.jar:(.text+0x185cd): undefined reference to `int gnu::io::RXTXPort::nativeavailable()' RXTXcomm.o: In function `void gnu::io::RXTXPort$SerialOutputStream::write(int)': RXTXcomm.jar:(.text+0x18aa8): undefined reference to `void gnu::io::RXTXPort::writeByte(int, bool)' RXTXcomm.o: In function `void gnu::io::RXTXPort$SerialOutputStream::write(JArray<char>*)': RXTXcomm.jar:(.text+0x18ea1): undefined reference to `void gnu::io::RXTXPort::writeArray(JArray<char>*, int, int, bool)' RXTXcomm.o: In function `void gnu::io::RXTXPort$SerialOutputStream::write(JArray<char>*, int, int)': RXTXcomm.jar:(.text+0x19456): undefined reference to `void gnu::io::RXTXPort::writeArray(JArray<char>*, int, int, bool)' RXTXcomm.o: In function `void gnu::io::RXTXPort$SerialOutputStream::flush()': RXTXcomm.jar:(.text+0x19806): undefined reference to `bool gnu::io::RXTXPort::nativeDrain(bool)' RXTXcomm.o: In function `gnu::io::RXTXPort::RXTXPort(java::lang::String*)': RXTXcomm.jar:(.text+0x19d97): undefined reference to `hidden alias for int gnu::io::RXTXPort::open(java::lang::String*)' RXTXcomm.o: In function `void gnu::io::RXTXPort::setSerialPortParams(int, int, int, int)': RXTXcomm.jar:(.text+0x1a014): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetSerialPortParams(int, int, int, int)' RXTXcomm.o: In function `void gnu::io::RXTXPort::setFlowControlMode(int)': RXTXcomm.jar:(.text+0x1a4ca): undefined reference to `hidden alias for void gnu::io::RXTXPort::setflowcontrol(int)' RXTXcomm.o: In function `void gnu::io::RXTXPort::disableReceiveTimeout()': RXTXcomm.jar:(.text+0x1a637): undefined reference to `hidden alias for void gnu::io::RXTXPort::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o: In function `void gnu::io::RXTXPort::enableReceiveTimeout(int)': RXTXcomm.jar:(.text+0x1a6ec): undefined reference to `hidden alias for void gnu::io::RXTXPort::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::isReceiveTimeoutEnabled()': RXTXcomm.jar:(.text+0x1a74f): undefined reference to `hidden alias for bool gnu::io::RXTXPort::NativeisReceiveTimeoutEnabled()' RXTXcomm.o: In function `int gnu::io::RXTXPort::getReceiveTimeout()': RXTXcomm.jar:(.text+0x1a77d): undefined reference to `hidden alias for int gnu::io::RXTXPort::NativegetReceiveTimeout()' RXTXcomm.o: In function `void gnu::io::RXTXPort::enableReceiveThreshold(int)': RXTXcomm.jar:(.text+0x1a841): undefined reference to `hidden alias for void gnu::io::RXTXPort::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o: In function `void gnu::io::RXTXPort::removeEventListener()': RXTXcomm.jar:(.text+0x1b6f4): undefined reference to `hidden alias for void gnu::io::RXTXPort::interruptEventLoop()' RXTXcomm.o: In function `void gnu::io::RXTXPort::notifyOnDataAvailable(bool)': RXTXcomm.jar:(.text+0x1bb2b): undefined reference to `hidden alias for void gnu::io::RXTXPort::nativeSetEventFlag(int, int, bool)' RXTXcomm.o: In function `void gnu::io::RXTXPort::notifyOnOutputEmpty(bool)': RXTXcomm.jar:(.text+0x1bc43): undefined reference to `hidden alias for void gnu::io::RXTXPort::nativeSetEventFlag(int, int, bool)' RXTXcomm.o: In function `void gnu::io::RXTXPort::notifyOnCTS(bool)': RXTXcomm.jar:(.text+0x1bd5b): undefined reference to `hidden alias for void gnu::io::RXTXPort::nativeSetEventFlag(int, int, bool)' RXTXcomm.o: In function `void gnu::io::RXTXPort::notifyOnDSR(bool)': RXTXcomm.jar:(.text+0x1be73): undefined reference to `hidden alias for void gnu::io::RXTXPort::nativeSetEventFlag(int, int, bool)' RXTXcomm.o: In function `void gnu::io::RXTXPort::notifyOnRingIndicator(bool)': RXTXcomm.jar:(.text+0x1bf8b): undefined reference to `hidden alias for void gnu::io::RXTXPort::nativeSetEventFlag(int, int, bool)' RXTXcomm.o:RXTXcomm.jar:(.text+0x1c0a3): more undefined references to `hidden alias for void gnu::io::RXTXPort::nativeSetEventFlag(int, int, bool)' follow RXTXcomm.o: In function `void gnu::io::RXTXPort::close()': RXTXcomm.jar:(.text+0x1c70b): undefined reference to `hidden alias for void gnu::io::RXTXPort::setDTR(bool)' RXTXcomm.jar:(.text+0x1c742): undefined reference to `hidden alias for void gnu::io::RXTXPort::setDSR(bool)' RXTXcomm.jar:(.text+0x1c7e7): undefined reference to `hidden alias for void gnu::io::RXTXPort::nativeClose(java::lang::String*)' RXTXcomm.o: In function `int gnu::io::RXTXPort::staticGetBaudRate(java::lang::String*)': RXTXcomm.jar:(.text+0x1c933): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeStaticGetBaudRate(java::lang::String*)' RXTXcomm.o: In function `int gnu::io::RXTXPort::staticGetDataBits(java::lang::String*)': RXTXcomm.jar:(.text+0x1c959): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeStaticGetDataBits(java::lang::String*)' RXTXcomm.o: In function `int gnu::io::RXTXPort::staticGetParity(java::lang::String*)': RXTXcomm.jar:(.text+0x1c97f): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeStaticGetParity(java::lang::String*)' RXTXcomm.o: In function `int gnu::io::RXTXPort::staticGetStopBits(java::lang::String*)': RXTXcomm.jar:(.text+0x1c9a5): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeStaticGetStopBits(java::lang::String*)' RXTXcomm.o: In function `void gnu::io::RXTXPort::staticSetSerialPortParams(java::lang::String*, int, int, int, int)': RXTXcomm.jar:(.text+0x1ca01): undefined reference to `hidden alias for void gnu::io::RXTXPort::nativeStaticSetSerialPortParams(java::lang::String*, int, int, int, int)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::staticSetDSR(java::lang::String*, bool)': RXTXcomm.jar:(.text+0x1ca41): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticSetDSR(java::lang::String*, bool)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::staticSetDTR(java::lang::String*, bool)': RXTXcomm.jar:(.text+0x1ca83): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticSetDTR(java::lang::String*, bool)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::staticSetRTS(java::lang::String*, bool)': RXTXcomm.jar:(.text+0x1cac5): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticSetRTS(java::lang::String*, bool)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::staticIsRTS(java::lang::String*)': RXTXcomm.jar:(.text+0x1caf2): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsRTS(java::lang::String*)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::staticIsCD(java::lang::String*)': RXTXcomm.jar:(.text+0x1cb1b): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsCD(java::lang::String*)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::staticIsCTS(java::lang::String*)': RXTXcomm.jar:(.text+0x1cb44): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsCTS(java::lang::String*)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::staticIsDSR(java::lang::String*)': RXTXcomm.jar:(.text+0x1cb6d): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsDSR(java::lang::String*)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::staticIsDTR(java::lang::String*)': RXTXcomm.jar:(.text+0x1cb96): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsDTR(java::lang::String*)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::staticIsRI(java::lang::String*)': RXTXcomm.jar:(.text+0x1cbbf): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsRI(java::lang::String*)' RXTXcomm.o: In function `char gnu::io::RXTXPort::getParityErrorChar()': RXTXcomm.jar:(.text+0x1cbed): undefined reference to `hidden alias for char gnu::io::RXTXPort::nativeGetParityErrorChar()' RXTXcomm.o: In function `bool gnu::io::RXTXPort::setParityErrorChar(char)': RXTXcomm.jar:(.text+0x1cc47): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetParityErrorChar(char)' RXTXcomm.o: In function `char gnu::io::RXTXPort::getEndOfInputChar()': RXTXcomm.jar:(.text+0x1cc75): undefined reference to `hidden alias for char gnu::io::RXTXPort::nativeGetEndOfInputChar()' RXTXcomm.o: In function `bool gnu::io::RXTXPort::setEndOfInputChar(char)': RXTXcomm.jar:(.text+0x1cccf): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetEndOfInputChar(char)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::setUARTType(java::lang::String*, bool)': RXTXcomm.jar:(.text+0x1cd2a): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetUartType(java::lang::String*, bool)' RXTXcomm.o: In function `java::lang::String* gnu::io::RXTXPort::getUARTType()': RXTXcomm.jar:(.text+0x1cd5f): undefined reference to `hidden alias for java::lang::String* gnu::io::RXTXPort::nativeGetUartType()' RXTXcomm.o: In function `bool gnu::io::RXTXPort::setBaudBase(int)': RXTXcomm.jar:(.text+0x1cda4): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetBaudBase(int)' RXTXcomm.o: In function `int gnu::io::RXTXPort::getBaudBase()': RXTXcomm.jar:(.text+0x1cdd3): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeGetBaudBase()' RXTXcomm.o: In function `bool gnu::io::RXTXPort::setDivisor(int)': RXTXcomm.jar:(.text+0x1ce12): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetDivisor(int)' RXTXcomm.o: In function `int gnu::io::RXTXPort::getDivisor()': RXTXcomm.jar:(.text+0x1ce41): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeGetDivisor()' RXTXcomm.o: In function `bool gnu::io::RXTXPort::setLowLatency()': RXTXcomm.jar:(.text+0x1ce6d): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetLowLatency()' RXTXcomm.o: In function `bool gnu::io::RXTXPort::getLowLatency()': RXTXcomm.jar:(.text+0x1ce9b): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeGetLowLatency()' RXTXcomm.o: In function `bool gnu::io::RXTXPort::setCallOutHangup(bool)': RXTXcomm.jar:(.text+0x1cee3): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetCallOutHangup(bool)' RXTXcomm.o: In function `bool gnu::io::RXTXPort::getCallOutHangup()': RXTXcomm.jar:(.text+0x1cf11): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeGetCallOutHangup()' RXTXcomm.o: In function `bool gnu::io::RXTXPort::clearCommInput()': RXTXcomm.jar:(.text+0x1cf3f): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeClearCommInput()' RXTXcomm.o: In function `void gnu::io::RXTXPort::__U3c_clinit__U3e_()': RXTXcomm.jar:(.text+0x1d03c): undefined reference to `hidden alias for void gnu::io::RXTXPort::Initialize()' RXTXcomm.o:(.data+0x87c): undefined reference to `hidden alias for java::lang::String* gnu::io::CommPortIdentifier::native_psmisc_report_owner(java::lang::String*)' RXTXcomm.o:(.data+0x1fd4): undefined reference to `hidden alias for bool gnu::io::I2C::isDTR()' RXTXcomm.o:(.data+0x1fd8): undefined reference to `hidden alias for void gnu::io::I2C::setDTR(bool)' RXTXcomm.o:(.data+0x1fdc): undefined reference to `hidden alias for void gnu::io::I2C::setRTS(bool)' RXTXcomm.o:(.data+0x1fe0): undefined reference to `hidden alias for bool gnu::io::I2C::isCTS()' RXTXcomm.o:(.data+0x1fe4): undefined reference to `hidden alias for bool gnu::io::I2C::isDSR()' RXTXcomm.o:(.data+0x1fe8): undefined reference to `hidden alias for bool gnu::io::I2C::isCD()' RXTXcomm.o:(.data+0x1fec): undefined reference to `hidden alias for bool gnu::io::I2C::isRI()' RXTXcomm.o:(.data+0x1ff0): undefined reference to `hidden alias for bool gnu::io::I2C::isRTS()' RXTXcomm.o:(.data+0x1ff4): undefined reference to `hidden alias for void gnu::io::I2C::sendBreak(int)' RXTXcomm.o:(.data+0x2028): undefined reference to `hidden alias for void gnu::io::I2C::setflowcontrol(int)' RXTXcomm.o:(.data+0x202c): undefined reference to `hidden alias for int gnu::io::I2C::NativegetReceiveTimeout()' RXTXcomm.o:(.data+0x2030): undefined reference to `hidden alias for bool gnu::io::I2C::NativeisReceiveTimeoutEnabled()' RXTXcomm.o:(.data+0x2034): undefined reference to `hidden alias for void gnu::io::I2C::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o:(.data+0x2038): undefined reference to `hidden alias for void gnu::io::I2C::eventLoop()' RXTXcomm.o:(.data+0x21ec): undefined reference to `hidden alias for void gnu::io::I2C::Initialize()' RXTXcomm.o:(.data+0x2214): undefined reference to `hidden alias for int gnu::io::I2C::open(java::lang::String*)' RXTXcomm.o:(.data+0x2264): undefined reference to `hidden alias for void gnu::io::I2C::nativeSetI2CPortParams(int, int, int, int)' RXTXcomm.o:(.data+0x22f0): undefined reference to `hidden alias for void gnu::io::I2C::setflowcontrol(int)' RXTXcomm.o:(.data+0x2354): undefined reference to `hidden alias for int gnu::io::I2C::NativegetReceiveTimeout()' RXTXcomm.o:(.data+0x2368): undefined reference to `hidden alias for bool gnu::io::I2C::NativeisReceiveTimeoutEnabled()' RXTXcomm.o:(.data+0x237c): undefined reference to `hidden alias for void gnu::io::I2C::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o:(.data+0x2480): undefined reference to `hidden alias for bool gnu::io::I2C::isDTR()' RXTXcomm.o:(.data+0x2494): undefined reference to `hidden alias for void gnu::io::I2C::setDTR(bool)' RXTXcomm.o:(.data+0x24a8): undefined reference to `hidden alias for void gnu::io::I2C::setRTS(bool)' RXTXcomm.o:(.data+0x24bc): undefined reference to `hidden alias for void gnu::io::I2C::setDSR(bool)' RXTXcomm.o:(.data+0x24d0): undefined reference to `hidden alias for bool gnu::io::I2C::isCTS()' RXTXcomm.o:(.data+0x24e4): undefined reference to `hidden alias for bool gnu::io::I2C::isDSR()' RXTXcomm.o:(.data+0x24f8): undefined reference to `hidden alias for bool gnu::io::I2C::isCD()' RXTXcomm.o:(.data+0x250c): undefined reference to `hidden alias for bool gnu::io::I2C::isRI()' RXTXcomm.o:(.data+0x2520): undefined reference to `hidden alias for bool gnu::io::I2C::isRTS()' RXTXcomm.o:(.data+0x2534): undefined reference to `hidden alias for void gnu::io::I2C::sendBreak(int)' RXTXcomm.o:(.data+0x2548): undefined reference to `hidden alias for void gnu::io::I2C::writeByte(int)' RXTXcomm.o:(.data+0x255c): undefined reference to `hidden alias for void gnu::io::I2C::writeArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x2570): undefined reference to `hidden alias for void gnu::io::I2C::drain()' RXTXcomm.o:(.data+0x2584): undefined reference to `hidden alias for int gnu::io::I2C::nativeavailable()' RXTXcomm.o:(.data+0x2598): undefined reference to `hidden alias for int gnu::io::I2C::readByte()' RXTXcomm.o:(.data+0x25ac): undefined reference to `hidden alias for int gnu::io::I2C::readArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x25c0): undefined reference to `hidden alias for void gnu::io::I2C::eventLoop()' RXTXcomm.o:(.data+0x26d8): undefined reference to `hidden alias for void gnu::io::I2C::nativeClose()' RXTXcomm.o:(.data+0x3778): undefined reference to `hidden alias for void gnu::io::LPRPort::setInputBufferSize(int)' RXTXcomm.o:(.data+0x377c): undefined reference to `hidden alias for int gnu::io::LPRPort::getInputBufferSize()' RXTXcomm.o:(.data+0x3780): undefined reference to `hidden alias for void gnu::io::LPRPort::setOutputBufferSize(int)' RXTXcomm.o:(.data+0x3784): undefined reference to `hidden alias for int gnu::io::LPRPort::getOutputBufferSize()' RXTXcomm.o:(.data+0x37a8): undefined reference to `hidden alias for bool gnu::io::LPRPort::isPaperOut()' RXTXcomm.o:(.data+0x37ac): undefined reference to `hidden alias for bool gnu::io::LPRPort::isPrinterBusy()' RXTXcomm.o:(.data+0x37b0): undefined reference to `hidden alias for bool gnu::io::LPRPort::isPrinterError()' RXTXcomm.o:(.data+0x37b4): undefined reference to `hidden alias for bool gnu::io::LPRPort::isPrinterSelected()' RXTXcomm.o:(.data+0x37b8): undefined reference to `hidden alias for bool gnu::io::LPRPort::isPrinterTimedOut()' RXTXcomm.o:(.data+0x37bc): undefined reference to `hidden alias for int gnu::io::LPRPort::getOutputBufferFree()' RXTXcomm.o:(.data+0x37d0): undefined reference to `hidden alias for bool gnu::io::LPRPort::setLPRMode(int)' RXTXcomm.o:(.data+0x37d4): undefined reference to `hidden alias for void gnu::io::LPRPort::writeByte(int)' RXTXcomm.o:(.data+0x37d8): undefined reference to `hidden alias for void gnu::io::LPRPort::writeArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x37dc): undefined reference to `hidden alias for void gnu::io::LPRPort::drain()' RXTXcomm.o:(.data+0x37e0): undefined reference to `hidden alias for int gnu::io::LPRPort::nativeavailable()' RXTXcomm.o:(.data+0x37e4): undefined reference to `hidden alias for int gnu::io::LPRPort::readByte()' RXTXcomm.o:(.data+0x37e8): undefined reference to `hidden alias for int gnu::io::LPRPort::readArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x37ec): undefined reference to `hidden alias for void gnu::io::LPRPort::eventLoop()' RXTXcomm.o:(.data+0x390c): undefined reference to `hidden alias for void gnu::io::LPRPort::Initialize()' RXTXcomm.o:(.data+0x3934): undefined reference to `hidden alias for int gnu::io::LPRPort::open(java::lang::String*)' RXTXcomm.o:(.data+0x39c0): undefined reference to `hidden alias for bool gnu::io::LPRPort::setLPRMode(int)' RXTXcomm.o:(.data+0x39d4): undefined reference to `hidden alias for bool gnu::io::LPRPort::isPaperOut()' RXTXcomm.o:(.data+0x39e8): undefined reference to `hidden alias for bool gnu::io::LPRPort::isPrinterBusy()' RXTXcomm.o:(.data+0x39fc): undefined reference to `hidden alias for bool gnu::io::LPRPort::isPrinterError()' RXTXcomm.o:(.data+0x3a10): undefined reference to `hidden alias for bool gnu::io::LPRPort::isPrinterSelected()' RXTXcomm.o:(.data+0x3a24): undefined reference to `hidden alias for bool gnu::io::LPRPort::isPrinterTimedOut()' RXTXcomm.o:(.data+0x3a38): undefined reference to `hidden alias for void gnu::io::LPRPort::nativeClose()' RXTXcomm.o:(.data+0x3b50): undefined reference to `hidden alias for void gnu::io::LPRPort::setInputBufferSize(int)' RXTXcomm.o:(.data+0x3b64): undefined reference to `hidden alias for int gnu::io::LPRPort::getInputBufferSize()' RXTXcomm.o:(.data+0x3b78): undefined reference to `hidden alias for void gnu::io::LPRPort::setOutputBufferSize(int)' RXTXcomm.o:(.data+0x3b8c): undefined reference to `hidden alias for int gnu::io::LPRPort::getOutputBufferSize()' RXTXcomm.o:(.data+0x3ba0): undefined reference to `hidden alias for int gnu::io::LPRPort::getOutputBufferFree()' RXTXcomm.o:(.data+0x3bb4): undefined reference to `hidden alias for void gnu::io::LPRPort::writeByte(int)' RXTXcomm.o:(.data+0x3bc8): undefined reference to `hidden alias for void gnu::io::LPRPort::writeArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x3bdc): undefined reference to `hidden alias for void gnu::io::LPRPort::drain()' RXTXcomm.o:(.data+0x3bf0): undefined reference to `hidden alias for int gnu::io::LPRPort::nativeavailable()' RXTXcomm.o:(.data+0x3c04): undefined reference to `hidden alias for int gnu::io::LPRPort::readByte()' RXTXcomm.o:(.data+0x3c18): undefined reference to `hidden alias for int gnu::io::LPRPort::readArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x3c2c): undefined reference to `hidden alias for void gnu::io::LPRPort::eventLoop()' RXTXcomm.o:(.data+0x4e9c): undefined reference to `hidden alias for void gnu::io::Raw::setflowcontrol(int)' RXTXcomm.o:(.data+0x4ea0): undefined reference to `hidden alias for int gnu::io::Raw::NativegetReceiveTimeout()' RXTXcomm.o:(.data+0x4ea4): undefined reference to `hidden alias for bool gnu::io::Raw::NativeisReceiveTimeoutEnabled()' RXTXcomm.o:(.data+0x4ea8): undefined reference to `hidden alias for void gnu::io::Raw::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o:(.data+0x4eac): undefined reference to `hidden alias for bool gnu::io::Raw::isDTR()' RXTXcomm.o:(.data+0x4eb0): undefined reference to `hidden alias for void gnu::io::Raw::setDTR(bool)' RXTXcomm.o:(.data+0x4eb4): undefined reference to `hidden alias for void gnu::io::Raw::setRTS(bool)' RXTXcomm.o:(.data+0x4eb8): undefined reference to `hidden alias for bool gnu::io::Raw::isCTS()' RXTXcomm.o:(.data+0x4ebc): undefined reference to `hidden alias for bool gnu::io::Raw::isDSR()' RXTXcomm.o:(.data+0x4ec0): undefined reference to `hidden alias for bool gnu::io::Raw::isCD()' RXTXcomm.o:(.data+0x4ec4): undefined reference to `hidden alias for bool gnu::io::Raw::isRI()' RXTXcomm.o:(.data+0x4ec8): undefined reference to `hidden alias for bool gnu::io::Raw::isRTS()' RXTXcomm.o:(.data+0x4ecc): undefined reference to `hidden alias for void gnu::io::Raw::sendBreak(int)' RXTXcomm.o:(.data+0x4ed0): undefined reference to `hidden alias for void gnu::io::Raw::eventLoop()' RXTXcomm.o:(.data+0x50cc): undefined reference to `hidden alias for void gnu::io::Raw::Initialize()' RXTXcomm.o:(.data+0x50f4): undefined reference to `hidden alias for int gnu::io::Raw::open(int)' RXTXcomm.o:(.data+0x5144): undefined reference to `hidden alias for void gnu::io::Raw::nativeSetRawPortParams(int, int, int, int)' RXTXcomm.o:(.data+0x51d0): undefined reference to `hidden alias for void gnu::io::Raw::setflowcontrol(int)' RXTXcomm.o:(.data+0x5234): undefined reference to `hidden alias for int gnu::io::Raw::NativegetReceiveTimeout()' RXTXcomm.o:(.data+0x5248): undefined reference to `hidden alias for bool gnu::io::Raw::NativeisReceiveTimeoutEnabled()' RXTXcomm.o:(.data+0x525c): undefined reference to `hidden alias for void gnu::io::Raw::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o:(.data+0x5360): undefined reference to `hidden alias for bool gnu::io::Raw::isDTR()' RXTXcomm.o:(.data+0x5374): undefined reference to `hidden alias for void gnu::io::Raw::setDTR(bool)' RXTXcomm.o:(.data+0x5388): undefined reference to `hidden alias for void gnu::io::Raw::setRTS(bool)' RXTXcomm.o:(.data+0x539c): undefined reference to `hidden alias for void gnu::io::Raw::setDSR(bool)' RXTXcomm.o:(.data+0x53b0): undefined reference to `hidden alias for bool gnu::io::Raw::isCTS()' RXTXcomm.o:(.data+0x53c4): undefined reference to `hidden alias for bool gnu::io::Raw::isDSR()' RXTXcomm.o:(.data+0x53d8): undefined reference to `hidden alias for bool gnu::io::Raw::isCD()' RXTXcomm.o:(.data+0x53ec): undefined reference to `hidden alias for bool gnu::io::Raw::isRI()' RXTXcomm.o:(.data+0x5400): undefined reference to `hidden alias for bool gnu::io::Raw::isRTS()' RXTXcomm.o:(.data+0x5414): undefined reference to `hidden alias for void gnu::io::Raw::sendBreak(int)' RXTXcomm.o:(.data+0x5428): undefined reference to `hidden alias for void gnu::io::Raw::writeByte(int)' RXTXcomm.o:(.data+0x543c): undefined reference to `hidden alias for void gnu::io::Raw::writeArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x5450): undefined reference to `hidden alias for void gnu::io::Raw::drain()' RXTXcomm.o:(.data+0x5464): undefined reference to `hidden alias for int gnu::io::Raw::nativeavailable()' RXTXcomm.o:(.data+0x5478): undefined reference to `hidden alias for int gnu::io::Raw::readByte()' RXTXcomm.o:(.data+0x548c): undefined reference to `hidden alias for int gnu::io::Raw::readArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x54a0): undefined reference to `hidden alias for void gnu::io::Raw::eventLoop()' RXTXcomm.o:(.data+0x55b8): undefined reference to `hidden alias for int gnu::io::Raw::nativeClose()' RXTXcomm.o:(.data+0x6654): undefined reference to `hidden alias for bool gnu::io::RS485::isDTR()' RXTXcomm.o:(.data+0x6658): undefined reference to `hidden alias for void gnu::io::RS485::setDTR(bool)' RXTXcomm.o:(.data+0x665c): undefined reference to `hidden alias for void gnu::io::RS485::setRTS(bool)' RXTXcomm.o:(.data+0x6660): undefined reference to `hidden alias for bool gnu::io::RS485::isCTS()' RXTXcomm.o:(.data+0x6664): undefined reference to `hidden alias for bool gnu::io::RS485::isDSR()' RXTXcomm.o:(.data+0x6668): undefined reference to `hidden alias for bool gnu::io::RS485::isCD()' RXTXcomm.o:(.data+0x666c): undefined reference to `hidden alias for bool gnu::io::RS485::isRI()' RXTXcomm.o:(.data+0x6670): undefined reference to `hidden alias for bool gnu::io::RS485::isRTS()' RXTXcomm.o:(.data+0x6674): undefined reference to `hidden alias for void gnu::io::RS485::sendBreak(int)' RXTXcomm.o:(.data+0x66a8): undefined reference to `hidden alias for void gnu::io::RS485::setflowcontrol(int)' RXTXcomm.o:(.data+0x66ac): undefined reference to `hidden alias for int gnu::io::RS485::NativegetReceiveTimeout()' RXTXcomm.o:(.data+0x66b0): undefined reference to `hidden alias for bool gnu::io::RS485::NativeisReceiveTimeoutEnabled()' RXTXcomm.o:(.data+0x66b4): undefined reference to `hidden alias for void gnu::io::RS485::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o:(.data+0x66b8): undefined reference to `hidden alias for void gnu::io::RS485::eventLoop()' RXTXcomm.o:(.data+0x686c): undefined reference to `hidden alias for void gnu::io::RS485::Initialize()' RXTXcomm.o:(.data+0x6894): undefined reference to `hidden alias for int gnu::io::RS485::open(java::lang::String*)' RXTXcomm.o:(.data+0x68e4): undefined reference to `hidden alias for void gnu::io::RS485::nativeSetRS485PortParams(int, int, int, int)' RXTXcomm.o:(.data+0x6970): undefined reference to `hidden alias for void gnu::io::RS485::setflowcontrol(int)' RXTXcomm.o:(.data+0x69d4): undefined reference to `hidden alias for int gnu::io::RS485::NativegetReceiveTimeout()' RXTXcomm.o:(.data+0x69e8): undefined reference to `hidden alias for bool gnu::io::RS485::NativeisReceiveTimeoutEnabled()' RXTXcomm.o:(.data+0x69fc): undefined reference to `hidden alias for void gnu::io::RS485::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o:(.data+0x6b00): undefined reference to `hidden alias for bool gnu::io::RS485::isDTR()' RXTXcomm.o:(.data+0x6b14): undefined reference to `hidden alias for void gnu::io::RS485::setDTR(bool)' RXTXcomm.o:(.data+0x6b28): undefined reference to `hidden alias for void gnu::io::RS485::setRTS(bool)' RXTXcomm.o:(.data+0x6b3c): undefined reference to `hidden alias for void gnu::io::RS485::setDSR(bool)' RXTXcomm.o:(.data+0x6b50): undefined reference to `hidden alias for bool gnu::io::RS485::isCTS()' RXTXcomm.o:(.data+0x6b64): undefined reference to `hidden alias for bool gnu::io::RS485::isDSR()' RXTXcomm.o:(.data+0x6b78): undefined reference to `hidden alias for bool gnu::io::RS485::isCD()' RXTXcomm.o:(.data+0x6b8c): undefined reference to `hidden alias for bool gnu::io::RS485::isRI()' RXTXcomm.o:(.data+0x6ba0): undefined reference to `hidden alias for bool gnu::io::RS485::isRTS()' RXTXcomm.o:(.data+0x6bb4): undefined reference to `hidden alias for void gnu::io::RS485::sendBreak(int)' RXTXcomm.o:(.data+0x6bc8): undefined reference to `hidden alias for void gnu::io::RS485::writeByte(int)' RXTXcomm.o:(.data+0x6bdc): undefined reference to `hidden alias for void gnu::io::RS485::writeArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x6bf0): undefined reference to `hidden alias for void gnu::io::RS485::drain()' RXTXcomm.o:(.data+0x6c04): undefined reference to `hidden alias for int gnu::io::RS485::nativeavailable()' RXTXcomm.o:(.data+0x6c18): undefined reference to `hidden alias for int gnu::io::RS485::readByte()' RXTXcomm.o:(.data+0x6c2c): undefined reference to `hidden alias for int gnu::io::RS485::readArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x6c40): undefined reference to `hidden alias for void gnu::io::RS485::eventLoop()' RXTXcomm.o:(.data+0x6d58): undefined reference to `hidden alias for void gnu::io::RS485::nativeClose()' RXTXcomm.o:(.data+0x7880): undefined reference to `hidden alias for bool gnu::io::RXTXCommDriver::registerKnownPorts(int)' RXTXcomm.o:(.data+0x7894): undefined reference to `hidden alias for bool gnu::io::RXTXCommDriver::isPortPrefixValid(java::lang::String*)' RXTXcomm.o:(.data+0x78a8): undefined reference to `hidden alias for bool gnu::io::RXTXCommDriver::testRead(java::lang::String*, int)' RXTXcomm.o:(.data+0x78bc): undefined reference to `hidden alias for java::lang::String* gnu::io::RXTXCommDriver::getDeviceDirectory()' RXTXcomm.o:(.data+0x78d0): undefined reference to `hidden alias for java::lang::String* gnu::io::RXTXCommDriver::nativeGetVersion()' RXTXcomm.o:(.data+0x85b4): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isDTR()' RXTXcomm.o:(.data+0x85b8): undefined reference to `hidden alias for void gnu::io::RXTXPort::setDTR(bool)' RXTXcomm.o:(.data+0x85bc): undefined reference to `hidden alias for void gnu::io::RXTXPort::setRTS(bool)' RXTXcomm.o:(.data+0x85c0): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isCTS()' RXTXcomm.o:(.data+0x85c4): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isDSR()' RXTXcomm.o:(.data+0x85c8): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isCD()' RXTXcomm.o:(.data+0x85cc): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isRI()' RXTXcomm.o:(.data+0x85d0): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isRTS()' RXTXcomm.o:(.data+0x85d4): undefined reference to `hidden alias for void gnu::io::RXTXPort::sendBreak(int)' RXTXcomm.o:(.data+0x8640): undefined reference to `hidden alias for void gnu::io::RXTXPort::setflowcontrol(int)' RXTXcomm.o:(.data+0x8644): undefined reference to `hidden alias for int gnu::io::RXTXPort::NativegetReceiveTimeout()' RXTXcomm.o:(.data+0x8648): undefined reference to `hidden alias for void gnu::io::RXTXPort::writeByte(int, bool)' RXTXcomm.o:(.data+0x864c): undefined reference to `hidden alias for void gnu::io::RXTXPort::writeArray(JArray<char>*, int, int, bool)' RXTXcomm.o:(.data+0x8650): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeDrain(bool)' RXTXcomm.o:(.data+0x8654): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeavailable()' RXTXcomm.o:(.data+0x8658): undefined reference to `hidden alias for int gnu::io::RXTXPort::readByte()' RXTXcomm.o:(.data+0x865c): undefined reference to `hidden alias for int gnu::io::RXTXPort::readArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x8660): undefined reference to `hidden alias for int gnu::io::RXTXPort::readTerminatedArray(JArray<char>*, int, int, JArray<char>*)' RXTXcomm.o:(.data+0x8664): undefined reference to `hidden alias for void gnu::io::RXTXPort::eventLoop()' RXTXcomm.o:(.data+0x8678): undefined reference to `hidden alias for java::lang::String* gnu::io::RXTXPort::nativeGetUartType()' RXTXcomm.o:(.data+0x8aac): undefined reference to `hidden alias for void gnu::io::RXTXPort::Initialize()' RXTXcomm.o:(.data+0x8ad4): undefined reference to `hidden alias for int gnu::io::RXTXPort::open(java::lang::String*)' RXTXcomm.o:(.data+0x8b10): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeGetParity(int)' RXTXcomm.o:(.data+0x8b24): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeGetFlowControlMode(int)' RXTXcomm.o:(.data+0x8b4c): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetSerialPortParams(int, int, int, int)' RXTXcomm.o:(.data+0x8bd8): undefined reference to `hidden alias for void gnu::io::RXTXPort::setflowcontrol(int)' RXTXcomm.o:(.data+0x8c3c): undefined reference to `hidden alias for int gnu::io::RXTXPort::NativegetReceiveTimeout()' RXTXcomm.o:(.data+0x8c50): undefined reference to `hidden alias for bool gnu::io::RXTXPort::NativeisReceiveTimeoutEnabled()' RXTXcomm.o:(.data+0x8c64): undefined reference to `hidden alias for void gnu::io::RXTXPort::NativeEnableReceiveTimeoutThreshold(int, int, int)' RXTXcomm.o:(.data+0x8d68): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isDTR()' RXTXcomm.o:(.data+0x8d7c): undefined reference to `hidden alias for void gnu::io::RXTXPort::setDTR(bool)' RXTXcomm.o:(.data+0x8d90): undefined reference to `hidden alias for void gnu::io::RXTXPort::setRTS(bool)' RXTXcomm.o:(.data+0x8da4): undefined reference to `hidden alias for void gnu::io::RXTXPort::setDSR(bool)' RXTXcomm.o:(.data+0x8db8): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isCTS()' RXTXcomm.o:(.data+0x8dcc): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isDSR()' RXTXcomm.o:(.data+0x8de0): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isCD()' RXTXcomm.o:(.data+0x8df4): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isRI()' RXTXcomm.o:(.data+0x8e08): undefined reference to `hidden alias for bool gnu::io::RXTXPort::isRTS()' RXTXcomm.o:(.data+0x8e1c): undefined reference to `hidden alias for void gnu::io::RXTXPort::sendBreak(int)' RXTXcomm.o:(.data+0x8e30): undefined reference to `hidden alias for void gnu::io::RXTXPort::writeByte(int, bool)' RXTXcomm.o:(.data+0x8e44): undefined reference to `hidden alias for void gnu::io::RXTXPort::writeArray(JArray<char>*, int, int, bool)' RXTXcomm.o:(.data+0x8e58): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeDrain(bool)' RXTXcomm.o:(.data+0x8e6c): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeavailable()' RXTXcomm.o:(.data+0x8e80): undefined reference to `hidden alias for int gnu::io::RXTXPort::readByte()' RXTXcomm.o:(.data+0x8e94): undefined reference to `hidden alias for int gnu::io::RXTXPort::readArray(JArray<char>*, int, int)' RXTXcomm.o:(.data+0x8ea8): undefined reference to `hidden alias for int gnu::io::RXTXPort::readTerminatedArray(JArray<char>*, int, int, JArray<char>*)' RXTXcomm.o:(.data+0x8ebc): undefined reference to `hidden alias for void gnu::io::RXTXPort::eventLoop()' RXTXcomm.o:(.data+0x8ed0): undefined reference to `hidden alias for void gnu::io::RXTXPort::interruptEventLoop()' RXTXcomm.o:(.data+0x8f48): undefined reference to `hidden alias for void gnu::io::RXTXPort::nativeSetEventFlag(int, int, bool)' RXTXcomm.o:(.data+0x9024): undefined reference to `hidden alias for void gnu::io::RXTXPort::nativeClose(java::lang::String*)' RXTXcomm.o:(.data+0x9074): undefined reference to `hidden alias for void gnu::io::RXTXPort::nativeStaticSetSerialPortParams(java::lang::String*, int, int, int, int)' RXTXcomm.o:(.data+0x9088): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticSetDSR(java::lang::String*, bool)' RXTXcomm.o:(.data+0x909c): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticSetDTR(java::lang::String*, bool)' RXTXcomm.o:(.data+0x90b0): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticSetRTS(java::lang::String*, bool)' RXTXcomm.o:(.data+0x90c4): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsDSR(java::lang::String*)' RXTXcomm.o:(.data+0x90d8): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsDTR(java::lang::String*)' RXTXcomm.o:(.data+0x90ec): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsRTS(java::lang::String*)' RXTXcomm.o:(.data+0x9100): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsCTS(java::lang::String*)' RXTXcomm.o:(.data+0x9114): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsCD(java::lang::String*)' RXTXcomm.o:(.data+0x9128): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeStaticIsRI(java::lang::String*)' RXTXcomm.o:(.data+0x913c): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeStaticGetBaudRate(java::lang::String*)' RXTXcomm.o:(.data+0x9150): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeStaticGetDataBits(java::lang::String*)' RXTXcomm.o:(.data+0x9164): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeStaticGetParity(java::lang::String*)' RXTXcomm.o:(.data+0x9178): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeStaticGetStopBits(java::lang::String*)' RXTXcomm.o:(.data+0x918c): undefined reference to `hidden alias for char gnu::io::RXTXPort::nativeGetParityErrorChar()' RXTXcomm.o:(.data+0x91a0): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetParityErrorChar(char)' RXTXcomm.o:(.data+0x91b4): undefined reference to `hidden alias for char gnu::io::RXTXPort::nativeGetEndOfInputChar()' RXTXcomm.o:(.data+0x91c8): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetEndOfInputChar(char)' RXTXcomm.o:(.data+0x91dc): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetUartType(java::lang::String*, bool)' RXTXcomm.o:(.data+0x91f0): undefined reference to `hidden alias for java::lang::String* gnu::io::RXTXPort::nativeGetUartType()' RXTXcomm.o:(.data+0x9204): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetBaudBase(int)' RXTXcomm.o:(.data+0x9218): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeGetBaudBase()' RXTXcomm.o:(.data+0x922c): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetDivisor(int)' RXTXcomm.o:(.data+0x9240): undefined reference to `hidden alias for int gnu::io::RXTXPort::nativeGetDivisor()' RXTXcomm.o:(.data+0x9254): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetLowLatency()' RXTXcomm.o:(.data+0x9268): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeGetLowLatency()' RXTXcomm.o:(.data+0x927c): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeSetCallOutHangup(bool)' RXTXcomm.o:(.data+0x9290): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeGetCallOutHangup()' RXTXcomm.o:(.data+0x92a4): undefined reference to `hidden alias for bool gnu::io::RXTXPort::nativeClearCommInput()' RXTXcomm.o:(.data+0x9714): undefined reference to `hidden alias for java::lang::String* gnu::io::RXTXVersion::nativeGetVersion()' collect2: ld returned 1 exit status |
|
|
Re: Compiling jar file using gcjSwapnil Jain wrote:
> On 01-Sep-09, at 3:02 PM, Andrew Haley wrote: > >> Swapnil Jain wrote: >>> i am attaching the RXTXcomm.jar that i use >>> >>> >>> >>> >>> -------------------------------- >>> Swapnil Jain >>> Indore >>> ----------------------------------------------- >>> >>> >>> >>> On 31-Aug-09, at 4:52 PM, Andrew Haley wrote: >>> >>>> Swapnil Jain wrote: >>>>> i am using ubuntu 9.04 32 bit desktop edition. >>>>> >>>>> gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 >>>>> gcj (Ubuntu 4.3.3-5ubuntu4) 4.3.3 >>>>> java version "1.6.0_14" >>>>> Java(TM) SE Runtime Environment (build 1.6.0_14-b08) >>>>> >>>>> i created a java project using netbeans. it uses 2 libraries >>>>> RXTXcomm.jar & mysql-connector-java-5.1.7-bin.jar >>>>> >>>>> after building the project thru netbeans i get the iRemote.jar file in >>>>> the dist folder. >>>>> >>>>> i want to compile it using gcj to create a binary file. i am using the >>>>> following command >>>>> >>>>> gcj -o iRemote.sh --main=iremote.controller.Controller >>>>> --classpath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar: >>>>> iRemote.jar >>>>> RXTXcomm.jar mysql-connector-java-5.1.7-bin.jar -v >>>>> >>>>> i am getting a segmentation fault error (file attached) >>>>> >>>>> >>>>> i am also attaching strace of gcc & gcj >>>>> >>>>> >>>>> kindly let me know if any more information you need. >>>> >>>> All files. I need to know how to get the exact same versions you >>>> are using. Of course, this includes RXTXcomm.jar. >> >> You have run into a bug where gcj gets very confused if the same file >> occurs >> more than once on the command line. I need to look at a way to detect >> this >> and abort with an error message instead of segfaulting. >> >> I cannot compile your example because a chunk of native code seems to be >> missing from RXTXcomm. You need to find this. >> >> However, once you find the native code for RXTXcomm, something like >> >> <compile the RXTX native code to native.o> >> gcj -c RXTXcomm.jar -o RXTXcomm.o >> gcj -c --classpath=RXTXcomm.jar iRemote.jar -o iRemote.o >> gcj --main=iremote.controller.Controller native.o RXTXcomm.o iRemote.o >> >> should work. >> >> Andrew. > >> gcj -c RXTXcomm.jar -o RXTXcomm.o > > THIS GOES OK > >> gcj -c --classpath=RXTXcomm.jar iRemote.jar -o iRemote.o > > THIS GOES OK > >> gcj --main=iremote.controller.Controller -o native.o RXTXcomm.o iRemote.o > > again too many errors, i am attaching the error log I'll say again "a chunk of native code seems to be missing" The RXTXcomm package contains native code. You have to link it to your main program. Andrew. |
|
|
Re: Compiling jar file using gcj>>>>> "Andrew" == Andrew Haley <aph@...> writes:
>>> gcj --main=iremote.controller.Controller -o native.o RXTXcomm.o iRemote.o Andrew> I'll say again Andrew> "a chunk of native code seems to be missing" Andrew> The RXTXcomm package contains native code. You have to link it to your Andrew> main program. He probably wants -fjni in the compile commands. Tom |
|
|
Re: Compiling jar file using gcjTom Tromey wrote:
>>>>>> "Andrew" == Andrew Haley <aph@...> writes: > >>>> gcj --main=iremote.controller.Controller -o native.o RXTXcomm.o iRemote.o > > Andrew> I'll say again > Andrew> "a chunk of native code seems to be missing" > Andrew> The RXTXcomm package contains native code. You have to link it to your > Andrew> main program. > > He probably wants -fjni in the compile commands. Maybe. I've never seen the native code, so I don't know if it's JNI or CNI. Andrew. |
|
|
Re: Compiling jar file using gcjAndrew Haley wrote:
> Tom Tromey wrote: >>>>>>> "Andrew" == Andrew Haley <aph@...> writes: >>>>> gcj --main=iremote.controller.Controller -o native.o RXTXcomm.o iRemote.o >> Andrew> I'll say again >> Andrew> "a chunk of native code seems to be missing" >> Andrew> The RXTXcomm package contains native code. You have to link it to your >> Andrew> main program. >> >> He probably wants -fjni in the compile commands. > > Maybe. I've never seen the native code, so I don't know if it's JNI > or CNI. > IIRC, RXTXcomm is a standard java.comm (sp?) implementation that uses JNI and should be portable across all VMs. I think Tom is correct that -fjni will be needed. David Daney |
|
|
Re: Compiling jar file using gcjbravo,
the -fjni thing worked. Thanks a log Andrew Haley, Tom Tromey, David Daney and the forum. Thanks a lot again. -------------------------------- Swapnil Jain Indore ----------------------------------------------- http://swapnil.pisces.net.in ----------------------------------------------- On 01-Sep-09, at 9:41 PM, David Daney wrote: > Andrew Haley wrote: >> Tom Tromey wrote: >>>>>>>> "Andrew" == Andrew Haley <aph@...> writes: >>>>>> gcj --main=iremote.controller.Controller -o native.o RXTXcomm.o >>>>>> iRemote.o >>> Andrew> I'll say again >>> Andrew> "a chunk of native code seems to be missing" >>> Andrew> The RXTXcomm package contains native code. You have to >>> link it to your >>> Andrew> main program. >>> >>> He probably wants -fjni in the compile commands. >> Maybe. I've never seen the native code, so I don't know if it's JNI >> or CNI. > > IIRC, RXTXcomm is a standard java.comm (sp?) implementation that > uses JNI and should be portable across all VMs. I think Tom is > correct that -fjni will be needed. > > David Daney |
| Free embeddable forum powered by Nabble | Forum Help |