You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. About JDK
$ java -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Server VM (build 24.60-b09, mixed mode)
$ ldd $(which java) # check if 32 or 64 bit version is in use
libthread.so.1 => /lib/libthread.so.1
libjli.so => /usr/jdk/instances/jdk1.7.0_60/bin/../lib/i386/jli/libjli.so
libdl.so.1 => /lib/libdl.so.1
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
2. Prepare Make file
$ grep ^INCLUDES Makefile # added last 2 entries, JAVA_HOME=/usr/jdk/latest
INCLUDES=-I$(JAVA_HOME)/$(HEADERS) -I$(JAVA_HOME)/$(HEADERS)/$(UNAME)
-I/usr/jdk/latest/include -I/usr/jdk/latest/include/solaris
3. Compile (tried with gcc from distribution and):
$ CC=/usr/gcc/4.7/bin/gcc gmake all
/usr/gcc/4.7/bin/gcc -I/usr/jdk/latest/ -I/usr/jdk/latest//sunos
-I/usr/jdk/latest/include -I/usr/jdk/latest/include/solaris
-fdiagnostics-show-option -fno-exceptions -fno-omit-frame-pointer
-fno-strict-aliasing -funsigned-char -fno-asynchronous-unwind-tables -m32
-msse2 -g -D__STDC_FORMAT_MACROS -Wall -Werror -Wformat-security
-Wno-char-subscripts -Wno-sign-compare -Wno-strict-overflow -Wwrite-strings
-Wnon-virtual-dtor -Woverloaded-virtual -O2 -Fvisibility=hidden -fPIC -c
/export/NoBackup/Downloads/lightweight-java-profiler-read-only/src/entry.cc -o
build-32/entry.pic.o
/export/NoBackup/Downloads/lightweight-java-profiler-read-only/src/entry.cc: In
function ‘void SetFileFromOption(char*)’:
/export/NoBackup/Downloads/lightweight-java-profiler-read-only/src/entry.cc:185:
13: error: ‘exit’ was not declared in this scope
/export/NoBackup/Downloads/lightweight-java-profiler-read-only/src/entry.cc: In
function ‘void ParseArguments(char*)’:
/export/NoBackup/Downloads/lightweight-java-profiler-read-only/src/entry.cc:210:
13: error: ‘exit’ was not declared in this scope
gmake: *** [build-32/entry.pic.o] Error 1
3. Failed
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Version from SVN:
$ [2014-06-17 10:37:29] svn checkout
http://lightweight-java-profiler.googlecode.com/svn/trunk/
lightweight-java-profiler-read-only
OS is OpenIndiana (/hipster release):
$ head -1 /etc/release
OpenIndiana Development oi_151.1.8 X86 (powered by illumos)
$ uname -rosv
SunOS 5.11 illumos-3339235 Solaris
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 17 Jun 2014 at 9:01
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 17 Jun 2014 at 9:01The text was updated successfully, but these errors were encountered: