Menu

Compilation error building graph codes

Anonymous
2018-05-07
2018-10-24
  • Anonymous

    Anonymous - 2018-05-07

    Dear Prof.
    when I make all_graph, I met the following error, I don't know how to solve it, could you help me? Thanks

    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -fopenmp -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.31/src -I../../vendor/wnmatrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -std=c++11 -c -o ../../obj/graphhelper.o graphhelper.cpp
    In file included from /home/hhh/mesasdk/include/c++/5.3.1/x8664-pc-linux-gnu/bits/gthr-default.h:35:0,
    from /home/hhh/mesasdk/include/c++/5.3.1/x8664-pc-linux-gnu/bits/gthr.h:148,
    from /home/hhh/mesasdk/include/c++/5.3.1/ext/atomicity.h:35,
    from /home/hhh/mesasdk/include/c++/5.3.1/memory:73,
    from /usr/include/boost/unordered/unorderedsetfwd.hpp:14,
    from /usr/include/boost/unordered/unorderedset.hpp:17,
    from /usr/include/boost/unorderedset.hpp:17,
    from /usr/include/boost/graph/adjacencylist.hpp:21,
    from ../../nnt/graph.h:29,
    from graphhelper.h:29,
    from graphhelper.cpp:21:
    /home/hhh/mesasdk/include/c++/5.3.1/ext/concurrence.h:122:34: error: cannot convert '<brace-enclosed initializer="" list="">' to 'short int' in initialization
    gthreadmutext Mmutex = GTHREADMUTEXINIT;
    ^
    /home/hhh/mesasdk/include/c++/5.3.1/ext/concurrence.h:177:44: error: cannot convert '<brace-enclosed initializer="" list="">' to 'short int' in initialization
    gthreadrecursivemutext Mmutex = GTHREADRECURSIVEMUTEXINIT;
    ^
    Makefile:59: recipe for target '../../obj/graphhelper.o' failed
    make: [../../obj/graphhelper.o] Error 1

     
    • Bradley S. Meyer

      Thanks for your post. I'm not able to reproduce this error. It may be something with your compiler. Two things you might try:

      First, check if this is a parallel programming issue. Try

      cd nucnet-tools-code/examples/graph
      export NNT_NO_OPENMP=1
      make clean
      make all_graph

      Does that compile? Second, you might check on your version of Boost by using the test_versions code in examples/misc:

      cd nucnet-tools-code/examples/misc
      make clean
      make test_versions
      ./test_versions

      What version for boost does that give? Best wishes.

       
  • Anonymous

    Anonymous - 2018-05-10

    Dear Professor,

    Thanks for your reply.

    When I make export NNT_NO_OPENMP=1 / make clean / make all_graph and make test_versions, it give the same error:

    tar xz -C ../../vendor -f ../../vendor/wn_matrix.tar.gz
    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -DNO_OPENMP -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.31/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/wn_matrix/0.19/src/WnMatrix.c -o ../../obj/WnMatrix.o
    tar xz -C ../../vendor -f ../../vendor/libnucnet.tar.gz
    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -DNO_OPENMP -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.31/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/libnucnet/0.31/src/LibnucnetNuc.c -o ../../obj/LibnucnetNuc.o
    tar xz -C ../../vendor -f ../../vendor/libnucnet.tar.gz
    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -DNO_OPENMP -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.31/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/libnucnet/0.31/src/LibnucnetReac.c -o ../../obj/LibnucnetReac.o
    tar xz -C ../../vendor -f ../../vendor/libnucnet.tar.gz
    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -DNO_OPENMP -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.31/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/libnucnet/0.31/src/Libnucnet.c -o ../../obj/Libnucnet.o
    tar xz -C ../../vendor -f ../../vendor/libstatmech.tar.gz
    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -DNO_OPENMP -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.31/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/libstatmech/0.10/src/Libstatmech.c -o ../../obj/Libstatmech.o
    In file included from ../../vendor/libstatmech/0.10/src/Libstatmech.h:39:0,
    from ../../vendor/libstatmech/0.10/src/Libstatmech.c:35:
    /usr/include/string.h:541:5: error: 'locale_t' has not been declared
    locale_t loc)
    ^
    In file included from /home/let/mesasdk/lib/gcc/x86_64-pc-linux-gnu/5.3.1/include-fixed/features.h:338:0,
    from /usr/include/stdio.h:27,
    from ../../vendor/libstatmech/0.10/src/Libstatmech.h:37,
    from ../../vendor/libstatmech/0.10/src/Libstatmech.c:35:
    /usr/include/string.h:542:33: error: nonnull argument references non-pointer operand (argument 3, operand 3)
    THROW attribute_pure nonnull ((1, 2, 3));
    ^
    In file included from ../../vendor/libstatmech/0.10/src/Libstatmech.h:39:0,
    from ../../vendor/libstatmech/0.10/src/Libstatmech.c:35:
    /usr/include/string.h:545:18: error: '
    locale_t' has not been declared
    size_t n, locale_t loc)
    ^
    In file included from /home/let/mesasdk/lib/gcc/x86_64-pc-linux-gnu/5.3.1/include-fixed/features.h:338:0,
    from /usr/include/stdio.h:27,
    from ../../vendor/libstatmech/0.10/src/Libstatmech.h:37,
    from ../../vendor/libstatmech/0.10/src/Libstatmech.c:35:
    /usr/include/string.h:546:33: error: nonnull argument references non-pointer operand (argument 3, operand 4)
    THROW attribute_pure __nonnull ((1, 2, 4));
    ^
    ../../build/Makefile:246: recipe for target '../../obj/Libstatmech.o' failed
    make: *** [../../obj/Libstatmech.o] Error 1

    Looking forward to your reply

     
    • Bradley S. Meyer

      Sorry for the delayed response. Could you let me know what happens if you do

      cd nucnet-tools-code/vendor/libstatmech/0.10/examples
      make clean
      make all

      Thanks.

       

      Last edit: Bradley S. Meyer 2018-05-18
    • Bradley S. Meyer

      On further sleuthing, I saw this from stackoverflow. You might see what happens if you edit the nucnet-tools-code/examples/graph/Makefile to change the lines

       #===============================================================================
      # Add C++ 11.
      #===============================================================================
      
      CC += -std=c++11
      

      to instead read

      #===============================================================================
      # Add C++ 11.
      #===============================================================================
      
      CC += -D__USE_XOPEN2K8 -std=c++11
      

      and recompile. Let me know if that works. Thanks.

       
  • Anonymous

    Anonymous - 2018-05-20

    The following commands, it works well, there is no error:
    cd nucnet-tools-code/vendor/libstatmech/0.10/examples
    make clean
    make all
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o tmp/Libstatmech.o ../src/Libstatmech.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o tmp/boson_ground_state_functions.o boson_ground_state_functions.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/create_fermion.o create_fermion.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/create_fermion.o xml2-config --libs gsl-config --libs -o create_fermion
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/fermion_accuracy.o fermion_accuracy.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/fermion_accuracy.o xml2-config --libs gsl-config --libs -o fermion_accuracy
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/pressure_integrand.o pressure_integrand.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/pressure_integrand.o xml2-config --libs gsl-config --libs -o pressure_integrand
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/thermodynamic.o thermodynamic.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/thermodynamic.o xml2-config --libs gsl-config --libs -o thermodynamic
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/fermion_derivatives.o fermion_derivatives.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/fermion_derivatives.o xml2-config --libs gsl-config --libs -o fermion_derivatives
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/heat_capacity_vs_rho.o heat_capacity_vs_rho.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/heat_capacity_vs_rho.o xml2-config --libs gsl-config --libs -o heat_capacity_vs_rho
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/thomas_fermi.o thomas_fermi.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/thomas_fermi.o xml2-config --libs gsl-config --libs -o thomas_fermi
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/create_boson.o create_boson.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/create_boson.o xml2-config --libs gsl-config --libs -o create_boson
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/boson_function.o boson_function.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/boson_function.o xml2-config --libs gsl-config --libs -o boson_function
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/boson_derivatives.o boson_derivatives.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/boson_derivatives.o xml2-config --libs gsl-config --libs -o boson_derivatives
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/photons.o photons.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/photons.o xml2-config --libs gsl-config --libs -o photons
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/bec_n.o bec_n.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/bec_n.o xml2-config --libs gsl-config --libs -o bec_n
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags -c -o ./tmp/bec_T.o bec_T.c
    gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/ xml2-config --cflags gsl-config --cflags ./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/bec_T.o xml2-config --libs gsl-config --libs -o bec_T

     
    • Bradley S. Meyer

      Thanks. There is nothing wrong with the libstatmech library or the C compiler. Useful info.

       
  • Anonymous

    Anonymous - 2018-05-20

    after I editted the nucnet-tools-code/examples/graph/Makefile and recompile, the errors are listed here. Thanks

    ./vendor/libstatmech/0.10/src/Libstatmech.c -o ../../obj/Libstatmech.o
    tar xz -C ../../vendor -f ../../vendor/libnuceq.tar.gz
    tar: libnuceq/0.7/doc/releases.xml: Cannot open: File exists
    tar: libnuceq/0.7/doc/tex/libnuceq.tex: Cannot open: File exists
    tar: libnuceq/0.7/doc/tex/low_temp.tex: Cannot open: File exists
    tar: libnuceq/0.7/doc/tex/src/binding.c: Cannot open: File exists
    tar: libnuceq/0.7/doc/tex/src/Makefile: Cannot open: File exists
    tar: libnuceq/0.7/examples/compare_qse.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compare_wse_screening.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_function_integrand_wse.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_many_qse.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_ng.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_nse.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_pg.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_qse.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_rnse.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_screened_degen_nse.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_wqse.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_wse.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/compute_wse_from_lepton_number.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/coul_corr.c: Cannot open: File exists
    tar: libnuceq/0.7/examples/coul_corr.h: Cannot open: File exists
    tar: libnuceq/0.7/examples/examples.xml: Cannot open: File exists
    tar: libnuceq/0.7/examples/Makefile: Cannot open: File exists
    tar: libnuceq/0.7/examples/README.txt: Cannot open: File exists
    tar: libnuceq/0.7/examples/regression_test.sh: Cannot open: File exists
    tar: libnuceq/0.7/src/Libnuceq.c: Cannot open: File exists
    tar: libnuceq/0.7/src/Libnuceq.h: Cannot open: File exists
    tar: libnuceq/0.7/src/README.txt: Cannot open: File exists
    tar: libnuceq/0.7/data_pub/example_nuc.xml: Cannot open: File exists
    tar: libnuceq/0.7/data_pub/z.txt: Cannot open: File exists
    tar: libnuceq/0.7/doc/gnu_fdl_v1.2.txt: Cannot open: File exists
    tar: libnuceq/0.7/doc/gnu_gpl_v2.txt: Cannot open: File exists
    tar: libnuceq/0.7/doc/tex/figures/fig1.pdf: Cannot open: File exists
    tar: libnuceq/0.7/doc/tex/figures/fig2.pdf: Cannot open: File exists
    tar: libnuceq/0.7/doc/tex/figures/lower.pdf: Cannot open: File exists
    tar: libnuceq/0.7/doc/tex/figures/upper.pdf: Cannot open: File exists
    tar: Exiting with failure status due to previous errors
    ../../build/Makefile:257: recipe for target '../../obj/Libnuceq.o' failed
    make: *** [../../obj/Libnuceq.o] Error 2

     
    • Bradley S. Meyer

      You seem to have some conflicting libnuceq versions. Please try (in nucnet-tools-code/examples/graph)

      make clean_all
      make all_graph

      The first command will clean the vendor directory and download anew. Let's see how that works. Best wishes.

       
  • Anonymous

    Anonymous - 2018-05-27

    Dear Professor: these two command give the following errors:

    tar xz -C ../../vendor -f ../../vendor/libnuceq.tar.gz
    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fno-common -g -O0 -fopenmp -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.32/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -DUSE_XOPEN2K8 -std=c++11 -c ../../vendor/libnuceq/0.7/src/Libnuceq.c -o ../../obj/Libnuceq.o
    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fno-common -g -O0 -fopenmp -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.32/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -D
    USE_XOPEN2K8 -std=c++11 -c -o ../../obj/auxiliary.o ../../nnt/auxiliary.cpp
    In file included from /home/let/mesasdk/include/c++/5.3.1/x86_64-pc-linux-gnu/bits/gthr-default.h:35:0,
    from /home/let/mesasdk/include/c++/5.3.1/x86_64-pc-linux-gnu/bits/gthr.h:148,
    from /home/let/mesasdk/include/c++/5.3.1/ext/atomicity.h:35,
    from /home/let/mesasdk/include/c++/5.3.1/bits/ios_base.h:39,
    from /home/let/mesasdk/include/c++/5.3.1/ios:42,
    from /home/let/mesasdk/include/c++/5.3.1/istream:38,
    from /home/let/mesasdk/include/c++/5.3.1/sstream:38,
    from ../../nnt/auxiliary.h:32,
    from ../../nnt/auxiliary.cpp:29:
    /home/let/mesasdk/include/c++/5.3.1/ext/concurrence.h:122:34: error: cannot convert '<brace-enclosed list="" initializer="">' to 'short int' in initialization
    gthread_mutex_t _M_mutex = GTHREAD_MUTEX_INIT;
    ^
    /home/let/mesasdk/include/c++/5.3.1/ext/concurrence.h:177:44: error: cannot convert '<brace-enclosed list="" initializer="">' to 'short int' in initialization
    gthread_recursive_mutex_t _M_mutex = GTHREAD_RECURSIVE_MUTEX_INIT;
    ^
    ../../build/Makefile:299: recipe for target '../../obj/auxiliary.o' failed
    make: *** [../../obj/auxiliary.o] Error 1</brace-enclosed></brace-enclosed>

     
    • Bradley S. Meyer

      I apologize. I let this fall through the cracks. I hope you were able to solve this. If not, and if you are still working on this, let me know. Thanks, and best wishes.

       

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.