octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63901] fem-fenics: In assemble.cc there is an


From: Marius Schamschula
Subject: [Octave-bug-tracker] [bug #63901] fem-fenics: In assemble.cc there is an undeclared identifier 'mlock'
Date: Thu, 9 Mar 2023 13:57:58 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63901>

                 Summary: fem-fenics: In assemble.cc there is an undeclared
identifier 'mlock'
                   Group: GNU Octave
               Submitter: mschamschula
               Submitted: Thu 09 Mar 2023 06:57:56 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: mschamschula
        Originator Email: 
             Open/Closed: Open
                 Release: other
         Discussion Lock: Any
        Operating System: Mac OS
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 09 Mar 2023 06:57:56 PM UTC By: Marius Schamschula <mschamschula>
While building various packages against octave 8.1.0, I attempted to build the
fem-fenics
package. I saw a possibly related bug in
https://savannah.gnu.org/bugs/index.php?55175, as it also mentions the mlock
issue. However, there are differences, particularly in this case the original
error is the mlock rather than a missing cast.


/usr/bin/clang++ -c -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I. -pipe -Os
-DNDEBUG -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-DDOLFIN_VERSION="2019.1.0" -DNDEBUG -DHAS_UMFPACK -DHAS_CHOLMOD -DHAS_ZLIB
-DHAS_MPI -DDOLFIN_VERSION=2019.1.0 -I/opt/local/libexec/boost/1.76/include
-I/opt/local/include/mpich-mp -I/opt/local/include/eigen3
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ffc/backends/ufc
-DLATEST_DOLFIN -fPIC -I/opt/local/include/octave-8.1.0/octave/..
-I/opt/local/include/octave-8.1.0/octave -I/opt/local/include  -pthread -pipe
-Os -std=c++11 -stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64   
assemble.cc -o assemble.o
In file included from assemble.cc:18:
In file included from ./form.h:23:
In file included from /opt/local/include/dolfin.h:14:
In file included from /opt/local/include/dolfin/graph/dolfin_graph.h:6:
In file included from /opt/local/include/dolfin/graph/Graph.h:28:
In file included from
/opt/local/libexec/boost/1.76/include/boost/graph/adjacency_list.hpp:255:
In file included from
/opt/local/libexec/boost/1.76/include/boost/graph/detail/adjacency_list.hpp:37:
In file included from
/opt/local/libexec/boost/1.76/include/boost/graph/adjacency_iterator.hpp:13:
/opt/local/libexec/boost/1.76/include/boost/detail/iterator.hpp:13:1: warning:
This header is deprecated. Use <iterator> instead. [-W#pragma-messages]
BOOST_HEADER_DEPRECATED("<iterator>")
^
/opt/local/libexec/boost/1.76/include/boost/config/header_deprecated.hpp:23:37:
note: expanded from macro 'BOOST_HEADER_DEPRECATED'
# define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is
deprecated. Use " a " instead.")
                                    ^
/opt/local/libexec/boost/1.76/include/boost/config/pragma_message.hpp:24:34:
note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
                                 ^
<scratch space>:36:2: note: expanded from here
 message("This header is deprecated. Use " "<iterator>" " instead.")
 ^
assemble.cc:57:7: error: use of undeclared identifier 'mlock'; did you mean
'clock'?
      mlock ();
      ^~~~~
      clock
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/time.h:109:9:
note: 'clock' declared here
clock_t clock(void) __DARWIN_ALIAS(clock);
        ^
assemble.cc:64:7: error: use of undeclared identifier 'mlock'; did you mean
'clock'?
      mlock ();
      ^~~~~
      clock
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/time.h:109:9:
note: 'clock' declared here
clock_t clock(void) __DARWIN_ALIAS(clock);
        ^
assemble.cc:77:21: error: use of undeclared identifier 'error_state'
              if (! error_state)
                    ^
assemble.cc:166:21: error: use of undeclared identifier 'error_state'
              if (! error_state)
                    ^
1 warning and 4 errors generated.
make: *** [assemble.o] Error 1









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63901>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]