mhlkmn0108 / junixsocket

Automatically exported from code.google.com/p/junixsocket
1 stars 0 forks source link

typo error in build.xml #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.gives compiler error while building if using a cross platform gcc
compiler(ppc) as jni.h and jni_md.h cannot be located  
[echo] Compiling for architecture i386 on Linux
     [exec] In file included from
./src/main/org/newsclub/net/unix/org_newsclub_net_unix_NativeUnixSocket.c:19:
     [exec]
./src/main/org/newsclub/net/unix/org_newsclub_net_unix_NativeUnixSocket.h:2:17:
jni.h: No such file or directory
     [exec] In file included from
./src/main/org/newsclub/net/unix/org_newsclub_net_unix_NativeUnixSocket.c:19:
     [exec]
./src/main/org/newsclub/net/unix/org_newsclub_net_unix_NativeUnixSocket.h:15:
error: syntax error before "void"
     [exec]
./src/main/org/newsclub/net/unix/org_newsclub_net_unix_NativeUnixSocket.h:16:
error: parse error before '*' token
     [exec]
./src/main/org/newsclub/net/unix/org_newsclub_net_unix_NativeUnixSocket.h:16:
warning: type defaults to `int' in declaration of
`Java_org_newsclub_net_unix_NativeUnixSocket_bind'

2.
3.

What is the expected output? What do you see instead?
Should be able to locate jni header files.

What version of the product are you using? On what operating system?
junixsocket-1.1-src.tar.bz2

Please provide any additional information below.

i ported the build.xml to use our platform specific gcc compiler which is
i686-linux-gcc 3.4.4 . After i did that i started to get errors.

I fixed this by correcting a typo in the build.xml here is a small diff 

--- junixsocket-1.1.orig/build.xml
+++ junixsocket-1.1/build.xml
@@ -18,7 +18,7 @@
 <project name="junixsocket" default="dist" basedir=".">

     <property environment="env"/>
-    <property name="jdk.home=" value="${env.JAVA_HOME}" />
+    <property name="jdk.home" value="${env.JAVA_HOME}" />

     <property name="app.name" value="junixsocket" />
     <property name="app.title" value="junixsocket library" />

Original issue reported on code.google.com by koolv...@gmail.com on 6 Apr 2010 at 10:37

GoogleCodeExporter commented 9 years ago
Thanks! Committed to SVN.

Original comment by ckkohl79 on 7 Apr 2010 at 8:43

GoogleCodeExporter commented 9 years ago

Original comment by ckkohl79 on 22 Apr 2010 at 6:02