I am currently trying to compile mvapich2-2.1 using pgcc 15.10 on a CentOS 6 machine. I run
export F90=; export CPP=cpp; ./configure --prefix=/home/user/local/mvapich2-2.1/pgi15
make
and it fails with (excluding much of the diagnostic output)
.
.
.
PGC/x86-64 Linux 15.10-0: compilation completed with warnings
CC adio/common/ad_iwrite_fake.lo
CC adio/common/ad_open.lo
CC adio/common/ad_opencoll.lo
CC adio/common/ad_opencoll_failsafe.lo
CC adio/common/ad_opencoll_scalable.lo
CC adio/common/ad_prealloc.lo
CC adio/common/ad_read.lo
PGC-W-0114-More than one type specified (/gpfs0/export/opt/pgi/linux86-64/15.10/include-gcc44/sys/types.h: 230)
PGC-W-0143-Useless typedef declaration (no declarators present) (/gpfs0/export/opt/pgi/linux86-64/15.10/include-gcc44/sys/types.h: 230)
PGC/x86-64 Linux 15.10-0: compilation completed with warnings
CC adio/common/ad_read_coll.lo
/tmp/pgccZZGhzd4sbsRT.s: Assembler messages:
/tmp/pgccZZGhzd4sbsRT.s:1510: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:1547: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2003: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2272: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2324: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2376: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2435: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2621: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2895: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2932: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:2986: Error: suffix or operands invalid for `vpxor'
/tmp/pgccZZGhzd4sbsRT.s:3038: Error: suffix or operands invalid for `vpxor'
make[3]: *** [adio/common/ad_read_coll.lo] Error 1
make[3]: Leaving directory `/gpfs0/home/user/local/src/mvapich2-2.1/src/mpi/romio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/gpfs0/home/user/local/src/mvapich2-2.1/src/mpi/romio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gpfs0/home/user/local/src/mvapich2-2.1'
make: *** [all] Error 2
What is the solution to this problem? I have no experience using the assembler, so any hints / advice would be appreciated. Thanks.
I got it to install by using the following :
F90=; CPP=cpp; CFLAGS="-tp penryn-64" LDFLAGS="-L/usr/lib64" ./configure --prefix=/home/user/local/mvapich2-2.1/pgi15
make
make install
I also tried updating binutils to 2.24 and I was able to install it that way also.
Related
i am trying to install PJPROJECT using following commands:
[Note]: the server where i am installing it does not have internet accessibility so i have to manually install every thing...
1) untar pjproject file
2) ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV^=1" --prefix=/usr --libdir=/usr/lib64 --enable-shared --disable-opencore-amr
3) make dep
4) make
Here i am facing following error:
../../yuv/source/row_common.cc: In function ‘void libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, const libyuv::YuvConstants*)’:
../../yuv/source/row_common.cc:1256: error: invalid types ‘const signed char vector[int]’ for array subscript
../../yuv/source/row_common.cc:1257: error: invalid types ‘const signed char vector[int]’ for array subscript
../../yuv/source/row_common.cc:1258: error: invalid types ‘const signed char vector[int]’ for array subscript
../../yuv/source/row_common.cc:1259: error: invalid types ‘const signed char vector[int]’ for array subscript
../../yuv/source/row_common.cc:1260: error: invalid types ‘const short int vector[int]’ for array subscript
../../yuv/source/row_common.cc:1261: error: invalid types ‘const short int vector[int]’ for array subscript
../../yuv/source/row_common.cc:1262: error: invalid types ‘const short int vector[int]’ for array subscript
../../yuv/source/row_common.cc:1263: error: invalid types ‘const short int vector[int]’ for array subscript
make[3]: *** [output/libyuv-x86_64-unknown-linux-gnu/row_common.o] Error 1
make[3]: Leaving directory `/root/Downloads/Asterisk/Asterisk_13.8/Asterisk/missing_packages/pjproject-2.6/third_party/build/yuv'
make[2]: *** [libyuv-x86_64-unknown-linux-gnu.a] Error 2
make[2]: Leaving directory `/root/Downloads/Asterisk/Asterisk_13.8/Asterisk/missing_packages/pjproject-2.6/third_party/build/yuv'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/Downloads/Asterisk/Asterisk_13.8/Asterisk/missing_packages/pjproject-2.6/third_party/build'
make: *** [all] Error 1
what causes this error to occur and how to resolve this issue??
i also tries to change ./configure parameters like on running
./configure --enable-shared only i get:
**output/libgsmcodec-x86_64-unknown-linux-gnu/add.o: could not read symbols: Bad value**
**collect2: ld returned 1 exit status**
**make[3]: *** [../../lib/libgsmcodec.so.2] Error 1**
**make[3]: Leaving directory `/root/Downloads/Asterisk/Asterisk_13.8/Asterisk/missing_packages/pjproject-2.6/third_party/build/gsm'**
**make[2]: *** [libgsmcodec.so] Error 2**
**make[2]: Leaving directory `/root/Downloads/Asterisk/Asterisk_13.8/Asterisk/missing_packages/pjproject-2.6/third_party/build/gsm'**
**make[1]: *** [all] Error 1**
**make[1]: Leaving directory `/root/Downloads/Asterisk/Asterisk_13.8/Asterisk/missing_packages/pjproject-2.6/third_party/build'**
**make: *** [all] Error 1**
i want to run opencl on zedboard and now i'm failing to install ocl_icd on ubuntu12
i refer to the page "https://github.com/umaurmi/OPENCL_EXAMPLES_ZEDBOARD/wiki/Installing-POCL-dependencies-on-Ubuntu-linux-based-targets"
"./configure" complete without errors
but "make" cause errors ,show below
root#localhost:~/Downloads/ocl-icd-1.2.1# make
make all-am
make[1]: Entering directory `/root/Downloads/ocl-icd-1.2.1'
CC libOpenCL_la-ocl_icd_loader.lo
CC libOpenCL_la-ocl_icd_loader_gen.lo
In file included from ocl_icd_loader_gen.c:30:0:
ocl_icd_debug.h: In function 'debug_init':
ocl_icd_debug.h:66:5: error: implicit declaration of function 'getenv' [-Werror=implicit-function-declaration]
ocl_icd_debug.h:66:17: error: initialization makes pointer from integer without a cast [-Werror]
ocl_icd_debug.h:68:7: error: implicit declaration of function 'atoi' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[1]: *** [libOpenCL_la-ocl_icd_loader_gen.lo] Error 1
make[1]: Leaving directory `/root/Downloads/ocl-icd-1.2.1'
make: *** [all] Error 2
how can i do for that?
I encounter a error when I was execute make.
The environment is
1. OS X 10.10.5
2. compiler is gcc ( I am not sure and make command log shows gcc many times)
3. Squid source version 3.5.13
log as this:
./libtool: line 4228: cd: /Users/lorancechen/version: No such file or directory
libtool: link: (cd .libs/libltdlc.lax/dlopen.a && ar x "/Users/lorancechen/version control/_open_source/squid-3.5.13/libltdl/./.libs/dlopen.a")
./libtool: line 1085: cd: .libs/libltdlc.lax/dlopen.a: No such file or directory
make[2]: *** [libltdlc.la] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
===============================
Besides, I am not find .libs directory with log reminded.
UPDATE
with #Tibidabo help, I find the directory can't contains "." or "-".
Now, another error occurred, such as
basic_ldap_auth.cc:610:13: error: 'ldap_unbind' is deprecated: first deprecated
in OS X 10.10 - use ldap_unbind_ext [-Werror,-Wdeprecated-declarations]
ldap_unbind(ld);
^
I attempt change to ldap_unbind_ext, compiler tips with can't find it or no known.
Please check that the directory does not have any "funny" characters.
I have the same error, I renamed the directory to have only alphanumerical characters by removing ".","-" etc and after that the make worked just fine!
I am getting the following error in building qtsampleplayer:
ubuntu#ubuntu:~/Libdash/libdash/libdash/qtsampleplayer/build$ make
[ 3%] Automoc for target qtsampleplayer
[ 3%] Built target qtsampleplayer_automoc
Linking CXX executable qtsampleplayer
i386-linux-gnu/libQt5Gui.so.5.2.1:undefined reference to symbol 'inflateInit2_'
/libz.so.1:error adding symbols:DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [qtsampleplayer] Error 1
make[1]: *** [CMakeFiles/qtsampleplayer.dir/all] Error 2
make: *** [all] Error 2
Tried several options like giving path of libz.so in command line but no help
Regards
Mayank
collect2: error: ld returned 1 exit status that means basically that something before went wrong.
/libz.so.1:error adding symbols:DSO missing from command linethat means that he is not finding DSO so you have not included correctly the libz.so BUT before it says: i386-linux-gnu/libQt5Gui.so.5.2.1:undefined reference to symbol 'inflateInit2_' So your problem is not in libz.so, it can be in libQt5Gui .
Do you really have both libraries where your project is looking? Seems the program is not finding them
I am trying to compile qt with dbus but it gives me the following exception. I have installed the dbus version 1.3 in the system and I am using the following configure command.
Can someone point me as to what should be done.
configure -dbus -I/usr/include/dbus-1.0 -L/usr/local/dbus/lib -ldbus-1 -fast -prefix /home/thwijeth/Software/qt-4.8.1-com-debug -v
thank you in advance.
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
In file included from qdbusconnection_p.h:51,
from qdbusconnection.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbuserror.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [qdbusconnection.o] Error 1
In file included from qdbusconnectioninterface.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbusconnectioninterface.o] Error 1
In file included from qdbusconnection_p.h:51,
from qdbusintegrator.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbusintegrator.o] Error 1
make[1]: Leaving directory `/home/thwijeth/Software/qt-repo/qt-4.8.1-src/src/dbus'
make: *** [sub-dbus-make_default-ordered] Error 2
verify if /usr/include/dbus-1.0 contains a dbus directory, if it does not, verify whether /usr/include/dbus-1.0 contains dbus.h, if so you need to create a symbolic link to dbus-1.0 as dbus
ln -s dbus-1.0 /usr/include/dbus
and then try to rerun configure.
This solution worked fine for me for this missing header. However, I got then a different error fatal error: dbus/dbus-arch-deps.h: No such file. I worked around this error by copying this file from /usr/lib/x86_64-linux-gnu/dbus-1.0/include/dbus to /usr/include/dbus-1.0/dbus/. I don't know why this header was not in the /usr/include directory from the beginning. But this is my hack to the problem.
Regards