Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Problems with sh BUILD

Stefan,

I wonder if the fact that uname is returning "unknown" might have something to do with it:

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

I would think that this might be confusing the configure script so that it doesn't think you're on a linux system. Any idea why this might be happening on your system?

Greg

On Jun 1, 2009, at 1:50 PM, Stefan Gr wrote:

Hi,

I'm new at Eclipse (..and Linux at all) and have some trouble with
setting up PTP. In detail the "sh BUILD" step of :

 wiki.eclipse.org/PTP/release_notes/2.1

reports errors I cannot fix. As a result the debugger bails out on the
MPI hello world C template and reports the following:


---< Eclipse: Unhandled event loop exception >--------------------------

eclipse.buildId=M20090211-1700
java.version=1.6.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Command-line arguments:  -os linux -ws gtk -arch x86

Error
Mon Jun 01 17:40:09 CEST 2009
Unhandled event loop exception

org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
	at org.eclipse.swt.SWT.error(SWT.java:3777)
	at ...
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.NullPointerException
	at
org .eclipse .ptp.ui.model.ElementHandler.addToRegister(ElementHandler.java:54)
	at
org .eclipse .ptp .debug .ui .views .ParallelDebugViewEventHandler .doHandleDebugEvent(ParallelDebugViewEventHandler.java:78)
	at
org.eclipse.ptp.debug.internal.ui.views.AbstractPDebugViewEventHandler
$ PDebugEventWorkbenchJob .runInUIThread(AbstractPDebugViewEventHandler.java:134)
	at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at
org .eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java: 133)
	... 22 more

---</ Eclipse: Unhandled event loop exception
-------------------------


Compiling and running the example works. So I guess this is caused by
errors while building debugger and/or proxy. What follows are parts of
the config.log where (I think) something didn't work:

...
 /usr/bin/ld: cannot find -lsocket
 collect2: ld returned 1 exit status
...
 undefined reference to `openpty'
 collect2: ld returned 1 exit status
...
 /usr/bin/ld: cannot find -lposix4
 collect2: ld returned 1 exit status
...
 conftest.c:59:17: error: jni.h: No such file or directory
...
 conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
...
 configure:5412: gcc -c -g -O2 -Wall
 -I../org.eclipse.ptp.utils_2.1.2.200905110828/include
 -I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
 conftest.c: In function 'main':
 conftest.c:33: error: void value not ignored as it ought to be
...
 configure:5588: gcc -o conftest -g -O2 -Wall
 -I../org.eclipse.ptp.utils_2.1.2.200905110828/include
 -I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
 -lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
 -L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
 /tmp/ccc9lhXE.o: In function `main':
/home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/conftest.c:63:
 undefined reference to `_doprnt'
 collect2: ld returned 1 exit status
...

The full config.log can be found the end of the mail. After executing
BUILD the "bin"-directory just contains the sdm-executable..?!

So is possibly someone out there, who knows how to fix these problems
or how to work around it, to get the debugger working???

Regards
Stefan




---< sh BUILD: config.log
---------------------------------------------

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by org.eclipse.ptp.debug.sdm configure 2.1.2, which was
generated by GNU Autoconf 2.61.  Invocation command line was

 $ configure
--prefix=/home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.linux.x86_2.1.2.200905110828

## --------- ##
## Platform. ##
## --------- ##

hostname = pc
uname -m = i686
uname -r = 2.6.24-16-generic
uname -s = Linux
uname -v = #1 SMP Thu Apr 10 13:23:42 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1785: checking for a BSD-compatible install
configure:1841: result: /usr/bin/install -c
configure:1852: checking whether build environment is sane
configure:1895: result: yes
configure:1923: checking for a thread-safe mkdir -p
configure:1962: result: /bin/mkdir -p
configure:1975: checking for gawk
configure:2005: result: no
configure:1975: checking for mawk
configure:1991: found /usr/bin/mawk
configure:2002: result: mawk
configure:2013: checking whether make sets $(MAKE)
configure:2034: result: yes
configure:2231: checking build system type
configure:2249: result: i686-pc-linux-gnu
configure:2342: checking for gcc
configure:2358: found /usr/bin/gcc
configure:2369: result: gcc
configure:2607: checking for C compiler version
configure:2614: gcc --version >&5
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

configure:2617: $? = 0
configure:2624: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c
++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-targets=all --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configure:2627: $? = 0
configure:2634: gcc -V >&5
gcc: '-V' option must have argument
configure:2637: $? = 1
configure:2660: checking for C compiler default output file name
configure:2687: gcc    conftest.c  >&5
configure:2690: $? = 0
configure:2728: result: a.out
configure:2745: checking whether the C compiler works
configure:2755: ./a.out
configure:2758: $? = 0
configure:2775: result: yes
configure:2782: checking whether we are cross compiling
configure:2784: result: no
configure:2787: checking for suffix of executables
configure:2794: gcc -o conftest    conftest.c  >&5
configure:2797: $? = 0
configure:2821: result:
configure:2827: checking for suffix of object files
configure:2853: gcc -c   conftest.c >&5
configure:2856: $? = 0
configure:2879: result: o
configure:2883: checking whether we are using the GNU C compiler
configure:2912: gcc -c   conftest.c >&5
configure:2918: $? = 0
configure:2935: result: yes
configure:2940: checking whether gcc accepts -g
configure:2970: gcc -c -g  conftest.c >&5
configure:2976: $? = 0
configure:3075: result: yes
configure:3092: checking for gcc option to accept ISO C89
configure:3166: gcc  -c -g -O2  conftest.c >&5
configure:3172: $? = 0
configure:3195: result: none needed
configure:3224: checking for style of include used by make
configure:3252: result: GNU
configure:3277: checking dependency style of gcc
configure:3368: result: gcc3
configure:3384: checking whether gcc and cc understand -c and -o
together
configure:3419: gcc -c conftest.c -o conftest2.o >&5
configure:3422: $? = 0
configure:3428: gcc -c conftest.c -o conftest2.o >&5
configure:3431: $? = 0
configure:3442: cc -c conftest.c >&5
configure:3445: $? = 0
configure:3453: cc -c conftest.c -o conftest2.o >&5
configure:3456: $? = 0
configure:3462: cc -c conftest.c -o conftest2.o >&5
configure:3465: $? = 0
configure:3483: result: yes
configure:3522: checking for a BSD-compatible install
configure:3578: result: /usr/bin/install -c
configure:3589: checking whether make sets $(MAKE)
configure:3610: result: yes
configure:3662: checking for ranlib
configure:3678: found /usr/bin/ranlib
configure:3689: result: ranlib
configure:3729: checking for gethostbyname in -lnsl
configure:3764: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include conftest.c - lnsl
-L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:3770: $? = 0
configure:3788: result: yes
configure:3800: checking for socket in -lsocket
configure:3835: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lsocket  -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
configure:3841: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "org.eclipse.ptp.debug.sdm"
| #define PACKAGE_TARNAME "org-eclipse-ptp-debug-sdm"
| #define PACKAGE_VERSION "2.1.2"
| #define PACKAGE_STRING "org.eclipse.ptp.debug.sdm 2.1.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "org-eclipse-ptp-debug-sdm"
| #define VERSION "2.1.2"
| #define HAVE_LIBNSL 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char socket ();
| int
| main ()
| {
| return socket ();
|   ;
|   return 0;
| }
configure:3859: result: no
configure:3870: checking for library containing openpty
configure:3911: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include conftest.c - lnsl
-L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
/tmp/ccIN6CV4.o: In function `main':
/home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/conftest.c:22: undefined reference to `openpty'
collect2: ld returned 1 exit status
configure:3917: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "org.eclipse.ptp.debug.sdm"
| #define PACKAGE_TARNAME "org-eclipse-ptp-debug-sdm"
| #define PACKAGE_VERSION "2.1.2"
| #define PACKAGE_STRING "org.eclipse.ptp.debug.sdm 2.1.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "org-eclipse-ptp-debug-sdm"
| #define VERSION "2.1.2"
| #define HAVE_LIBNSL 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char openpty ();
| int
| main ()
| {
| return openpty ();
|   ;
|   return 0;
| }
configure:3911: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutil  -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:3917: $? = 0
configure:3945: result: -lutil
configure:3958: checking for bitset_new in -lutils
configure:3993: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils  -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:3999: $? = 0
configure:4017: result: yes
configure:4028: checking for proxy_svr_init in -lproxysvr
configure:4063: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lproxysvr  -lutils -lutil -lnsl
-L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:4069: $? = 0
configure:4087: result: yes
configure:4094: checking for proxy_clnt_init in -lproxyclnt
configure:4129: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lproxyclnt  -lutils -lutil -lnsl
-L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:4135: $? = 0
configure:4153: result: yes
configure:4162: checking for clock_gettime in -lposix4
configure:4197: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lposix4  -lutils -lutil -lnsl
-L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
/usr/bin/ld: cannot find -lposix4
collect2: ld returned 1 exit status
configure:4203: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "org.eclipse.ptp.debug.sdm"
| #define PACKAGE_TARNAME "org-eclipse-ptp-debug-sdm"
| #define PACKAGE_VERSION "2.1.2"
| #define PACKAGE_STRING "org.eclipse.ptp.debug.sdm 2.1.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "org-eclipse-ptp-debug-sdm"
| #define VERSION "2.1.2"
| #define HAVE_LIBNSL 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTILS 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char clock_gettime ();
| int
| main ()
| {
| return clock_gettime ();
|   ;
|   return 0;
| }
configure:4221: result: no
configure:4247: checking how to run the C preprocessor
configure:4287: gcc -E  conftest.c
configure:4293: $? = 0
configure:4324: gcc -E  conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4330: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "org.eclipse.ptp.debug.sdm"
| #define PACKAGE_TARNAME "org-eclipse-ptp-debug-sdm"
| #define PACKAGE_VERSION "2.1.2"
| #define PACKAGE_STRING "org.eclipse.ptp.debug.sdm 2.1.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "org-eclipse-ptp-debug-sdm"
| #define VERSION "2.1.2"
| #define HAVE_LIBNSL 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTILS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4363: result: gcc -E
configure:4392: gcc -E  conftest.c
configure:4398: $? = 0
configure:4429: gcc -E  conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4435: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "org.eclipse.ptp.debug.sdm"
| #define PACKAGE_TARNAME "org-eclipse-ptp-debug-sdm"
| #define PACKAGE_VERSION "2.1.2"
| #define PACKAGE_STRING "org.eclipse.ptp.debug.sdm 2.1.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "org-eclipse-ptp-debug-sdm"
| #define VERSION "2.1.2"
| #define HAVE_LIBNSL 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTILS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4473: checking for grep that handles long lines and -e
configure:4547: result: /bin/grep
configure:4552: checking for egrep
configure:4630: result: /bin/grep -E
configure:4635: checking for ANSI C header files
configure:4665: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4671: $? = 0
configure:4770: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:4773: $? = 0
configure:4779: ./conftest
configure:4782: $? = 0
configure:4799: result: yes
configure:4823: checking for sys/types.h
configure:4844: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4850: $? = 0
configure:4866: result: yes
configure:4823: checking for sys/stat.h
configure:4844: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4850: $? = 0
configure:4866: result: yes
configure:4823: checking for stdlib.h
configure:4844: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4850: $? = 0
configure:4866: result: yes
configure:4823: checking for string.h
configure:4844: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4850: $? = 0
configure:4866: result: yes
configure:4823: checking for memory.h
configure:4844: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4850: $? = 0
configure:4866: result: yes
configure:4823: checking for strings.h
configure:4844: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4850: $? = 0
configure:4866: result: yes
configure:4823: checking for inttypes.h
configure:4844: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4850: $? = 0
configure:4866: result: yes
configure:4823: checking for stdint.h
configure:4844: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4850: $? = 0
configure:4866: result: yes
configure:4823: checking for unistd.h
configure:4844: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4850: $? = 0
configure:4866: result: yes
configure:4885: checking for strings.h
configure:4891: result: yes
configure:4895: checking sys/time.h usability
configure:4912: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:4918: $? = 0
configure:4932: result: yes
configure:4936: checking sys/time.h presence
configure:4951: gcc -E  conftest.c
configure:4957: $? = 0
configure:4971: result: yes
configure:4999: checking for sys/time.h
configure:5007: result: yes
configure:4885: checking for unistd.h
configure:4891: result: yes
configure:5035: checking jni.h usability
configure:5052: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
conftest.c:59:17: error: jni.h: No such file or directory
configure:5058: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "org.eclipse.ptp.debug.sdm"
| #define PACKAGE_TARNAME "org-eclipse-ptp-debug-sdm"
| #define PACKAGE_VERSION "2.1.2"
| #define PACKAGE_STRING "org.eclipse.ptp.debug.sdm 2.1.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "org-eclipse-ptp-debug-sdm"
| #define VERSION "2.1.2"
| #define HAVE_LIBNSL 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTILS 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <jni.h>
configure:5072: result: no
configure:5076: checking jni.h presence
configure:5091: gcc -E  conftest.c
conftest.c:26:17: error: jni.h: No such file or directory
configure:5097: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "org.eclipse.ptp.debug.sdm"
| #define PACKAGE_TARNAME "org-eclipse-ptp-debug-sdm"
| #define PACKAGE_VERSION "2.1.2"
| #define PACKAGE_STRING "org.eclipse.ptp.debug.sdm 2.1.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "org-eclipse-ptp-debug-sdm"
| #define VERSION "2.1.2"
| #define HAVE_LIBNSL 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTILS 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <jni.h>
configure:5111: result: no
configure:5139: checking for jni.h
configure:5147: result: no
configure:5170: checking whether time.h and sys/time.h may both be
included
configure:5200: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:5206: $? = 0
configure:5221: result: yes
configure:5231: checking whether struct tm is in sys/time.h or time.h
configure:5261: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
configure:5267: $? = 0
configure:5282: result: time.h
configure:5294: checking for working memcmp
configure:5347: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:5350: $? = 0
configure:5356: ./conftest
configure:5359: $? = 0
configure:5375: result: yes
configure:5384: checking return type of signal handlers
configure:5412: gcc -c -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include  conftest.c >&5
conftest.c: In function 'main':
conftest.c:33: error: void value not ignored as it ought to be
configure:5418: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "org.eclipse.ptp.debug.sdm"
| #define PACKAGE_TARNAME "org-eclipse-ptp-debug-sdm"
| #define PACKAGE_VERSION "2.1.2"
| #define PACKAGE_STRING "org.eclipse.ptp.debug.sdm 2.1.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "org-eclipse-ptp-debug-sdm"
| #define VERSION "2.1.2"
| #define HAVE_LIBNSL 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTILS 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <signal.h>
|
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
|   ;
|   return 0;
| }
configure:5433: result: void
configure:5445: checking for vprintf
configure:5501: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
conftest.c:51: warning: conflicting types for built-in function
'vprintf'
configure:5507: $? = 0
configure:5525: result: yes
configure:5532: checking for _doprnt
configure:5588: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
/tmp/ccc9lhXE.o: In function `main':
/home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/conftest.c:63: undefined reference to `_doprnt'
collect2: ld returned 1 exit status
configure:5594: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "org.eclipse.ptp.debug.sdm"
| #define PACKAGE_TARNAME "org-eclipse-ptp-debug-sdm"
| #define PACKAGE_VERSION "2.1.2"
| #define PACKAGE_STRING "org.eclipse.ptp.debug.sdm 2.1.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "org-eclipse-ptp-debug-sdm"
| #define VERSION "2.1.2"
| #define HAVE_LIBNSL 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTILS 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_VPRINTF 1
| /* end confdefs.h.  */
| /* Define _doprnt to an innocuous variant, in case <limits.h> declares
_doprnt.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define _doprnt innocuous__doprnt
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char _doprnt (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef _doprnt
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char _doprnt ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub__doprnt || defined __stub____doprnt
| choke me
| #endif
|
| int
| main ()
| {
| return _doprnt ();
|   ;
|   return 0;
| }
configure:5611: result: no
configure:5636: checking for gethostname
configure:5692: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:5698: $? = 0
configure:5716: result: yes
configure:5636: checking for select
configure:5692: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:5698: $? = 0
configure:5716: result: yes
configure:5636: checking for strdup
configure:5692: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
conftest.c:54: warning: conflicting types for built-in function 'strdup'
configure:5698: $? = 0
configure:5716: result: yes
configure:5636: checking for strstr
configure:5692: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
conftest.c:55: warning: conflicting types for built-in function 'strstr'
configure:5698: $? = 0
configure:5716: result: yes
configure:5636: checking for strtoul
configure:5692: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:5698: $? = 0
configure:5716: result: yes
configure:5636: checking for sigset
configure:5692: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:5698: $? = 0
configure:5716: result: yes
configure:5636: checking for sighold
configure:5692: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:5698: $? = 0
configure:5716: result: yes
configure:5636: checking for sigrelse
configure:5692: gcc -o conftest -g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include   conftest.c
-lutils -lutil -lnsl  -L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828 >&5
configure:5698: $? = 0
configure:5716: result: yes
configure:5855: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by org.eclipse.ptp.debug.sdm config.status 2.1.2,
which was
generated by GNU Autoconf 2.61.  Invocation command line was

 CONFIG_FILES    =
 CONFIG_HEADERS  =
 CONFIG_LINKS    =
 CONFIG_COMMANDS =
 $ ./config.status

on pc

config.status:645: creating Makefile
config.status:645: creating config.h
config.status:888: config.h is unchanged
config.status:934: executing depfiles commands
configure:7136: === configuring in libaif
(/home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/libaif)
configure:7239: running /bin/bash ./configure
'--prefix=/home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.linux.x86_2.1.2.200905110828' --cache-file=/dev/ null --srcdir=.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func__doprnt=no
ac_cv_func_gethostname=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_select=yes
ac_cv_func_sighold=yes
ac_cv_func_sigrelse=yes
ac_cv_func_sigset=yes
ac_cv_func_strdup=yes
ac_cv_func_strstr=yes
ac_cv_func_strtoul=yes
ac_cv_func_vprintf=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_jni_h=no
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_lib_nsl_gethostbyname=yes
ac_cv_lib_posix4_clock_gettime=no
ac_cv_lib_proxyclnt_proxy_clnt_init=yes
ac_cv_lib_proxysvr_proxy_svr_init=yes
ac_cv_lib_socket_socket=no
ac_cv_lib_utils_bitset_new=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_openpty=-lutil
ac_cv_struct_tm=time.h
ac_cv_type_signal=void
am_cv_CC_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/missing --run tar' AUTOCONF='${SHELL} /home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/missing --run autoconf' AUTOHEADER='${SHELL} /home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/missing --run autoheader' AUTOMAKE='${SHELL} /home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/missing --run automake-1.10'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -Wall
-I../org.eclipse.ptp.utils_2.1.2.200905110828/include
-I../org.eclipse.ptp.proxy_2.1.2.200905110828/include'
CLNT_LIBS=' -lproxyclnt'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lutils -lutil -lnsl
-L../org.eclipse.ptp.utils_2.1.2.200905110828
-L../org.eclipse.ptp.proxy_2.1.2.200905110828'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/missing --run makeinfo'
OBJEXT='o'
PACKAGE='org-eclipse-ptp-debug-sdm'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='org.eclipse.ptp.debug.sdm'
PACKAGE_STRING='org.eclipse.ptp.debug.sdm 2.1.2'
PACKAGE_TARNAME='org-eclipse-ptp-debug-sdm'
PACKAGE_VERSION='2.1.2'
PATH_SEPARATOR=':'
PTPDBGJNI_FALSE=''
PTPDBGJNI_TRUE='#'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
SVR_LIBS=' -lproxysvr'
VERSION='2.1.2'
ac_ct_CC='gcc'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.debug.sdm_2.1.2.200905110828/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/staehff/Desktop/eclipse/plugins/ org.eclipse.ptp.linux.x86_2.1.2.200905110828'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' libaif'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "org.eclipse.ptp.debug.sdm"
#define PACKAGE_TARNAME "org-eclipse-ptp-debug-sdm"
#define PACKAGE_VERSION "2.1.2"
#define PACKAGE_STRING "org.eclipse.ptp.debug.sdm 2.1.2"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "org-eclipse-ptp-debug-sdm"
#define VERSION "2.1.2"
#define HAVE_LIBNSL 1
#define HAVE_OPENPTY 1
#define HAVE_LIBUTILS 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_UNISTD_H 1
#define TIME_WITH_SYS_TIME 1
#define RETSIGTYPE void
#define HAVE_VPRINTF 1
#define HAVE_GETHOSTNAME 1
#define HAVE_SELECT 1
#define HAVE_STRDUP 1
#define HAVE_STRSTR 1
#define HAVE_STRTOUL 1
#define HAVE_SIGSET 1
#define HAVE_SIGHOLD 1
#define HAVE_SIGRELSE 1

configure: exit 0

---</ sh BUILD: config.log
--------------------------------------------

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top