jdinan / xpmem-old

Automatically exported from code.google.com/p/xpmem
GNU General Public License v2.0
0 stars 0 forks source link

can't compiler from subdirectory ./build #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I build all my autotools packages in ./build so that it is easy to work with 
multiple compiler environments, etc.  Unfortunately, I cannot do this with 
xpmem.  

This is a low priority issue.

What steps will reproduce the problem?

jeff@megatron:/software/xpmem/xpmem> mkdir build && cd build && ../configure 
--with-default-prefix=/software/xpmem 
--with-module=/software/xpmem/xpmem.module && make

What is the expected output? What do you see instead?

make  all-recursive
make[1]: Entering directory `/software/xpmem/xpmem/build'
Making all in include
make[2]: Entering directory `/software/xpmem/xpmem/build/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/software/xpmem/xpmem/build/include'
Making all in kernel
make[2]: Entering directory `/software/xpmem/xpmem/build/kernel'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/software/xpmem/xpmem/build/kernel'
Making all in lib
make[2]: Entering directory `/software/xpmem/xpmem/build/lib'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../lib -I..  -I../../include   -g -O2 -MT libxpmem.lo -MD -MP -MF 
.deps/libxpmem.Tpo -c -o libxpmem.lo ../../lib/libxpmem.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. -I../../include -g 
-O2 -MT libxpmem.lo -MD -MP -MF .deps/libxpmem.Tpo -c ../../lib/libxpmem.c  
-fPIC -DPIC -o .libs/libxpmem.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. -I../../include -g 
-O2 -MT libxpmem.lo -MD -MP -MF .deps/libxpmem.Tpo -c ../../lib/libxpmem.c -o 
libxpmem.o >/dev/null 2>&1
mv -f .deps/libxpmem.Tpo .deps/libxpmem.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2   -o libxpmem.la -rpath 
/usr/local/lib libxpmem.lo  
libtool: link: gcc -shared  .libs/libxpmem.o      -Wl,-soname -Wl,libxpmem.so.0 
-o .libs/libxpmem.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libxpmem.so.0" && ln -s 
"libxpmem.so.0.0.0" "libxpmem.so.0")
libtool: link: (cd ".libs" && rm -f "libxpmem.so" && ln -s "libxpmem.so.0.0.0" 
"libxpmem.so")
libtool: link: ar cru .libs/libxpmem.a  libxpmem.o
libtool: link: ranlib .libs/libxpmem.a
libtool: link: ( cd ".libs" && rm -f "libxpmem.la" && ln -s "../libxpmem.la" 
"libxpmem.la" )
make[2]: Leaving directory `/software/xpmem/xpmem/build/lib'
Making all in test
make[2]: Entering directory `/software/xpmem/xpmem/build/test'
gcc -DHAVE_CONFIG_H -I. -I../../test -I..  -Iinclude -I../../include   -g -O2 
-MT xpmem_proc1.o -MD -MP -MF .deps/xpmem_proc1.Tpo -c -o xpmem_proc1.o 
../../test/xpmem_proc1.c
../../test/xpmem_proc1.c:19:24: fatal error: xpmem_test.h: No such file or 
directory
compilation terminated.
make[2]: *** [xpmem_proc1.o] Error 1
make[2]: Leaving directory `/software/xpmem/xpmem/build/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/software/xpmem/xpmem/build'
make: *** [all] Error 2

What version of the product are you using? 

I grabbed it a few minutes ago (11/27/2011 at ~1:55 PM central time).

On what operating system?

openSUSE 11.3 x86_64

> uname -a
Linux megatron 2.6.34.10-0.4-desktop #1 SMP PREEMPT 2011-10-19 22:16:41 +0200 
x86_64 x86_64 x86_64 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by jeff.science@gmail.com on 27 Nov 2011 at 8:04