Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: stdlib.h: No such file or directory #18

Open
Alessandro-Barbieri opened this issue Aug 18, 2021 · 2 comments
Open

fatal error: stdlib.h: No such file or directory #18

Alessandro-Barbieri opened this issue Aug 18, 2021 · 2 comments

Comments

@Alessandro-Barbieri
Copy link
Contributor

configured with
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-depend ency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/nanox-0.15_p20210222 --htmldir=/usr/share/doc/nanox-0.15_p20210222/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --enable-gcc-new-atomic-builtins --enable-performance --enable-shared --without-cellsdk --without-cuda --without-mcc --without-xdma --enable-allocator --disable-debug --enable-instrumentation --enable-memtracker --disable-resiliency --enable-task-callback --enable-ult --with-dlb --with-opencl --with-ayudame=/usr --with-hwloc=/usr --with-extrae=/usr --with-gasnet=/usr --with-memkind=/usr --with-mpi=/usr --with-papi=/usr --with-sqlite3=/usr

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -D_NANOS_INTERNAL -include config.h -include nanox-config.h -I /usr/include -I../../.. -I../../../src/arch/unix-os -I../../../src/arch/cluster -I../../../src/arch
/common -I../../../src/arch/gpu -I../../../src/arch/fpga -I../../../src/arch/opencl -I../../../src/arch/smp -I../../../src/arch/spu -I../../../src/core -I../../../src/support -DLIBDIR=/usr/lib64 -DNANOS_INSTRUMENTATION_ENABLED -isystem 
/usr/include -I/usr/include/smp-conduit -pthread -include new_decl.hpp -Wall -Wextra -Wshadow -Wmissing-declarations -Wno-unused-parameter -Wno-missing-field-initializers -std=c++98 -O3 -Os -pipe -march=native -c gasnetapi.cpp  -fPIC -D
PIC -o .libs/instrumentation_libnanox_pe_cluster_smp_la-gasnetapi.o                                                                                                                                                                         
In file included from ../../../src/support/allocator_decl.hpp:28,
                 from ../../../src/core/instrumentation_decl.hpp:212,
                 from ../../../src/core/instrumentationcontext_decl.hpp:25,                                           
                 from ../../../src/core/workdescriptor_decl.hpp:38,                                 
                 from remoteworkdescriptor_decl.hpp:23,                                                               
                 from netwd_decl.hpp:22,                                                                              
                 from netwd.cpp:20:                                                                                                                                                                                                         
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
   75 | #include_next <stdlib.h>                                                                                      
      |               ^~~~~~~~~~
compilation terminated.
@vlopezh
Copy link
Contributor

vlopezh commented Aug 18, 2021

I cannot reproduce the error, even with gcc 11.2. Does it happen with a minimal configuration of just --with-gasnet=<path>?

@Alessandro-Barbieri
Copy link
Contributor Author

I've tried ./configure --with-gasnet=/usr and it still fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants