Looking for any help in compiling the libMicro on AIX5.3 or AIX6.1. I'm using 
gcc available from the IBM toolkit. The problem seems to be the atomic.c file 
requires a atomic.h file, which I have been unable to locate for AIX


 mv Makefile.Aix Makefile.AIX

gcc -v
Using built-in specs.
Target: powerpc-ibm-aix6.1.0.0
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld 
--enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads 
--enable-version-specific-runtime-libs --host=powerpc-ibm-aix6.1.0.0 
--target=powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-aix6.1.0.0 
--disable-libjava-multilib
Thread model: aix
gcc version 4.2.0

/porting/load_testing/libMicro-0.3.0 # /opt/freeware/bin/make clean
/porting/load_testing/libMicro-0.3.0 # /opt/freeware/bin/make CC=gcc
make[1]: Entering directory 
`/porting/load_testing/libMicro-0.3.0/bin-00C7D8DF4C00'
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../libmicro.c -o libmicro.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../libmicro_main.c -o libmicro_main.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../benchmark_init.c -o benchmark_init.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../benchmark_fini.c -o benchmark_fini.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../benchmark_initrun.c -o 
benchmark_initrun.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../benchmark_finirun.c -o 
benchmark_finirun.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../benchmark_initbatch.c -o 
benchmark_initbatch.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../benchmark_finibatch.c -o 
benchmark_finibatch.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../benchmark_initworker.c -o 
benchmark_initworker.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../benchmark_finiworker.c -o 
benchmark_finiworker.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../benchmark_optswitch.c -o 
benchmark_optswitch.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../benchmark_result.c -o benchmark_result.o
ar -cr libmicro.a libmicro.o libmicro_main.o benchmark_init.o benchmark_fini.o 
benchmark_initrun.o benchmark_finirun.o benchmark_initbatch.o 
benchmark_finibatch.o benchmark_initworker.o benchmark_finiworker.o 
benchmark_optswitch.o benchmark_result.o
gcc -c -O3 -D_REENTRANT -D_REENTRANT ../atomic.c -o atomic.o
../atomic.c:42:20: error: atomic.h: A file or directory in the path name does 
not exist.
make[1]: *** [atomic.o] Error 1
make[1]: Leaving directory 
`/porting/load_testing/libMicro-0.3.0/bin-00C7D8DF4C00'
make: *** [default] Error 2
[EMAIL PROTECTED]/porting/load_testing/libMicro-0.3.0 #

IBM Toolbox
rpm -qa
gcc-4.2.0-3
libgcc-4.2.0-3
libgcj-4.2.0-3
gcc-gij-4.2.0-3
libstdc++-4.2.0-3
gcc-locale-4.2.0-3
bash-3.0-1
gcc-c++-4.2.0-3
glib-1.2.10-2
make-3.80-1
AIX-rpm-6.1.0.0-16
libstdc++-devel-4.2.0-3
automake-1.8.5-1
binutils-2.14-3
bash-doc-2.05b-1
m4-1.4.1-1
patch-2.5.4-4
sed-4.0.7-1
zlib-devel-1.2.1-2
gettext-0.10.40-8
glib-devel-1.2.10-2
glib2-2.8.1-3
pkg-config-0.19-6
glib2-devel-2.8.1-3
autoconf213-2.13-1
autoconf-2.59-1
libtool-1.5.8-2
libgcj-devel-4.2.0-3
rpm-3.0.5-44
popt-1.7-2
rpm-devel-3.0.5-44

Thanks

Simon
 
 
This message posted from opensolaris.org
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to