• 締切済み

make時のエラーについて

mantaflow(http://mantaflow.ethz.ch/install.html)をmakeしようとしたのですが 以下のエラーが出てしまいます。 ::syscallとは何の事でしょうか? 環境はubuntu 12.04 32bitです。 libtbb-devはインストールしてあります、解決法をご教示下さい。 /home/name/mantaflow/mantaflow/source/fluidsolver.cpp:15: /usr/include/tbb/machine/linux_common.h: 関数 ‘int tbb::internal::futex_wait(void*, int)’ 内: /usr/include/tbb/machine/linux_common.h:67:13: エラー: ‘::syscall’ has not been declared /usr/include/tbb/machine/linux_common.h: 関数 ‘int tbb::internal::futex_wakeup_one(void*)’ 内: /usr/include/tbb/machine/linux_common.h:76:13: エラー: ‘::syscall’ has not been declared /usr/include/tbb/machine/linux_common.h: 関数 ‘int tbb::internal::futex_wakeup_all(void*)’ 内: /usr/include/tbb/machine/linux_common.h:82:13: エラー: ‘::syscall’ has not been declared make[2]: *** [CMakeFiles/manta.dir/pp/source/fluidsolver.cpp.o] エラー 1 make[1]: *** [CMakeFiles/manta.dir/all] エラー 2 make: *** [all] エラー 2

みんなの回答

  • Tacosan
  • ベストアンサー率23% (3656/15482)
回答No.1

これかなぁ. ほかに警告メッセージとか出てませんかね.

参考URL:
http://linuxjm.sourceforge.jp/html/LDP_man-pages/man2/syscall.2.html
全文を見る
すると、全ての回答が全文表示されます。

関連するQ&A

  • Net-SNMPでのmake時のエラーについて

    はじめまして。kyosyouと申します。 Solaris(SunOS5.9)でNet-SNMPを使おうとしておりますが、 make時に下記エラーがでて頓挫しております。 google等で調べてみたのですが、類似事象が見つからず、ご質問させていただきます。 making all in /opt/net-snmp/net-snmp-5.4/snmplib make[1]: Entering directory `/opt/net-snmp/net-snmp-5.4/snmplib' /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../snmplib -g -O2 -Dsolaris2=solaris2 -c -o snmp_client.lo snmp_client.c gcc -I../include -I. -I../snmplib -g -O2 -Dsolaris2=solaris2 -c snmp_client.c -fPIC -DPIC -o .libs/snmp_client.o In file included from snmp_client.c:73: /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:181: warning: `NBBY' redefined /usr/include/sys/select.h:59: warning: this is the location of the previous definition In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/time.h:91, from /usr/include/sys/time.h:419, from /usr/include/sys/select.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/types.h:284, from /usr/include/sys/wait.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/stdlib.h:17, from snmp_client.c:47: /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t' /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:76: parse error before `}' In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/time.h:91, from /usr/include/sys/time.h:419, from /usr/include/sys/select.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/types.h:284, from /usr/include/sys/wait.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/stdlib.h:17, from snmp_client.c:47: /usr/include/sys/siginfo.h:284: parse error before `int32_t' /usr/include/sys/siginfo.h:284: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:284: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:286: parse error before `}' /usr/include/sys/siginfo.h:286: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:288: parse error before `}' /usr/include/sys/siginfo.h:288: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:415: parse error before `int32_t' /usr/include/sys/siginfo.h:415: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:415: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:416: conflicting types for `__rctl' /usr/include/sys/siginfo.h:285: previous declaration of `__rctl' /usr/include/sys/siginfo.h:418: parse error before `}' /usr/include/sys/siginfo.h:418: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:420: parse error before `}' /usr/include/sys/siginfo.h:420: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:424: parse error before `k_siginfo_t' /usr/include/sys/siginfo.h:424: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:428: parse error before `}' /usr/include/sys/siginfo.h:428: warning: data definition has no type or storage class In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/stdlib.h:17, from snmp_client.c:47: /usr/include/sys/wait.h:90: parse error before `siginfo_t' make[1]: *** [snmp_client.lo] Error 1 make[1]: Leaving directory `/opt/net-snmp/net-snmp-5.4/snmplib' make: *** [subdirs] Error 1 お分かりの方がいらっしゃいましたらよろしくお願い致します。

  • apache make時のエラーで困っています

    お世話になります。 apache をソースからインストールしなければならないのですが、以下のエラーが出ており、解決できません。お力をお借りできますでしょうか。 ■エラー内容------------------------------------------------- In file included from /usr/include/apr-1/apr_ldap.h:120, from /home/***/httpd-2.2.6/include/util_ldap.h:31, from exports.c:38: /usr/include/apr-1/apr_ldap_init.h:112: error: expected declaration specifiers or '...' before 'LDAP' In file included from /usr/include/apr-1/apr_ldap.h:121, from /home/***/httpd-2.2.6/include/util_ldap.h:31, from exports.c:38: /usr/include/apr-1/apr_ldap_option.h:204: error: expected declaration specifiers or '...' before 'LDAP' /usr/include/apr-1/apr_ldap_option.h:226: error: expected declaration specifiers or '...' before 'LDAP' In file included from exports.c:38: /home/***/httpd-2.2.6/include/util_ldap.h:82: error: 'LDAP_DEREF_NEVER' undeclared here (not in a function) /home/***/httpd-2.2.6/include/util_ldap.h:83: error: 'LDAP_DEREF_SEARCHING' undeclared here (not in a function) /home/***/httpd-2.2.6/include/util_ldap.h:84: error: 'LDAP_DEREF_FINDING' undeclared here (not in a function) /home/***/httpd-2.2.6/include/util_ldap.h:85: error: 'LDAP_DEREF_ALWAYS' undeclared here (not in a function) /home/***/httpd-2.2.6/include/util_ldap.h:90: error: expected specifier-qualifier-list before 'LDAP' make[2]: *** [exports.lo] エラー 1 make[2]: ディレクトリ `/home/***/httpd-2.2.6/server' から出ます make[1]: *** [all-recursive] エラー 1 make[1]: ディレクトリ `/home/***/httpd-2.2.6/server' から出ます make: *** [all-recursive] エラー 1 ------------------------------------------------------------------ OS:openSUSE 10.2 apacheのソース:httpd-2.2.6 ディレクトリ /home/***/下にソースを展開&makeしています。 openldapのインストールが必要かと思い、openldap2 2.3.27をインストールしてみましたが、変化がありませんでした。 また、configureオプションが問題かと思い、オプションを何もつけない状態で試しましたが、やはり同じエラーになります。 別環境のopenSUSE 10.0では、同じソースを使って問題なく、make、installができます。 原因として何が考えられますでしょうか。 よろしくお願いいたします。

  • make中に起こられた、tbbに関するエラーの対応方法が分からないでいます。

    皆さん、こんにちは。 C++で書いたソースをmakeしているときに 自分では解決できなかった問題に出会いました。 内容としては makeしているときに、 次に書かれているような「tbb」に関するエラーが出て、 コンパイルが進まないという件なのですが、 どうしたら問題点を解消できるのかが分からないでいます。 エラー内容は以下のとおりです。 ------------------------------------------------------- sim-main.o: In function `tbb::spin_rw_mutex_v3::scoped_lock::upgrade_to_writer()': /usr/include/tbb/spin_rw_mutex.h:118: undefined reference to `tbb::spin_rw_mutex_v3::internal_upgrade()' sim-main.o: In function `tbb::spin_rw_mutex_v3::scoped_lock::acquire(tbb::spin_rw_mutex_v3&, bool)': /usr/include/tbb/spin_rw_mutex.h:108: undefined reference to `tbb::spin_rw_mutex_v3::internal_acquire_writer()' /usr/include/tbb/spin_rw_mutex.h:109: undefined reference to `tbb::spin_rw_mutex_v3::internal_acquire_reader()' ------------------------------------------------------- 「tbb::spin_rw_mutex_v3」が参照できないよ!と 怒られているのは分かるのですが、 「spin_rw_mutex_v3」は、 同ファイル内の「spin_rw_mutex_v3」クラスで、 しっかり記述されているし、 この先、 どう自分が対応してあげればいいか? 分からないでいます。 何かアドバイスいただけると、 大変ありがたいです。 宜しくお願い致します。 開発環境はFedora9を利用しております。 42 class spin_rw_mutex_v3 {     ・     ・     ・ 72 public: 73 //! Construct unacquired mutex. 74 spin_rw_mutex_v3() : state(0) {} 75 76 #if TBB_DO_ASSERT 77 //! Destructor asserts if the mutex is acquired, i.e. state is zero. 78 ~spin_rw_mutex_v3() { 79 __TBB_ASSERT( !state, "destruction of an acquired mutex"); 80 }; 81 #endif /* TBB_DO_ASSERT */ 82 83 //! The scoped locking pattern 84 /** It helps to avoid the common problem of forgetting to release lock. 85 It also nicely provides the "node" for queuing locks. */ 86 class scoped_lock : private internal::no_copy { 87 public: 88 //! Construct lock that has not acquired a mutex. 89 /** Equivalent to zero-initialization of *this. */ 90 scoped_lock() : mutex(NULL) {} 91 92 //! Acquire lock on given mutex. 93 /** Upon entry, *this should not be in the "have acquired a mutex" state. */ 94 scoped_lock( spin_rw_mutex& m, bool write = true ) : mutex(NULL) { 95 acquire(m, write); 96 } 97 98 //! Release lock (if lock is held). 99 ~scoped_lock() { 100 if( mutex ) release(); 101 } 102 103 //! Acquire lock on given mutex. 104 void acquire( spin_rw_mutex& m, bool write = true ) { 105 __TBB_ASSERT( !mutex, "holding mutex already" ); 106 is_writer = write; 107 mutex = &m; 108 if( write ) mutex->internal_acquire_writer(); 109 else mutex->internal_acquire_reader(); 110 } 111 112 //! Upgrade reader to become a writer. 113 /** Returns true if the upgrade happened without re-acquiring the lock and false if opposite */ 114 bool upgrade_to_writer() { 115 __TBB_ASSERT( mutex, "lock is not acquired" ); 116 __TBB_ASSERT( !is_writer, "not a reader" ); 117 is_writer = true; 118 return mutex->internal_upgrade(); 119 }

  • makeについて

    quasar media playerと言うソフトをインストールしようと思いmakeの手前まではうまくいったのですがmakeで                ・                ・                ・                 省略 ../../../include/qt4/QtCore/qvector.h:321: instantiated from ‘const T& QVector<T>::operator[](int) const [with T = Skin]’ skinmanager.h:171: instantiated from here ../../../include/qt4/QtCore/qvector.h:92: error: ‘QVectorTypedData<T>::array’ has incomplete type skinmanager.h:37: error: forward declaration of ‘struct Skin’ ../../../include/qt4/QtCore/qvector.h: In member function ‘const T& QVector<T>::operator[](int) const [with T = Skin]’: skinmanager.h:171: instantiated from here ../../../include/qt4/QtCore/qvector.h:322: error: ‘struct QVectorTypedData<Skin>’ has no member named ‘array’ make: *** [configuration.o] エラー 1 root@ubuntu:/usr/local/src/v0.9_beta3# というエラーが出てきて先へ進めません。 このエラーを解決するには具体的にどうしたらいいのでしょうか。わかる方いらしたらどうかご教授よろしくお願いします。              

  • Linuxのmake時のエラーについて

    あるプログラムをmakeすると下記のメッセージが出たのですが、どうすれば正常にmakeできますでしょうか?他のPCだとできたようです。 よろしくお願い致します。 g++ -L. -lpthread -lrt -lm -o SchedFifoTest SFthread.o SchedFifoTest.o /usr/bin/ld: SchedFifoTest.o: in function `main': SchedFifoTest.cc:(.text.startup+0x5e): undefined reference to `pthread_setaffinity_np' /usr/bin/ld: SFthread.o: in function `ARCS::SFthread::SFthread(unsigned long, void (*)(void*), void*, int)': SFthread.cc:(.text+0x2e9): undefined reference to `pthread_create' /usr/bin/ld: SFthread.cc:(.text+0x336): undefined reference to `pthread_setaffinity_np' /usr/bin/ld: SFthread.o: in function `ARCS::SFthread::~SFthread()': SFthread.cc:(.text+0x36d): undefined reference to `pthread_cancel' collect2: error: ld returned 1 exit status make: *** [Makefile:51: SchedFifoTest] エラー 1

  • Solaris10でmakeがこける

    postfixをインストールしようと make makefiles CC=gcc してから makeしたのですが、 /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.6/include/sys/types.h:27:31: sys/feature_tests.h: No such file or directory isa_defs.h: No such file or directory machtypes.h: No such file or directory int_types.h: No such file or directory In file included from sys_defs.h:335,from alldig.c:29: /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.6/include/sys/types.h:68: error:syntax error before "int32_t" syntax error before "uint32_t" "int32_t" "uint32_t" "int32_t" "uint32_t" "offset_t" (中略) /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.6/include/sys/types.h:622:24: sys/select.h: No such file or directory In file included from /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.6/include/limits.h:11,from sys_defs.h:1347,from alldig.c:29: /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.6/include/syslimits.h:27:31: sys/feature_tests.h: No such file or directory isa_defs.h: No such file or directory /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.6/include/syslimits.h:29:28: iso/limits_iso.h: No such file or directory /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.6/include/syslimits.h:41:28: sys/int_limits.h: No such file or directory alldig.c:30:19: ctype.h: No such file or directory (省略しているところあります) と出てmakeできません。 見つかっていないファイル類がSolaris開発ツールっぽいのしかわからず、どうやって入手すればいいかがわかりません。 SMTP-AUTH対応できればそれでいいのでpkgadd対応版みたいなので代用も可能です。 わかる方、お願いします

  • makeでのエラー

    makeをした際に、 /usr/local/lib/gcc-lib/h8300-elf/3.3/../../../../h8300-elf/bin/ld.real:skipping incompatible /usr/local/lib/gcc-lib/h8300-elf/3.3/libgcc.a when searching for libgcc.a /usr/local/lib/gcc-lib/h8300-elf/3.3/../../../../h8300-elf/bin/ld.real: cannot find libgcc.a collect2: ld returned 1 exit status make: ***[basic1] Error 1 と表示されるのですが、このエラーとはどういう意味なのでしょうか? わかる方教えてください。お願いします。

  • libxml2のmakeでエラー

    phpをインストールする前にlibxml2が必要らしいのでインストールすることにしたのですが、make時にエラー出てしまいました。 検索したのですが自分では検討がつきません…。どのような原因なのか教えてください。 OS:fedora core 6 wget -P /usr/local/src ftp://xmlsoft.org/libxml2/libxml2-2.6.27.tar.gz # cd /usr/local/src # tar xzf libxml2-2.6.27.tar.gz # cd libxml2-2.6.27 # ./configure --prefix=/usr/local --with-low-memory # make parser.c:5103: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[2]: *** [parser.lo] Error 1 make[2]: Leaving directory `/usr/local/src/libxml2-2.6.27' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/libxml2-2.6.27' make: *** [all] Error 2 ちなみにlinuxをのせてるPCはwindowsMe時代の奴でテキストモードでしかfedora6をインストールできないようなしょぼい奴です。 基本的にソースでインストールする勉強をしているのでソースから入れようと思ってます。 mysqlのmake時にには下のようなエラーがでました。 make[2]: *** [my_write.lo] Error 1 make[2]: Leaving directory `/home/mysql/src/mysql-5.1.22-rc/libmysql' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/mysql/src/mysql-5.1.22-rc/libmysql' make: *** [all-recursive] Error 1 こちらもどこが怪しいか指摘くださると助かります。

  • sqlite.so のmakeでエラー

    お世話になります。 sqlite.so の作成において、make時にエラーが出ます。 環境 お名前.com VPS CentOS 5 PHP5.3.3 PHPバージョンアップ後、ウェブメールを使えるようにするため sqlite.so を手に入れようとしています。 もともとエラーが出るらしく、修正案を試みましたが、エラーで通りません。 修正案:http://blog.plastik.jp/archives/44 ログ: /bin/sh /tmp/SQLite-1.0.3/libtool --mode=compile cc -I/tmp/SQLite-1.0.3/libsqlite/src -I. -I/tmp/SQLite-1.0.3 -DPHP_ATOM_INC -I/tmp/SQLite-1.0.3/include -I/tmp/SQLite-1.0.3/main -I/tmp/SQLite-1.0.3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/SQLite-1.0.3/sqlite.c -o sqlite.lo cc -I/tmp/SQLite-1.0.3/libsqlite/src -I. -I/tmp/SQLite-1.0.3 -DPHP_ATOM_INC -I/tmp/SQLite-1.0.3/include -I/tmp/SQLite-1.0.3/main -I/tmp/SQLite-1.0.3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/SQLite-1.0.3/sqlite.c -fPIC -DPIC -o .libs/sqlite.o /tmp/SQLite-1.0.3/sqlite.c:125: error: 'third_arg_force_ref' undeclared here (not in a function) /tmp/SQLite-1.0.3/sqlite.c: In function 'php_sqlite_agg_step_function_callback': /tmp/SQLite-1.0.3/sqlite.c:485: error: 'zval' has no member named 'is_ref' make: *** [sqlite.lo] エラー 1 修正をした125行目含め3つでしょうか、エラーが出てます。 同じ修正をした人たちは問題なくいってるようなので、 なぜこれがでるのか判りません。 これだけの情報で判るようでしたら、解決策をお教えください。 よろしくお願いいたします。

  • TunesBrowserのmakeで失敗します

    redhat9,kernel-2.4.20-8,gcc-3.2.2-5で利用してます。 TunesBrowser(http://crazney.net/programs/itunes/tunesbrowser.html)のmake時に以下エラーで失敗します。 /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglade-2.0.so: undefined reference to `g_return_if_fail_warning' collect2: ld returned 1 exit status make[1]: *** [tunesbrowser] エラー 1 make: *** [all] エラー 2 Makefile中にはlibglade-2.0を含む項目は以下のようなものがあります。 (中略) GLADE_CFLAGS = -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include GLADE_LIBS = -Wl,--export-dynamic -L/usr/X11R6/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXext -latk-1.0 -lgdk_pixbuf-2.0 -lm -lXcursor -lpangoxft-1.0 -lXft -lfreetype -lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 (中略) TB_CFLAGS = -I/usr/local/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include (省略) またlibglade-2.0.soは /usr/lib/libglade-2.0.so にあります。 色々調べてみたところundefined referenceのエラーの時はリンクが出来ていないのが原因のようですが、リンクのさせ方が分からないので、分かる人教えてください。

このQ&Aのポイント
  • システムプログラムのバージョンによるAE-20のトランスポーズ機能の動作の違いについて質問があります。
  • システムプログラムを1.22にアップグレードした後、シーンの切り替え時にトランスポーズ値がリセットされる現象が発生しました。
  • 以前は「S1」「Transpose Up」、「S2」「Transpose Down」でトランスポーズ値の変化を制御していましたが、アップグレード後はシステム登録された値にリセットされてしまいます。そのため、シーンを切り替えてもトランスポーズ値を維持する方法を知りたいです。
回答を見る