Comments (9)
Can you post more of the configure output? Were there warnings before this? I think you may be missing some basic setup.
from isa-l.
Hi Thanks for looking into this. I have followed the below procedure to compile the code:
yum install autoconf ;
yum install libtool ;
yum install yasm-1.2.0-4.el7.x86_64.rpm;
unzip isa-l-master.zip;
cd ./isa-l-master/
./autogen.sh
./configure --prefix=/usr --libdir=/usr/lib64
make;
make install
I have followed the same procedure in another setup and it worked fine. In the working setup I have different gcc version : gcc-4.8.5-28.el7.x86_64.
Please find the attached config.log , command output and installed RPM list.
config.log
Installed_rpm_list.txt
ISA-L-Command_Output.txt
from isa-l.
Sorry Close accidentally.
from isa-l.
Hi Thanks for looking into this. I have followed the below procedure to compile the code:
yum install autoconf ;
yum install libtool ;
yum install yasm-1.2.0-4.el7.x86_64.rpm;
unzip isa-l-master.zip;
cd ./isa-l-master/
./autogen.sh
./configure --prefix=/usr --libdir=/usr/lib64
make;
make install
I have followed the same procedure in another setup and it worked fine. In the working setup I have different gcc version : gcc-4.8.5-28.el7.x86_64.
Please find the attached config.log , command output and installed RPM list from the failing server.
config.log
Installed_rpm_list.txt
ISA-L-Command_Output.txt
from isa-l.
Here is the Linux version:
uname -a
Linux node1 3.10.0-957.5.1.el7.x86_64 #1 SMP Wed Dec 19 10:46:58 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
from isa-l.
Looking at your config log I don't think the issue is lack of -V. Configure checks lots of things that can fail just looking for availability. The real problem is when it fails a simple compiler works test as below, just trying to compile a hello world app. You may not have the full linker or libc installed. You might try your own hello world app to see if the default paths work.
configure:3405: checking whether the C compiler works
configure:3427: gcc conftest.c >&5
collect2: fatal error: cannot find 'ld'
compilation terminated.
configure:3431: $? = 1
configure:3469: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libisal"
| #define PACKAGE_TARNAME "isa-l"
| #define PACKAGE_VERSION "2.26.0"
| #define PACKAGE_STRING "libisal 2.26.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "http://01.org/storage-acceleration-library"
| #define PACKAGE "isa-l"
| #define VERSION "2.26.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
from isa-l.
Hi Greg
You are right!! I tried the below "hello world" code snippet and compilation failed with errors. Can you please advise me how to fix this ? What could be possibly going wrong here ?
Hello world snippet
#include <stdio.h>
int main()
{
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
Compile Error
gcc hello_world.c
In file included from /usr/include/features.h:399:0,
from /usr/include/stdio.h:27,
from hello_world.c:1:
/usr/include/gnu/stubs.h:10:27: fatal error: gnu/stubs-64.h: No such file or directory
include <gnu/stubs-64.h>
^
compilation terminated.
from isa-l.
Hi Greg,
The issue has now been resolved now.
Fix:
- Install glibc-devel.x86_64
# yum install glibc-devel.x86_64 - create a soft link to the linker program in /usr/bin/ pointing to /etc/alternatives/ld
# cd /usr/bin/ln -s /etc/alternatives/ld
# which ld /usr/bin/ld # ls -l /usr/bin/ld lrwxrwxrwx 1 root root 20 Apr 19 16:50 /usr/bin/ld -> /etc/alternatives/ld
It is weird that the link is missing in the first place. But after performing the above steps compilation completed successfully. Thank you for looking into the issue and your guidance. Appreciate you quick reply too.
from isa-l.
Good to hear. Perhaps binutils was installed incorrectly.
from isa-l.
Related Issues (20)
- Is this condition correct? HOT 3
- Add support for inflate flush points
- igzip for containerd become slow
- Benchmark: isa-l vs zlib, zlib-ng, libdeflate, brotli, zstd
- build break HOT 1
- Upcoming release v2.31 HOT 9
- Broken compilation on ARM/PowerPC HOT 1
- Looking for ARM/PowerPC owner/maintainers HOT 11
- Add isal_zlib_header_init HOT 2
- Error in functional tests for ppc64le HOT 2
- Failed to load symbolec_init_tables HOT 3
- undefined reference to `ec_init_tables' HOT 2
- erasure_code/gf_vect_mul: If the value of len is not aligned with 32B, a non-zero value should be returned
- v2.31.0 tag not annotated HOT 2
- Failed to decompress gz file which has multi-header
- how use raid lib to recover lost data?
- ARM OSX build fails HOT 7
- raid: why does the simd version xor_gen not provide an entry for loop64?
- Windows build fails - yasm doesn't understand %use HOT 4
- If raid xor_gen passed-in array pointers is not aligned to 32B, what's the impact?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isa-l.