Make error 2 ubuntu

Добро всем! Люди добрые случаем никто не знает что за ошыбка make Error 2?
  • Печать

Страницы: [1]   Вниз

Тема: ошибка Make — Error 2  (Прочитано 16900 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
perlito

Добро всем!
Люди добрые случаем никто не знает что за ошыбка make Error 2?

я столкнулся с ней при использовании PAR  архиватора(Perl)

make catalyst_par
cp lib/BookStore/Model/DB.pm blib/lib/BookStore/Model/DB.pm
cp lib/BookStore/Schema/Result/UserRole.pm blib/lib/BookStore/Schema/Result/UserRole.pm
cp lib/BookStore/Schema/Result/BookAuthor.pm blib/lib/BookStore/Schema/Result/BookAuthor.pm
cp lib/BookStore/Controller/Root.pm blib/lib/BookStore/Controller/Root.pm
cp lib/BookStore/View/HTML.pm blib/lib/BookStore/View/HTML.pm
cp lib/BookStore/Schema/Result/Author.pm blib/lib/BookStore/Schema/Result/Author.pm
cp lib/BookStore/Schema/Result/User.pm blib/lib/BookStore/Schema/Result/User.pm
cp lib/BookStore.pm blib/lib/BookStore.pm
cp lib/BookStore/Schema/Result/Role.pm blib/lib/BookStore/Schema/Result/Role.pm
cp lib/BookStore/Controller/Logout.pm blib/lib/BookStore/Controller/Logout.pm
cp lib/BookStore/Controller/Login.pm blib/lib/BookStore/Controller/Login.pm
cp lib/BookStore/Schema.pm blib/lib/BookStore/Schema.pm
cp lib/BookStore/Schema/Result/Book.pm blib/lib/BookStore/Schema/Result/Book.pm
cp lib/BookStore/Controller/Books.pm blib/lib/BookStore/Controller/Books.pm
cp script/bookstore_test.pl blib/script/bookstore_test.pl
/usr/bin/perl «-Iinc» -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/bookstore_test.pl
cp script/bookstore_cgi.pl blib/script/bookstore_cgi.pl
/usr/bin/perl «-Iinc» -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/bookstore_cgi.pl
cp script/bookstore_server.pl blib/script/bookstore_server.pl
/usr/bin/perl «-Iinc» -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/bookstore_server.pl
cp script/bookstore_fastcgi.pl blib/script/bookstore_fastcgi.pl
/usr/bin/perl «-Iinc» -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/bookstore_fastcgi.pl
cp script/bookstore_create.pl blib/script/bookstore_create.pl
/usr/bin/perl «-Iinc» -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/bookstore_create.pl
Manifying blib/man1/bookstore_test.pl.1p
Manifying blib/man1/bookstore_cgi.pl.1p
Manifying blib/man1/bookstore_server.pl.1p
Manifying blib/man1/bookstore_fastcgi.pl.1p
Manifying blib/man1/bookstore_create.pl.1p
Manifying blib/man3/BookStore::Model::DB.3pm
Manifying blib/man3/BookStore::Schema::Result::BookAuthor.3pm
Manifying blib/man3/BookStore::Schema::Result::UserRole.3pm
Manifying blib/man3/BookStore::Controller::Root.3pm
Manifying blib/man3/BookStore::Schema::Result::Author.3pm
Manifying blib/man3/BookStore::Schema::Result::User.3pm
Manifying blib/man3/BookStore::Schema::Result::Role.3pm
Manifying blib/man3/BookStore.3pm
Manifying blib/man3/BookStore::Controller::Logout.3pm
Manifying blib/man3/BookStore::Schema::Result::Book.3pm
Manifying blib/man3/BookStore::Controller::Login.3pm
Manifying blib/man3/BookStore::Controller::Books.3pm
include /home/tigran/Documents/Development/perl/BookStore/inc/Module/Install.pm
Writing PAR «bookstore.par»
make: *** [catalyst_par] Error 2

« Последнее редактирование: 18 Июня 2012, 14:36:35 от tiko.svyazist »

perlito.ru -> о perl на русском


Оффлайн
Yurror


Оффлайн
perlito

:idiot2: Ну раз обратился сюда значит google не помог

perlito.ru -> о perl на русском


Оффлайн
лесной_зонтик

Извиняюсь, а при чем тут архиватор?

Моя мечта поставить на комп Linux, Unix, *BSD, Mac OS X, OpenSolaris, OS/2, Windows.
Не спрашивайте зачем. Сам не знаю ???


Оффлайн
perlito

ну собственно выдается make: *** [catalyst_par] Error 2
вот я и подумал может make притом, али нет?, может PAR или PAR::Packer? может знает кто?

perlito.ru -> о perl на русском


Оффлайн
Olej

ну собственно выдается make: *** [catalyst_par] Error 2
вот я и подумал может make притом, али нет?, может PAR или PAR::Packer? может знает кто?

/usr/include/asm-generic/errno-base.h

#define ENOENT           2      /* No such file or directory */


Оффлайн
perlito

Что то я не понял, по подробней можно, а то я в Ubuntu новичок

perlito.ru -> о perl на русском


Оффлайн
Olej

по подробней можно

не можно ;)

коды ошибок в Linux фиксированы, их определения находятся в файле, который я показал (и ещё парочка рядом для более экзотических ошибок), ваш код: «нет такого файла или каталога».

а почему нет и какого фала в сценарии Makefile — это вам разбираться.
потому и «не можно» ;)


Оффлайн
perlito

perlito.ru -> о perl на русском


Оффлайн
Yurror

tiko.svyazist, ты бы отрыл что-нибудь еще более экзотическое и просил чтобы за тебя разобрались
Естественно всем влом что-то искать качать ставить разбираться
А жи-ши это так просто

задавай более конкретные вопросы. или просто найди человека который тебе это установит


Оффлайн
Чистый

Удалил сообщения не касающиеся темы, помните что не для всех пользователей форума русский язык является родным! Проявите уважения!

Тестовый репозиторий kdeNeur ppa:devcode/kdeneur
各々が死ぬことをどのように決定する


Оффлайн
perlito

perlito.ru -> о perl на русском


  • Печать

Страницы: [1]   Вверх

Содержание

  1. Make default error 2
  2. Build Error. make fails with Error 2 #7670
  3. Comments
  4. Installation error (make: *** [all] Error 2) #79
  5. Comments
  6. Thread: make: *** [all] Error 2
  7. make: *** [all] Error 2
  8. Re: make: *** [all] Error 2
  9. Re: make: *** [all] Error 2
  10. CPack
  11. Re: make: *** [all] Error 2
  12. Re: make: *** [all] Error 2
  13. Отладка Makefile /часть 2/
  14. Общие сообщения об ошибках
  15. Синтаксические ошибки
  16. missing separator
  17. commands commence before first target
  18. unterminated variable reference
  19. Ошибки в командных сценариях
  20. No Rule to Make Target
  21. Overriding Commands for Target

Make default error 2

Here is a list of the more common errors you might see generated by make , and some information about what they mean and how to fix them.

Sometimes make errors are not fatal, especially in the presence of a — prefix on a recipe line, or the -k command line option. Errors that are fatal are prefixed with the string *** .

Error messages are all either prefixed with the name of the program (usually ‘ make ’), or, if the error is found in a makefile, the name of the file and line number containing the problem.

In the table below, these common prefixes are left off.

‘ [ foo ] Error NN ’ ‘ [ foo ] signal description ’

These errors are not really make errors at all. They mean that a program that make invoked as part of a recipe returned a non-0 error code (‘ Error NN ’), which make interprets as failure, or it exited in some other abnormal fashion (with a signal of some type). See Errors in Recipes.

If no *** is attached to the message, then the sub-process failed but the rule in the makefile was prefixed with the — special character, so make ignored the error.

‘ missing separator. Stop. ’ ‘ missing separator (did you mean TAB instead of 8 spaces?). Stop. ’

This means that make could not understand much of anything about the makefile line it just read. GNU make looks for various separators ( : , = , recipe prefix characters, etc.) to indicate what kind of line it’s parsing. This message means it couldn’t find a valid one.

One of the most common reasons for this message is that you (or perhaps your oh-so-helpful editor, as is the case with many MS-Windows editors) have attempted to indent your recipe lines with spaces instead of a tab character. In this case, make will use the second form of the error above. Remember that every line in the recipe must begin with a tab character (unless you set .RECIPEPREFIX ; see Special Variables). Eight spaces do not count. See Rule Syntax.

‘ recipe commences before first target. Stop. ’ ‘ missing rule before recipe. Stop. ’

This means the first thing in the makefile seems to be part of a recipe: it begins with a recipe prefix character and doesn’t appear to be a legal make directive (such as a variable assignment). Recipes must always be associated with a target.

The second form is generated if the line has a semicolon as the first non-whitespace character; make interprets this to mean you left out the «target: prerequisite» section of a rule. See Rule Syntax.

‘ No rule to make target ` xxx ‘. ’ ‘ No rule to make target ` xxx ‘, needed by ` yyy ‘. ’

This means that make decided it needed to build a target, but then couldn’t find any instructions in the makefile on how to do that, either explicit or implicit (including in the default rules database).

If you want that file to be built, you will need to add a rule to your makefile describing how that target can be built. Other possible sources of this problem are typos in the makefile (if that file name is wrong) or a corrupted source tree (if that file is not supposed to be built, but rather only a prerequisite).

‘ No targets specified and no makefile found. Stop. ’ ‘ No targets. Stop. ’

The former means that you didn’t provide any targets to be built on the command line, and make couldn’t find any makefiles to read in. The latter means that some makefile was found, but it didn’t contain any default goal and none was given on the command line. GNU make has nothing to do in these situations. See Arguments to Specify the Makefile.

‘ Makefile ` xxx ‘ was not found. ’ ‘ Included makefile ` xxx ‘ was not found. ’

A makefile specified on the command line (first form) or included (second form) was not found.

‘ warning: overriding recipe for target ` xxx ‘ ’ ‘ warning: ignoring old recipe for target ` xxx ‘ ’

GNU make allows only one recipe to be specified per target (except for double-colon rules). If you give a recipe for a target which already has been defined to have one, this warning is issued and the second recipe will overwrite the first. See Multiple Rules for One Target.

‘ Circular xxx yyy dependency dropped. ’

This means that make detected a loop in the dependency graph: after tracing the prerequisite yyy of target xxx , and its prerequisites, etc., one of them depended on xxx again.

‘ Recursive variable ` xxx ‘ references itself (eventually). Stop. ’

This means you’ve defined a normal (recursive) make variable xxx that, when it’s expanded, will refer to itself ( xxx ). This is not allowed; either use simply-expanded variables (‘ := ’ or ‘ ::= ’) or use the append operator (‘ += ’). See How to Use Variables.

‘ Unterminated variable reference. Stop. ’

This means you forgot to provide the proper closing parenthesis or brace in your variable or function reference.

‘ insufficient arguments to function ` xxx ‘. Stop. ’

This means you haven’t provided the requisite number of arguments for this function. See the documentation of the function for a description of its arguments. See Functions for Transforming Text.

‘ missing target pattern. Stop. ’ ‘ multiple target patterns. Stop. ’ ‘ target pattern contains no `%’. Stop. ’ ‘ mixed implicit and static pattern rules. Stop. ’

These errors are generated for malformed static pattern rules (see Syntax of Static Pattern Rules). The first means the target-pattern part of the rule is empty; the second means there are multiple pattern characters ( % ) in the target-pattern part; the third means there are no pattern characters in the target-pattern part; and the fourth means that all three parts of the static pattern rule contain pattern characters ( % )–the first part should not contain pattern characters.

If you see these errors and you aren’t trying to create a static pattern rule, check the value of any variables in your target and prerequisite lists to be sure they do not contain colons.

‘ warning: -jN forced in submake: disabling jobserver mode. ’

This warning and the next are generated if make detects error conditions related to parallel processing on systems where sub- make s can communicate (see Communicating Options to a Sub- make ). This warning is generated if a recursive invocation of a make process is forced to have ‘ -j N ’ in its argument list (where N is greater than one). This could happen, for example, if you set the MAKE environment variable to ‘ make -j2 ’. In this case, the sub- make doesn’t communicate with other make processes and will simply pretend it has two jobs of its own.

‘ warning: jobserver unavailable: using -j1. Add `+’ to parent make rule. ’

In order for make processes to communicate, the parent will pass information to the child. Since this could result in problems if the child process isn’t actually a make , the parent will only do this if it thinks the child is a make . The parent uses the normal algorithms to determine this (see How the MAKE Variable Works). If the makefile is constructed such that the parent doesn’t know the child is a make process, then the child will receive only part of the information necessary. In this case, the child will generate this warning message and proceed with its build in a sequential manner.

‘ warning: ignoring prerequisites on suffix rule definition ’

According to POSIX, a suffix rule cannot contain prerequisites. If a rule that could be a suffix rule has prerequisites it is interpreted as a simple explicit rule, with an odd target name. This requirement is obeyed when POSIX-conforming mode is enabled (the .POSIX target is defined). In versions of GNU make prior to 4.3, no warning was emitted and a suffix rule was created, however all prerequisites were ignored and were not part of the suffix rule. Starting with GNU make 4.3 the behavior is the same, and in addition this warning is generated. In a future version the POSIX-conforming behavior will be the only behavior: no rule with a prerequisite can be suffix rule and this warning will be removed.

Источник

Build Error. make fails with Error 2 #7670

The build fails at make step with the error:

More information below.

Below error that shows in the middle of the make process, but make process continues to progress:

The make error points to line 141 of MakeFile. Clipped code from that file with line numbers as comments:

Not sure where to proceed from here. Thanks.

Edit1:
Ran again with make -d -j$(nproc) . Got the error:

Edit2:
Above seems error due to the fox library so adding below lines from CMakeCache.txt that represent fox paths:

/repos/fox-1.6.57/build/include //Path to a library. FOX_LIBRARY:FILEPATH=

The text was updated successfully, but these errors were encountered:

The errors look gtest related. The easiest workaround is to disable gtest. You can do so by setting GTEST_LIBRARY:FILEPATH= (the empty string) in your CMakeCache.txt and run make again. Did you do something to fix the missing header file error for the second run?

I experienced the same type of error, i.e. «make: *** [Makefile:141: all] Error 2». But based on the information I got from this page, i.e. «Ran again with make -d -j$(nproc)», my installation/build completed successfully. Thanks very much.

@behrisch
I tried the GTest change you had mentioned. Removed the library path from GTEST_LIBRARY:FILEPATH .
My CMakeCache.txt for relevant lines looks like:

This change is reflected when I run cmake, and now I see:
Could NOT find GTest (missing: GTEST_LIBRARY) .

But during the make -j$(nproc) , the error is:

Did you do something to fix the missing header file error for the second run?

I am not sure what you are refering to.

Update:
I was able to compile it successfully. But sumo still isn’t working.

Источник

Installation error (make: *** [all] Error 2) #79

I am having troubles installing HFO. I have followed the installation directions:

At the step make -j4 I get the following error:

[ 74%] Linking CXX static library libplayer_chain_action.a
[ 74%] Built target player_chain_action
Makefile:129: recipe for target ‘all’ failed
make: *** [all] Error 2

I am not sure how to deal with this. I am running on Ubuntu 18.04. Any idea?

The text was updated successfully, but these errors were encountered:

I haven’t tested HFO with Ubuntu 18.04, so it’s quite possible that there could be an error. Could you provide a more detailed error log (you may need to run «make clean» followed by «make VERBOSE=1»).

Hi @mhauskn, thanks for the quick reply. Here is a more detailed output:

Right, my mistake! Here’s the error message:

Ok, installation goes through with DBUILD_SOCCERWINDOW=False .

Can you provide which version of Qt4 and cmake you are using? (maybe that will do it)

Using the same Qt version didn’t succeed. Did you install Qt from source?

I have found bug report that seems similar here which suggest to patch qt as follows.

I installed Qt using apt-get. Let me know if you have success with the patch.

I am experiencing this same error.
Same versions of QMake and Qt as @mhauskn

First, thanks for the information on this issue. I had the same problem with a different software. It seems to be a conflict between qt4 (4.8.7) and boost (1.65.1), the current versions of the libraries that are on the Ubuntu 18.04 repositories.

The solution is to make moc-qt4 compile with the flags specified in this bugfix-patch of qt4: https://src.fedoraproject.org/cgit/rpms/qt.git/tree/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch (link provided by @julienroy13 above). This does not require to recompile qt4, you just need to modify your CMakeLists.txt , like follows:

I hope that this also works for your software!

Источник

Thread: make: *** [all] Error 2

Thread Tools
Display

make: *** [all] Error 2

please can you help me!
After running the follwing commands to compile ( toulbar2) mkdir build ; cd build ; cmake .. ; make package
but when i write cmake .. an error like » Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)»
and when i write make package an error like this
make[2]: *** [CMakeFiles/toulbar2.dir/src/tb2main.cpp.o] Error 1
make[2]: Leaving directory `/home/dell/Bureau/toulbar2/build’
make[1]: *** [CMakeFiles/toulbar2.dir/all] Error 2
make[1]: Leaving directory `/home/dell/Bureau/toulbar2/build’
make: *** [all] Error 2

Re: make: *** [all] Error 2

It cannot find doxygen, so install doxygen

Re: make: *** [all] Error 2

CPack

After running the follwing commands to compile make package ;
an error

CPackRPM ebug: *** error: No compatible architectures found for build
***
CPackRPM ebug: — /home/dell/Bureau/toulbar2/_CPack_Packages/Linux/RPM/rpmbuild.out
CPackRPM ebug: *** error: No compatible architectures found for build
***
CPack Error: Problem copying the package: /home/dell/Bureau/toulbar2/_CPack_Packages/Linux/RPM/toulbar2.0.9.5.0-Release-x86_64.rpm to /home/dell/Bureau/toulbar2/toulbar2.0.9.5.0-Release-x86_64.rpm
CPack Error: Error when generating package: toulbar2
make: *** [package] Error 1

can one help me? thanks

Re: make: *** [all] Error 2

Threads merged and moved to Packaging & Compiling Programs. Please don’t open more than one thread for the same or similar questions.

Re: make: *** [all] Error 2

Are you trying to generate an RPM package on Ubuntu? Why? Doesn’t the cmake script for the software you’re building has an option not to generate it? To find it out, try to run cmake interactively:

Источник

Отладка Makefile /часть 2/

В этой части поговорим об общих методах и проблемах отладки. В конечном итоге, отладка — это солянка из всего, что работает в данной конкретной ситуации. Эти методы работают для меня и мне приходится полагаться на них даже в случае проблем с простейшими makefile. Может быть, они помогут и тебе тоже.

Один из очень раздражающих багов в make 3.80 был в сообщении об ошибке в makefile, где make указывал номер строки, и обычно этот номер строки был неверный. Я не удосужился исследовать из-за чего эта проблема возникает: из-за импортируемых файлов, присваиваний многострочных переменных или из-за пользовательских макросов. Обычно, make дает номер строки больше чем должен был бы. В сложных makefile бывает что номер не совпадает на 20 строк.

Часто наиболее простой путь увидеть значение переменной это напечатать его в ходе выполнения цели. И хотя распечатать легко можно с помощью warning , в долгой перспективе поможет сэкономить много времени немного усилий на добавление общей цели debug для вывода переменных. Вот примерный код цели debug :

Для того чтобы использовать её, нужно перечислить имена переменных которые надо распечатать в командной строке и собрать debug цель:

Если уж совсем делать всё волшебно, то можно использовать MAKECMDGOALS переменную, чтобы избежать присвоения переменной V :

Теперь можно выводить переменные просто перечислив их в командной строке. Однако, я не рекомендую этот способ, так как предупреждения make о невозможности обновлении переменных (так как они указаны как цели) могут сбить с толку:

В то время как make выводит команды из сценариев цели до их выполнения, он не выводит команды выполняющиеся в shell функции. Часто эти команды сложные и неуловимые в том плане, что могут выполняться как незамедлительно, так и в отложенной манере, если они были вызваны в значении рекурсивной переменной. Один из способов увидеть эти команды — включить отладку в самой оболочке:

Если это запустить с опцией отладки sh , мы увидим:

Можно заметить, что также выводятся значения всех переменных и выражений.

Часто встречаются сильно вложенные выражения, например, для оперирования с именами файлов:

Ничего хорошего в отладке таких выражений нет. Один из разумных подходов будет их разворот и печать каждого подвыражения:

Весьма нудно, но без настоящего отладчика это лучший путь (иногда единственный) для определения значений различных подвыражений.

Общие сообщения об ошибках

В руководстве make есть замечательный раздел со списком сообщений об ошибках make и их причин. Мы рассмотрим немного из наиболее часто встречаемых. Некоторые описанные проблемы, строго говоря, не являются ошибками make , такие как синтаксические в командных сценариях, но все же обычными проблемами для разработчиков. Полный список смотри в руководстве.

Сообщение make об ошибке имеет стандартный формат:

где makefile строка — это имя файла или импортированного файла в котором произошла ошибка. Следующая часть — номер строки, в которой произошла ошибка, далее следуют три звездочки, и, наконец, само сообщение.

Заметим, что это задача make запускать другие программы и таким образом, если при этом возникают ошибки, скорее всего проблемы в твоём makefile вызвали ошибки в этих других программах. Для примера, ошибки оболочки могут быть из-за плохо сформированных командных сценариев, или ошибок компилятора из-за некорректных аргументов командной строки. Выяснение того, какая программа выдала сообщение об ошибке — первоочередная задача при решении проблемы. К счастью, сообщения make довольно очевидны.

Синтаксические ошибки

Обычно это типографические ошибки: пропущенные скобки, пробелы после запятых в параметрах функции, и так далее.

Одна из наиболее частых ошибок для новых пользователей make это опускание скобок вокруг имен переменных:

Скорее всего, make развернёт переменную $S в ничего, и оболочка выполнит цикл только раз со значением OURCES в f . В зависимости от того, что ты собрался делать с f , можно получить забавные сообщения оболочки:

но можно и не получить сообщения вовсе. Помни — имена переменных обрамляются скобками.

missing separator

или (в GNU make — пер.):

обычно означает make искал разделитель, такой как :, =, или табуляцию и не нашел ни одного. Вместо этого, он нашел что-то что он не понял.

commands commence before first target

Эта ошибка появляется в основном в середине makefile, когда строка вне командного сценария начинается с отступа (пробелы или символ табуляции). make сделает все возможное, чтобы устранить неоднозначность этой ситуации, но если строка не может быть идентифицирована как присваивание значения, условное выражение или многострочное определение макроса, make решит что это неправильно размещенная команда.

unterminated variable reference

Это простая, но распространённая ошибка. Она означает, что ты забыл закрыть имя переменной или вызов функции правильным количеством скобок. С сильно вложенными вызовами функций и именами переменных make файлы становятся похожими на Lisp! Избежать этого поможет хороший редактор, который умеет сопоставлять скобки, такой как Emacs.

Ошибки в командных сценариях

Есть три типа частых ошибок в командных сценариях: пропущенная точка с запятой в многострочных командах, незаконченная или неверная переменная пути, или просто команда, которая просто обнаружила проблему в ходе выполнения.

Мы обсуждали пропущенные точки с запятыми в разделе «лучшие практики», поэтому не будем на этом останавливаться здесь.

выводится, когда оболочка не смогла найти команду foo . Так, оболочка поискала в каждой папке из переменной PATH исполняемый файл и не нашла совпадений. Чтобы исправить такую ошибку, нужно обновить PATH переменную, обычно в .profile (Bourne shell), .bashrc (bash) или .cshrc (C shell). Конечно, можно также установить PATH в самом makefile, и экспортировать PATH из make .

Если же команда завершилась с ошибкой, она выходит с ненулевым статусом выхода. В этом случае, make отчитается об ошибке со следующим сообщением:

Здесь touch команда не сработала, что напечатало своё собственное сообщение объясняющее сбой. Следующая строка — это итоговая ошибка make . Упавшая цель в makefile указана в квадратных скобках, а затем статус выхода упавшей программы. Если программа вышла по сигналу, а не с ненулевым статусом выхода, то make напечатает более подробное сообщение.

Заметим также, что команды под знаком @ также могут упасть. В этом случае сообщение об ошибке может возникнуть как будто оно из ниоткуда.

В обоих случаях ошибка происходит из программ запускаемых make , нежели от самого make .

No Rule to Make Target

Это сообщение имеет две формы:

Это означает, что make решил обновить файл XXX, но make не смог найти ни одного правила для выполнения работы. make ищет во всех явных и неявных правилах в его базе данных прежде чем сдаться и вывести это сообщение.

Есть три причины для этой ошибки:

  • В твоем makefile отсутствует необходимое правило для обновления файла. В этом случае тебе необходимо добавить правило с описанием как построить цель.
  • В makefile — опечатка. Или make ищет неверный файл или в правиле построения этого файла указан неверный файл. Если в makefile используются переменные, то опечатки становится еще труднее отыскать. Иногда единственный путь быть точно уверенным в значении сложного имени файла это напечатать его или печатая переменную напрямую или исследуя внутреннюю базу данных make .

Файл должен быть, но make не находит его или из-за того, что его нет, или make не знает где его искать. Конечно, иногда make абсолютно прав. Файла нет — похоже мы забыли его скачать из VCS . Еще чаще, make не может найти файл из-за того, что исходник расположен где-то еще. Иногда исходник в другом дереве исходников, или может файл генерируется другой программой и создался в папке артефактов сборки.

Overriding Commands for Target

make позволяет только один командный сценарий для цели (за исключением «::» правил, которые редко используются). Если встретится больше чем один командный сценарий для одной цели, make выведет предупреждение:

Также он может вывести сообщение:

Первое предупреждение показывает строку, на которой был найден второй сценарий команд; тогда как второе предупреждение указывает на позицию исходного переопределённого командного сценария.

В сложных makefile цели часто определены несколько раз, каждый раз добавляя еще собственные требования. Одно из этих определений цели обычно содержит командный сценарий, но в ходе разработки или отладки очень легко добавить еще один и не заметить, что существующий набор команд уже переопределен.

Например, мы могли бы определить общную цель во включаемом файле:

и позволим нескольким отдельным makefile добавить свои собственные требования. Мы могли бы записать в makefile:

Если непреднамеренно добавить командный сценарий в такой makefile, make выдаст предупреждение переопределения.

Источник

I am trying to set up a cross-compiler for i686-elf on Ubuntu following the OSDev GCC Cross-Compiler Tutuorial. However, the code to set up GCC fails to build every time. I know my sources are not out of date because I sudo apt-get update‘d before doing anything.

In order to get the packages I needed, I did:

sudo apt-get install g++
sudo apt-get install make
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install libgmp3-dev
sudo apt-get install libmpfr-dev libmpfr-doc libmpfr4 libmpfr4-dbg
sudo apt-get install mpc
sudo apt-get install texinfo
sudo apt-get install libcloog-isl-dev

I think there is no problem with that method?

Then, with gcc-5.2.0 and binutils-2.25.1 (in ubuntu, bintuils appears to not work with anything above that old version) I installed binutils just fine. I went to build gcc but when I typed in make, I got the following error:

Unfortunately, I can’t copy+paste 30 pages in, but this all the code near the end:

checking command to parse nm output from gcc  -m32 object... failed
checking how to run the C preprocessor... /lib/cpp
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc  -m32 supports -fno-rtti -fno-exceptions... no
checking for gcc  -m32 option to produce PIC... -fPIC -DPIC
checking if gcc  -m32 PIC flag -fPIC -DPIC works... yes
checking if gcc  -m32 static flag -static works... no
checking if gcc  -m32 supports -c -o file.o... yes
checking if gcc  -m32 supports -c -o file.o... (cached) yes
checking whether the gcc  -m32 linker (ld -m elf_x86_64 -m elf_i386) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
Makefile:9590: recipe for target 'configure-zlib' failed
make[1]: *** [configure-zlib] Error 1
make[1]: Leaving directory '/home/david/scr'
Makefile:876: recipe for target 'all' failed
make: *** [all] Error 2

And this is the part (right after that) where something really bad happens:

checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
Makefile:9590: recipe for target 'configure-zlib' failed
make[1]: *** [configure-zlib] Error 1
make[1]: Leaving directory '/home/david/scr'
Makefile:876: recipe for target 'all' failed
make: *** [all] Error 2

Can anyone tell me what I am doing wrong and how I would fix it?

Thanks!

Trying to Build and Install the Apache Thrift compiler and libraries —

./configure && make

But then I get make error which I don’t seem to understand where it fails…

thrift 0.9.3

Building C++ Library ......... : no
Building C (GLib) Library .... : no
Building Java Library ........ : no
Building C# Library .......... : no
Building Python Library ...... : no
Building Ruby Library ........ : no
Building Haxe Library ........ : no
Building Haskell Library ..... : no
Building Perl Library ........ : no
Building PHP Library ......... : no
Building Erlang Library ...... : no
Building Go Library .......... : no
Building D Library ........... : no
Building NodeJS Library ...... : no
Building Lua Library ......... : no

If something is missing that you think should be present,
please skim the output of configure to find the missing
component.  Details are present in config.log.
make  all-recursive
make[1]: Entering directory '/c/University/InternetOfThings/thrift-0.9.3'
Making all in compiler/cpp
make[2]: Entering directory '/c/University/InternetOfThings/thrift-0.9.3/compile                                                                                                                                                 r/cpp'
make  all-am
make[3]: Entering directory '/c/University/InternetOfThings/thrift-0.9.3/compile                                                                                                                                                 r/cpp'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I./src  -Wall -Wno-                                                                                                                                                 sign-compare -Wno-unused -g -O2 -std=c++11 -MT src/libparse_a-thrifty.o -MD -MP                                                                                                                                                  -MF src/.deps/libparse_a-thrifty.Tpo -c -o src/libparse_a-thrifty.o `test -f 'sr                                                                                                                                                 c/thrifty.cc' || echo './'`src/thrifty.cc
src/thrifty.yy: In function 'int yyparse()':
src/thrifty.yy:1309:30: error: 'strdup' was not declared in this scope
Makefile:912: recipe for target 'src/libparse_a-thrifty.o' failed
make[3]: *** [src/libparse_a-thrifty.o] Error 1
make[3]: Leaving directory '/c/University/InternetOfThings/thrift-0.9.3/compiler                                                                                                                                                 /cpp'
Makefile:588: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/c/University/InternetOfThings/thrift-0.9.3/compiler                                                                                                                                                 /cpp'
Makefile:609: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/c/University/InternetOfThings/thrift-0.9.3'
Makefile:530: recipe for target 'all' failed
make: *** [all] Error 2

Help will be appreciated. Thanks in advance!

asked Nov 23, 2016 at 12:57

Tony Tannous's user avatar

1

This is the relevant error:

src/thrifty.yy: In function 'int yyparse()':
src/thrifty.yy:1309:30: error: 'strdup' was not declared in this scope

Probably an include is missing. You may try to add

 #include <string.h>

to the top of the file src/thrifty.yy

And report the bug to the http://incubator.apache.org/projects/thrift.html

answered Nov 23, 2016 at 13:03

rudimeier's user avatar

rudimeierrudimeier

9,6392 gold badges33 silver badges44 bronze badges

2

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


Open

julienroyd opened this issue

Oct 25, 2018

· 12 comments

Comments

@julienroyd

I am having troubles installing HFO. I have followed the installation directions:

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RelwithDebInfo ..
make -j4
make install

At the step make -j4 I get the following error:

[ 74%] Linking CXX static library libplayer_chain_action.a
[ 74%] Built target player_chain_action
Makefile:129: recipe for target ‘all’ failed
make: *** [all] Error 2

I am not sure how to deal with this. I am running on Ubuntu 18.04. Any idea?

@mhauskn

I haven’t tested HFO with Ubuntu 18.04, so it’s quite possible that there could be an error. Could you provide a more detailed error log (you may need to run «make clean» followed by «make VERBOSE=1»).

@julienroyd

Hi @mhauskn, thanks for the quick reply. Here is a more detailed output:

cmake -DCMAKE_BUILD_TYPE=RelwithDebInfo ..

-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   filesystem
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- Found FLEX: /usr/bin/flex (found version "2.6.4") 
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.7") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user1/packages/HFO/build

make VERBOSE=1 -j4

.
.
.
bunch of stuff
.
.
.

[ 73%] Building CXX object CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o
/usr/bin/c++  -DELOG -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/rcssbase -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/src -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/src -I/home/user1/packages/HFO/src/chain_action  -std=c++11 -fPIC -O2 -g -DNDEBUG   -o CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o -c /home/user1/packages/HFO/src/chain_action/strict_check_pass_generator.cpp
[ 73%] Building CXX object CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o
/usr/bin/c++  -DELOG -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/rcssbase -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/src -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/src -I/home/user1/packages/HFO/src/chain_action  -std=c++11 -fPIC -O2 -g -DNDEBUG   -o CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o -c /home/user1/packages/HFO/src/chain_action/tackle_generator.cpp
[ 74%] Linking CXX static library libplayer_chain_action.a
/usr/bin/cmake -P CMakeFiles/player_chain_action.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/player_chain_action.dir/link.txt --verbose=1
/usr/bin/ar qc libplayer_chain_action.a  CMakeFiles/player_chain_action.dir/src/bhv_basic_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_basic_offensive_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_basic_tackle.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_custom_before_kick_off.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_force_pass.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_go_to_static_ball.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_basic_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_chase_ball.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_prepare_set_play_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_goal_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_indirect_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_kick_in.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_kick_off.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_their_goal_kick_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_penalty_kick.cpp.o CMakeFiles/player_chain_action.dir/src/feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/lowlevel_feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/highlevel_feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/neck_default_intercept_neck.cpp.o CMakeFiles/player_chain_action.dir/src/neck_goalie_turn_neck.cpp.o CMakeFiles/player_chain_action.dir/src/neck_offensive_intercept_neck.cpp.o CMakeFiles/player_chain_action.dir/src/view_tactical.cpp.o CMakeFiles/player_chain_action.dir/src/intention_receive.cpp.o CMakeFiles/player_chain_action.dir/src/intention_wait_after_set_play_kick.cpp.o CMakeFiles/player_chain_action.dir/src/soccer_role.cpp.o CMakeFiles/player_chain_action.dir/src/role_center_back.cpp.o CMakeFiles/player_chain_action.dir/src/role_center_forward.cpp.o CMakeFiles/player_chain_action.dir/src/role_defensive_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_goalie.cpp.o CMakeFiles/player_chain_action.dir/src/role_offensive_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_sample.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_back.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_forward.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_keepaway_keeper.cpp.o CMakeFiles/player_chain_action.dir/src/role_keepaway_taker.cpp.o CMakeFiles/player_chain_action.dir/src/sample_communication.cpp.o CMakeFiles/player_chain_action.dir/src/keepaway_communication.cpp.o CMakeFiles/player_chain_action.dir/src/sample_field_evaluator.cpp.o CMakeFiles/player_chain_action.dir/src/sample_player.cpp.o CMakeFiles/player_chain_action.dir/src/strategy.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_cross.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_direct_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_self_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_short_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_simple_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_strict_check_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/action_chain_graph.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/action_chain_holder.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_chain_action.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_normal_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_pass_kick_find_receiver.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_strict_check_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/body_force_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/clear_ball.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/clear_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/cooperative_action.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/cross_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/field_analyzer.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/hold_ball.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/neck_turn_to_receiver.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/predict_state.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/self_pass_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/shoot_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/short_dribble_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/simple_pass_checker.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o
/usr/bin/ranlib libplayer_chain_action.a
make[2]: Leaving directory '/home/user1/packages/HFO/build'
[ 74%] Built target player_chain_action
make[1]: Leaving directory '/home/user1/packages/HFO/build'
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

@mhauskn

Unfortunately, this doesn’t contain the actual error message. It’s
necessary to single-threaded build so the error doesn’t get buried. Could
you `make clean` and `make VERBOSE=1`

On Mon, Oct 29, 2018 at 8:14 AM Julien Roy ***@***.***> wrote:
Hi @mhauskn <https://github.com/mhauskn>, thanks for the quick reply.
Here is a more detailed output:

cmake -DCMAKE_BUILD_TYPE=RelwithDebInfo ..

— The C compiler identification is GNU 7.3.0
— The CXX compiler identification is GNU 7.3.0
— Check for working C compiler: /usr/bin/cc
— Check for working C compiler: /usr/bin/cc — works
— Detecting C compiler ABI info
— Detecting C compiler ABI info — done
— Detecting C compile features
— Detecting C compile features — done
— Check for working CXX compiler: /usr/bin/c++
— Check for working CXX compiler: /usr/bin/c++ — works
— Detecting CXX compiler ABI info
— Detecting CXX compiler ABI info — done
— Detecting CXX compile features
— Detecting CXX compile features — done
— Boost version: 1.65.1
— Found the following Boost libraries:
— system
— filesystem
— Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version «1.2.11»)
— Found FLEX: /usr/bin/flex (found version «2.6.4»)
— Looking for Q_WS_X11
— Looking for Q_WS_X11 — found
— Looking for Q_WS_WIN
— Looking for Q_WS_WIN — not found
— Looking for Q_WS_QWS
— Looking for Q_WS_QWS — not found
— Looking for Q_WS_MAC
— Looking for Q_WS_MAC — not found
— Found Qt4: /usr/bin/qmake-qt4 (found version «4.8.7»)
— Configuring done
— Generating done
— Build files have been written to: /home/user1/packages/HFO/build

make VERBOSE=1 -j4

.
.
.
bunch of stuff
.
.
.

[ 73%] Building CXX object CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o
/usr/bin/c++ -DELOG -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/rcssbase -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/src -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/src -I/home/user1/packages/HFO/src/chain_action -std=c++11 -fPIC -O2 -g -DNDEBUG -o CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o -c /home/user1/packages/HFO/src/chain_action/strict_check_pass_generator.cpp
[ 73%] Building CXX object CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o
/usr/bin/c++ -DELOG -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/rcssbase -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/src -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/src -I/home/user1/packages/HFO/src/chain_action -std=c++11 -fPIC -O2 -g -DNDEBUG -o CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o -c /home/user1/packages/HFO/src/chain_action/tackle_generator.cpp
[ 74%] Linking CXX static library libplayer_chain_action.a
/usr/bin/cmake -P CMakeFiles/player_chain_action.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/player_chain_action.dir/link.txt —verbose=1
/usr/bin/ar qc libplayer_chain_action.a CMakeFiles/player_chain_action.dir/src/bhv_basic_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_basic_offensive_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_basic_tackle.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_custom_before_kick_off.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_force_pass.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_go_to_static_ball.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_basic_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_chase_ball.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_prepare_set_play_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_goal_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_indirect_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_kick_in.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_kick_off.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_their_goal_kick_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_penalty_kick.cpp.o CMakeFiles/player_chain_action.dir/src/feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/lowlevel_feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/highlevel_feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/neck_default_intercept_neck.cpp.o CMakeFiles/player_chain_action.dir/src/neck_goalie_turn_neck.cpp.o CMakeFiles/player_chain_action.dir/src/neck_offensive_intercept_neck.cpp.o CMakeFiles/player_chain_action.dir/src/view_tactical.cpp.o CMakeFiles/player_chain_action.dir/src/intention_receive.cpp.o CMakeFiles/player_chain_action.dir/src/intention_wait_after_set_play_kick.cpp.o CMakeFiles/player_chain_action.dir/src/soccer_role.cpp.o CMakeFiles/player_chain_action.dir/src/role_center_back.cpp.o CMakeFiles/player_chain_action.dir/src/role_center_forward.cpp.o CMakeFiles/player_chain_action.dir/src/role_defensive_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_goalie.cpp.o CMakeFiles/player_chain_action.dir/src/role_offensive_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_sample.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_back.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_forward.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_keepaway_keeper.cpp.o CMakeFiles/player_chain_action.dir/src/role_keepaway_taker.cpp.o CMakeFiles/player_chain_action.dir/src/sample_communication.cpp.o CMakeFiles/player_chain_action.dir/src/keepaway_communication.cpp.o CMakeFiles/player_chain_action.dir/src/sample_field_evaluator.cpp.o CMakeFiles/player_chain_action.dir/src/sample_player.cpp.o CMakeFiles/player_chain_action.dir/src/strategy.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_cross.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_direct_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_self_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_short_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_simple_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_strict_check_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/action_chain_graph.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/action_chain_holder.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_chain_action.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_normal_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_pass_kick_find_receiver.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_strict_check_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/body_force_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/clear_ball.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/clear_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/cooperative_action.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/cross_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/field_analyzer.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/hold_ball.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/neck_turn_to_receiver.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/predict_state.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/self_pass_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/shoot_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/short_dribble_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/simple_pass_checker.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o
/usr/bin/ranlib libplayer_chain_action.a
make[2]: Leaving directory ‘/home/user1/packages/HFO/build’
[ 74%] Built target player_chain_action
make[1]: Leaving directory ‘/home/user1/packages/HFO/build’
Makefile:129: recipe for target ‘all’ failed
make: *** [all] Error 2


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#79 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABNOaNRCITsWqheeaIzmiL6bGDIFkytks5upxthgaJpZM4X69u_>
.

@julienroyd

Right, my mistake! Here’s the error message:

make VERBOSE=1

[ 69%] Performing build step for 'soccerwindow2'
cd /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build && make
make[3]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
/usr/bin/cmake -H/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -B/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[4]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
make -f CMakeFiles/soccerwindow2_autogen.dir/build.make CMakeFiles/soccerwindow2_autogen.dir/depend
make[5]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
cd /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/DependInfo.cmake --color=
Dependee "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/DependInfo.cmake" is newer than depender "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/depend.internal".
Dependee "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/depend.internal".
Scanning dependencies of target soccerwindow2_autogen
make[5]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
make -f CMakeFiles/soccerwindow2_autogen.dir/build.make CMakeFiles/soccerwindow2_autogen.dir/build
make[5]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
[  2%] Automatic MOC for target soccerwindow2
/usr/bin/cmake -E cmake_autogen /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir MinSizeRel
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/ball.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_client_parser.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_holder.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_view_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/main_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/monitor_view_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/options.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/player.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/playmode.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/team.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/trainer_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/view_holder.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter_rcss.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_trace_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_server.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/detail_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/dir_selector.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/draw_config.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_canvas.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/font_setting_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/image_save_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/launcher_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player_tool_bar.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main_window.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_client.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_move_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/offside_line_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_control_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter_rcss.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_trace_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_type_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter_rcss.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/team_graphic_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/view_config_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/voronoi_diagram_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/ball.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_client_parser.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_holder.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_view_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/main_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/monitor_view_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/options.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/player.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/playmode.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/team.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/trainer_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/view_holder.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter_rcss.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_trace_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_server.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/detail_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/dir_selector.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/draw_config.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_canvas.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/font_setting_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/image_save_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/launcher_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player_tool_bar.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main_window.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_client.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_move_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/offside_line_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_control_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter_rcss.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_trace_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_type_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter_rcss.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/team_graphic_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/view_config_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/voronoi_diagram_painter.h
Generating MOC source 26NLMM5NFG/moc_color_setting_dialog.cpp
AutoMoc: Generating "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_color_setting_dialog.cpp" from its source file "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h" because it doesn't exist
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_color_setting_dialog.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h
Generating MOC source 26NLMM5NFG/moc_debug_log_dir_dialog.cpp
AutoMoc: Generating "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_log_dir_dialog.cpp" from its source file "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h" because it doesn't exist
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_log_dir_dialog.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h
Generating MOC source 26NLMM5NFG/moc_debug_message_window.cpp
AutoMoc: Generating "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp" from its source file "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h" because it doesn't exist
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h

AutoMoc subprocess error
------------------------
moc failed for
  "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h"

Command
-------
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h

Output
------
/usr/include/boost/predef/language/stdc.h:52: Parse error at "defined"

CMakeFiles/soccerwindow2_autogen.dir/build.make:57: recipe for target 'CMakeFiles/soccerwindow2_autogen' failed
make[5]: *** [CMakeFiles/soccerwindow2_autogen] Error 1
make[5]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/soccerwindow2_autogen.dir/all' failed
make[4]: *** [CMakeFiles/soccerwindow2_autogen.dir/all] Error 2
make[4]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
Makefile:83: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
CMakeFiles/soccerwindow2.dir/build.make:112: recipe for target 'soccerwindow2-prefix/src/soccerwindow2-stamp/soccerwindow2-build' failed
make[2]: *** [soccerwindow2-prefix/src/soccerwindow2-stamp/soccerwindow2-build] Error 2
make[2]: Leaving directory '/home/user1/packages/HFO/build'
CMakeFiles/Makefile2:218: recipe for target 'CMakeFiles/soccerwindow2.dir/all' failed
make[1]: *** [CMakeFiles/soccerwindow2.dir/all] Error 2
make[1]: Leaving directory '/home/user1/packages/HFO/build'
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

@mhauskn

Looks like qt4 is having an error building the soccer visualizer. The
relevant part of the error seems to be:
/usr/include/boost/predef/language/stdc.h:52: Parse error at «defined»

Short workaround is to build without Soccerwindow:

cmake -DCMAKE_BUILD_TYPE=RelwithDebInfo -DBUILD_SOCCERWINDOW=False ..

On Tue, Oct 30, 2018 at 6:54 AM Julien Roy ***@***.***> wrote:
Right, my mistake! Here’s the error message:

make VERBOSE=1

[ 69%] Performing build step for ‘soccerwindow2’
cd /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build && make
make[3]: Entering directory ‘/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build’
/usr/bin/cmake -H/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -B/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build —check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[4]: Entering directory ‘/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build’
make -f CMakeFiles/soccerwindow2_autogen.dir/build.make CMakeFiles/soccerwindow2_autogen.dir/depend
make[5]: Entering directory ‘/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build’
cd /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build && /usr/bin/cmake -E cmake_depends «Unix Makefiles» /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/DependInfo.cmake —color=
Dependee «/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/DependInfo.cmake» is newer than depender «/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/depend.internal».
Dependee «/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/CMakeDirectoryInformation.cmake» is newer than depender «/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/depend.internal».
Scanning dependencies of target soccerwindow2_autogen
make[5]: Leaving directory ‘/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build’
make -f CMakeFiles/soccerwindow2_autogen.dir/build.make CMakeFiles/soccerwindow2_autogen.dir/build
make[5]: Entering directory ‘/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build’
[ 2%] Automatic MOC for target soccerwindow2
/usr/bin/cmake -E cmake_autogen /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir MinSizeRel
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/ball.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_client_parser.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_holder.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_view_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/main_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/monitor_view_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/options.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/player.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/playmode.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/team.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/trainer_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/view_holder.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter_rcss.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_trace_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_server.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/detail_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/dir_selector.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/draw_config.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_canvas.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/font_setting_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/image_save_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/launcher_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player_tool_bar.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main_window.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_client.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_move_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/offside_line_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_control_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter_rcss.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_trace_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_type_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter_rcss.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/team_graphic_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/view_config_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/voronoi_diagram_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/ball.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_client_parser.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_holder.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_view_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/main_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/monitor_view_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/options.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/player.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/playmode.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/team.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/trainer_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/view_holder.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter_rcss.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_trace_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_server.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/detail_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/dir_selector.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/draw_config.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_canvas.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/font_setting_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/image_save_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/launcher_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player_tool_bar.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main_window.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_client.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_move_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/offside_line_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_control_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter_rcss.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_trace_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_type_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter_rcss.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/team_graphic_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/view_config_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/voronoi_diagram_painter.h
Generating MOC source 26NLMM5NFG/moc_color_setting_dialog.cpp
AutoMoc: Generating «/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_color_setting_dialog.cpp» from its source file «/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h» because it doesn’t exist
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_color_setting_dialog.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h
Generating MOC source 26NLMM5NFG/moc_debug_log_dir_dialog.cpp
AutoMoc: Generating «/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_log_dir_dialog.cpp» from its source file «/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h» because it doesn’t exist
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_log_dir_dialog.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h
Generating MOC source 26NLMM5NFG/moc_debug_message_window.cpp
AutoMoc: Generating «/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp» from its source file «/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h» because it doesn’t exist
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h

AutoMoc subprocess error
————————
moc failed for
«/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h»

Command
——-
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h

Output
——
/usr/include/boost/predef/language/stdc.h:52: Parse error at «defined»

CMakeFiles/soccerwindow2_autogen.dir/build.make:57: recipe for target ‘CMakeFiles/soccerwindow2_autogen’ failed
make[5]: *** [CMakeFiles/soccerwindow2_autogen] Error 1
make[5]: Leaving directory ‘/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build’
CMakeFiles/Makefile2:104: recipe for target ‘CMakeFiles/soccerwindow2_autogen.dir/all’ failed
make[4]: *** [CMakeFiles/soccerwindow2_autogen.dir/all] Error 2
make[4]: Leaving directory ‘/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build’
Makefile:83: recipe for target ‘all’ failed
make[3]: *** [all] Error 2
make[3]: Leaving directory ‘/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build’
CMakeFiles/soccerwindow2.dir/build.make:112: recipe for target ‘soccerwindow2-prefix/src/soccerwindow2-stamp/soccerwindow2-build’ failed
make[2]: *** [soccerwindow2-prefix/src/soccerwindow2-stamp/soccerwindow2-build] Error 2
make[2]: Leaving directory ‘/home/user1/packages/HFO/build’
CMakeFiles/Makefile2:218: recipe for target ‘CMakeFiles/soccerwindow2.dir/all’ failed
make[1]: *** [CMakeFiles/soccerwindow2.dir/all] Error 2
make[1]: Leaving directory ‘/home/user1/packages/HFO/build’
Makefile:129: recipe for target ‘all’ failed
make: *** [all] Error 2


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#79 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABNOcnzG2UtZsMyeficfx1yud6nBdvUks5uqFosgaJpZM4X69u_>
.

@julienroyd

Ok, installation goes through with DBUILD_SOCCERWINDOW=False.

Can you provide which version of Qt4 and cmake you are using? (maybe that will do it)

@mhauskn

@julienroyd

Using the same Qt version didn’t succeed. Did you install Qt from source?

I have found bug report that seems similar here which suggest to patch qt as follows.

@mhauskn

I installed Qt using apt-get. Let me know if you have success with the patch.

@G-Thor

I am experiencing this same error.
Same versions of QMake and Qt as @mhauskn

@jespestana

First, thanks for the information on this issue. I had the same problem with a different software. It seems to be a conflict between qt4 (4.8.7) and boost (1.65.1), the current versions of the libraries that are on the Ubuntu 18.04 repositories.

The solution is to make moc-qt4 compile with the flags specified in this bugfix-patch of qt4: https://src.fedoraproject.org/cgit/rpms/qt.git/tree/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch (link provided by @julienroy13 above). This does not require to recompile qt4, you just need to modify your CMakeLists.txt , like follows:

if (Boost_MINOR_VERSION LESS 65)
  QT4_WRAP_CPP(application_HEADERS_MOC ${application_HEADERS} OPTIONS -DBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) #for boost previous to 1.65.1
else(Boost_MINOR_VERSION LESS 65)
  QT4_WRAP_CPP(application_HEADERS_MOC ${application_HEADERS} OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED -DBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -DBOOST_LEXICAL_CAST_INCLUDED -DBOOST_NEXT_PRIOR_HPP_INCLUDED -DBOOST_TYPE_TRAITS_HPP -D_SYS_SYSMACROS_H_OUTER) #for boost 1.65.1
endif(Boost_MINOR_VERSION LESS 65)

I hope that this also works for your software!

Bardo91

pushed a commit
to Bardo91/openrave
that referenced
this issue

Sep 11, 2019

@lafmdp

I’ve found a solution to this issue.

First, «sudo apt install libfl-dev»

Second, refer to above answer and add the additional lines to the front of the CmakeFile.txt

  1. make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip)

    Hey guys I’ve started using Ubuntu for a week and still can’t install the wifi driver for the TP-LINK TL-WN727N USB adapter (RT2870 chip from Ralink). It’s pretty annoying cuz it happens everytime I install anything from the terminal. Here’s the codes and my system specs :

    Code:

    hieutotet@Alpine:~/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870$ sudo make[sudo] password for hieutotet: 
    make -C tools
    make[1]: Entering directory `/home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/tools'
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/tools/bin2h
    cp -f os/linux/Makefile.6 /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/Makefile
    make  -C  /lib/modules/3.16.0-30-generic/build SUBDIRS=/home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux modules
    make[1]: Entering directory `/usr/src/linux-headers-3.16.0-30-generic'
      CC [M]  /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.o
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c: In function �duplicate_pkt�:
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:537:3: warning: passing argument 1 of �memmove� makes pointer from integer without a cast [enabled by default]
       NdisMoveMemory(skb->tail, pHeader802_3, HdrLen);
       ^
    In file included from ./arch/x86/include/asm/string.h:4:0,
                     from include/linux/string.h:17,
                     from include/linux/bitmap.h:8,
                     from include/linux/cpumask.h:11,
                     from ./arch/x86/include/asm/cpumask.h:4,
                     from ./arch/x86/include/asm/msr.h:10,
                     from ./arch/x86/include/asm/processor.h:20,
                     from ./arch/x86/include/asm/thread_info.h:23,
                     from include/linux/thread_info.h:54,
                     from ./arch/x86/include/asm/preempt.h:6,
                     from include/linux/preempt.h:18,
                     from include/linux/spinlock.h:50,
                     from include/linux/seqlock.h:35,
                     from include/linux/time.h:5,
                     from include/linux/stat.h:18,
                     from include/linux/module.h:10,
                     from /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/include/os/rt_linux.h:40,
                     from /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/include/rtmp_os.h:42,
                     from /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/include/rt_config.h:44,
                     from /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:28:
    ./arch/x86/include/asm/string_64.h:58:7: note: expected �void *� but argument is of type �sk_buff_data_t�
     void *memmove(void *dest, const void *src, size_t count);
           ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:539:3: warning: passing argument 1 of �memmove� makes pointer from integer without a cast [enabled by default]
       NdisMoveMemory(skb->tail, pData, DataSize);
       ^
    In file included from ./arch/x86/include/asm/string.h:4:0,
                     from include/linux/string.h:17,
                     from include/linux/bitmap.h:8,
                     from include/linux/cpumask.h:11,
                     from ./arch/x86/include/asm/cpumask.h:4,
                     from ./arch/x86/include/asm/msr.h:10,
                     from ./arch/x86/include/asm/processor.h:20,
                     from ./arch/x86/include/asm/thread_info.h:23,
                     from include/linux/thread_info.h:54,
                     from ./arch/x86/include/asm/preempt.h:6,
                     from include/linux/preempt.h:18,
                     from include/linux/spinlock.h:50,
                     from include/linux/seqlock.h:35,
                     from include/linux/time.h:5,
                     from include/linux/stat.h:18,
                     from include/linux/module.h:10,
                     from /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/include/os/rt_linux.h:40,
                     from /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/include/rtmp_os.h:42,
                     from /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/include/rt_config.h:44,
                     from /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:28:
    ./arch/x86/include/asm/string_64.h:58:7: note: expected �void *� but argument is of type �sk_buff_data_t�
     void *memmove(void *dest, const void *src, size_t count);
           ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c: In function �ClonePacket�:
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:632:23: warning: assignment makes integer from pointer without a cast [enabled by default]
          pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
                           ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c: In function �update_os_packet_info�:
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:654:15: warning: assignment makes integer from pointer without a cast [enabled by default]
      pOSPkt->tail = pOSPkt->data + pOSPkt->len;
                   ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c: In function �wlan_802_11_to_802_3_packet�:
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:674:15: warning: assignment makes integer from pointer without a cast [enabled by default]
      pOSPkt->tail = pOSPkt->data + pOSPkt->len;
                   ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c: In function �send_monitor_packets�:
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:912:9: warning: format �%d� expects argument of type �int�, but argument 3 has type �long unsigned int� [-Wformat=]
             DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
             ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c: In function �RtmpOSIRQRequest�:
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:1068:21: warning: unused variable �net_dev� [-Wunused-variable]
      struct net_device *net_dev = pNetDev;
                         ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c: In function �RtmpOSFSInfoChange�:
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:1161:20: error: incompatible types when assigning to type �int� from type �kuid_t�
       pOSFSInfo->fsuid = current_fsuid();
                        ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:1162:20: error: incompatible types when assigning to type �int� from type �kgid_t�
       pOSFSInfo->fsgid = current_fsgid();  
                        ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c: In function �RtmpOSTaskAttach�:
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:1282:8: warning: unused variable �pid_number� [-Wunused-variable]
      pid_t pid_number = -1;
            ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c: In function �RtmpOSNetDevAttach�:
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:1624:10: error: �struct net_device� has no member named �open�
       pNetDev->open   = pDevOpHook->open;
              ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:1625:10: error: �struct net_device� has no member named �stop�
       pNetDev->stop   = pDevOpHook->stop;
              ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:1626:10: error: �struct net_device� has no member named �hard_start_xmit�
       pNetDev->hard_start_xmit = (HARD_START_XMIT_FUNC)(pDevOpHook->xmit);
              ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:1627:10: error: �struct net_device� has no member named �do_ioctl�
       pNetDev->do_ioctl  = pDevOpHook->ioctl;
              ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:1633:11: error: �struct net_device� has no member named �get_stats�
        pNetDev->get_stats = pDevOpHook->get_stats;
               ^
    /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.c:1667:9: error: �struct net_device� has no member named �validate_addr�
      pNetDev->validate_addr = NULL;
             ^
    make[2]: *** [/home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/../../os/linux/rt_linux.o] Error 1
    make[1]: *** [_module_/home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.16.0-30-generic'
    make: *** [LINUX] Error 2
    
    
    hieutotet@Alpine:~/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870$ uname -a
    Linux Alpine 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
    hieutotet@Alpine:~/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870$

    everytime I want to install anything it always end up in «make: *** [LINUX] Error 2»

    so is there any solution for this ? Thanks a lot guys

    UPDATE:

    hey guys thanks to @jeremy31 the solution has been found ! much appreciated !

    Re: make: *** [LINUX] Error 2 when installing wifi drivers

    http://askubuntu.com/questions/45706…r-installation says that this works
    Code:
    sudo apt-get install linux-headers-generic build-essential git
    Code:
    sudo apt-get install git
    Code:
    git clone https://github.com/porjo/mt7601.git
    Code:
    cd mt7601/src
    Code:
    make
    Code:
    sudo make install
    Code:
    sudo mkdir -p /etc/Wireless/RT2870STA/
    Code:
    sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/
    Code:
    sudo modprobe mt7601Usta

    Last edited by Nguyen_Thanh_Hieu; March 22nd, 2015 at 03:27 AM.


  2. Re: make: *** [LINUX] Error 2 when installing wifi drivers

    Hi

    2009

    _0820_RT2870_STA_WebUI_v2.2.0.0

    Is 2009 the date the driver was written ? If so and you are using a new kernel then it’s may not be a surprise the kernel module is not building.

    I would start off by posting some background information.

    Open a terminal, plug the wifi device in, wait 20 seconds and the type.

    Code:

    lsusb && lsb_release -a && uname -r

    Post the resulting output from the terminal into your next post.

    I am out for most of the day but there are others here who can help you.

    Kind regards

    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don’t read the newspaper, you’re uninformed. If you read the newspaper, you’re mis-informed. — Mark Twain

    Thinking about becoming an Ubuntu Member?


  3. Re: make: *** [LINUX] Error 2 when installing wifi drivers

    Thanks for the quick reply! Here’s the output :

    Code:

    hieutotet@Alpine:~$ uname -r
    3.16.0-30-generic
    
    
    
    
    hieutotet@Alpine:~$ lsusb
    Bus 001 Device 003: ID 148f:7601 Ralink Technology, Corp. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 002: ID 15d9:0a4f Trust International B.V. 
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    
    
    
    
    hieutotet@Alpine:~$ lsmod
    Module                  Size  Used by
    nls_utf8               12557  1 
    isofs                  39837  1 
    bnep                   19624  2 
    rfcomm                 69509  0 
    bluetooth             446409  10 bnep,rfcomm
    6lowpan_iphc           18702  1 bluetooth
    radeon               1408739  3 
    ndiswrapper           283985  0 
    gpio_ich               13586  0 
    ttm                    85314  1 radeon
    snd_hda_codec_hdmi     47548  1 
    drm_kms_helper         61574  1 radeon
    snd_hda_codec_realtek    72791  1 
    drm                   311018  6 ttm,drm_kms_helper,radeon
    snd_hda_codec_generic    68937  1 snd_hda_codec_realtek
    i2c_algo_bit           13413  1 radeon
    snd_hda_intel          30469  5 
    snd_hda_controller     31056  1 snd_hda_intel
    coretemp               13441  0 
    snd_hda_codec         139682  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
    snd_hwdep              17698  1 snd_hda_codec
    snd_seq_midi           13564  0 
    snd_seq_midi_event     14899  1 snd_seq_midi
    snd_rawmidi            30876  1 snd_seq_midi
    snd_seq                63074  2 snd_seq_midi_event,snd_seq_midi
    snd_pcm               104112  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
    snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
    snd_timer              29562  2 snd_pcm,snd_seq
    lpc_ich                21093  0 
    serio_raw              13483  0 
    snd                    79468  21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
    soundcore              15047  2 snd,snd_hda_codec
    shpchp                 37047  0 
    mac_hid                13227  0 
    parport_pc             32741  1 
    ppdev                  17671  0 
    lp                     17759  0 
    parport                42348  3 lp,ppdev,parport_pc
    hid_generic            12559  0 
    usbhid                 52616  0 
    hid                   110426  2 hid_generic,usbhid
    pata_acpi              13053  0 
    atl1c                  46101  0 
    
    
    
    
    hieutotet@Alpine:~$ lsb_release
    No LSB modules are available.


  4. Re: make: *** [LINUX] Error 2 when installing wifi drivers

    http://askubuntu.com/questions/45706…r-installation says that this works

    Code:

    sudo apt-get install linux-headers-generic build-essential git

    Code:

    sudo apt-get install git

    Code:

    git clone https://github.com/porjo/mt7601.git

    Code:

    sudo mkdir -p /etc/Wireless/RT2870STA/

    Code:

    sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/

    Code:

    sudo modprobe mt7601Usta


  5. Re: make: *** [LINUX] Error 2 when installing wifi drivers

    okay I’m out for today but I’ll let you know if the method works asap , thanks


  6. Re: make: *** [LINUX] Error 2 when installing wifi drivers


  7. Re: make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip)

    THIS IS NOT SOLVED
    I have installed the Wifi Dongle in a Windows operating system; ( I know it does work) I deleted all instances of the mt7601 from my system… and followed the instructions above…

    the instructions for the MTK7612U from szedup.com; http://www.szedup.com/showinfo554.aspx this is the Driver «DOWNLOAD» for this device Ubuntu / Linux. Inside the Driver are instructions that send you on a «NIGHTMARE SOFTWARE ENGINEERS LABYRINTH» This was originally Ralink then Mediatek now ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I am in contact with EDUP and am trying to get them to get the correct PPA Linux or Terminal Commands Ubuntu. UNLESS someone Who HAS THE SOFTWARE SAVY to take this on…..

    $ lsusb
    Bus 002 Device 002: ID 0e8d:7612 MediaTek Inc.
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader)
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    notice that the Computer sees the device on Bus 002 ID 0e8d:7612 MediaTek lnc. Chip Set

    Last edited by aaron36; November 15th, 2015 at 07:10 PM.


  8. Re: make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip)

    notice that the Computer sees the device on Bus 002 ID 0e8d:7612 MediaTek lnc. Chip Set

    Yes, and the device referred to above is entirely different:

    148f:7601 Ralink Technology, Corp.

    That’s why it doesn’t work for you. They are different chipsets.

    «Oh, Ubuntu, you are my favorite Linux-based operating system» —Dr. Sheldon Cooper, Ph.D., Sc.D.


  9. Re: make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip)

    Quote Originally Posted by aaron36
    View Post

    THIS IS NOT SOLVED

    This is solved !

    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don’t read the newspaper, you’re uninformed. If you read the newspaper, you’re mis-informed. — Mark Twain

    Thinking about becoming an Ubuntu Member?


  10. Re: make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip)

    szedup.com is stating the driver you use on this page for the (RT2870 Chip) is the same driver for my (0e8d:7612 chip) or MKT7612u ; I am in contact with this company and and manufacturer… to get the updated software for mine….. I have the Mini DVD that came with the WiFi Dongle same driver… It needs configuration steps (file modifications) to function… either software provides very minimal instructions for setting up and configuring the Driver Software (they expect me to be the top dollar software engineer) same driver on github….


Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

knowledge91

Make Error 2

Hello ! I am Totally new to this forum so if i miss posted this I am sorry!

I got this problem ..

Trying to install madwifi-ng Before I can install fsaa1655g (its a software for my amilo 1655g for turning on my WLAN card)

but i write
cd /home/benjamin/madwifi
make

output:

Checking requirements… ok.
Checking kernel configuration… ok.
make -C /lib/modules/2.6.32-23-generic/build SUBDIRS=/home/benjamin/madwifi modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-23-generic’
CC [M] /home/benjamin/madwifi/ath/if_ath.o
In file included from /home/benjamin/madwifi/ath/../net80211/ieee80211_monitor.h:45,
from /home/benjamin/madwifi/ath/if_ath.c:71:
/home/benjamin/madwifi/ath/../ath/if_athvar.h:98: error: conflicting types for ‘irqreturn_t’
include/linux/irqreturn.h:16: note: previous declaration of ‘irqreturn_t’ was here
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_attach’:
/home/benjamin/madwifi/ath/if_ath.c:402: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:678: error: ‘struct net_device’ has no member named ‘open’
/home/benjamin/madwifi/ath/if_ath.c:679: error: ‘struct net_device’ has no member named ‘stop’
/home/benjamin/madwifi/ath/if_ath.c:680: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/benjamin/madwifi/ath/if_ath.c:681: error: ‘struct net_device’ has no member named ‘tx_timeout’
/home/benjamin/madwifi/ath/if_ath.c:683: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/home/benjamin/madwifi/ath/if_ath.c:684: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/benjamin/madwifi/ath/if_ath.c:685: error: ‘struct net_device’ has no member named ‘get_stats’
/home/benjamin/madwifi/ath/if_ath.c:686: error: ‘struct net_device’ has no member named ‘set_mac_address’
/home/benjamin/madwifi/ath/if_ath.c:687: error: ‘struct net_device’ has no member named ‘change_mtu’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_detach’:
/home/benjamin/madwifi/ath/if_ath.c:958: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:1005: error: ‘struct net_device’ has no member named ‘stop’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_vap_create’:
/home/benjamin/madwifi/ath/if_ath.c:1014: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:1084: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_vap_delete’:
/home/benjamin/madwifi/ath/if_ath.c:1248: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_suspend’:
/home/benjamin/madwifi/ath/if_ath.c:1350: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_resume’:
/home/benjamin/madwifi/ath/if_ath.c:1359: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_intr’:
/home/benjamin/madwifi/ath/if_ath.c:1652: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_bmiss_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:1843: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_init’:
/home/benjamin/madwifi/ath/if_ath.c:1886: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_stop_locked’:
/home/benjamin/madwifi/ath/if_ath.c:2014: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_stop’:
/home/benjamin/madwifi/ath/if_ath.c:2078: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_reset’:
/home/benjamin/madwifi/ath/if_ath.c:2182: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_startraw’:
/home/benjamin/madwifi/ath/if_ath.c:2343: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_hardstart’:
/home/benjamin/madwifi/ath/if_ath.c:2558: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mgtstart’:
/home/benjamin/madwifi/ath/if_ath.c:2875: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_alloc’:
/home/benjamin/madwifi/ath/if_ath.c:3237: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_delete’:
/home/benjamin/madwifi/ath/if_ath.c:3304: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_set’:
/home/benjamin/madwifi/ath/if_ath.c:3380: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_update_begin’:
/home/benjamin/madwifi/ath/if_ath.c:3395: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_update_end’:
/home/benjamin/madwifi/ath/if_ath.c:3416: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mode_init’:
/home/benjamin/madwifi/ath/if_ath.c:3504: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_updateslot’:
/home/benjamin/madwifi/ath/if_ath.c:3555: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_beacon_dturbo_config’:
/home/benjamin/madwifi/ath/if_ath.c:3585: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_beacon_dturbo_update’:
/home/benjamin/madwifi/ath/if_ath.c:3633: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_turbo_switch_mode’:
/home/benjamin/madwifi/ath/if_ath.c:3776: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_bstuck_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:4368: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_alloc’:
/home/benjamin/madwifi/ath/if_ath.c:4820: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_cleanup’:
/home/benjamin/madwifi/ath/if_ath.c:4855: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_free’:
/home/benjamin/madwifi/ath/if_ath.c:4909: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rx_capture’:
/home/benjamin/madwifi/ath/if_ath.c:5404: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_capture’:
/home/benjamin/madwifi/ath/if_ath.c:5437: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_recv_mgmt’:
/home/benjamin/madwifi/ath/if_ath.c:5502: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rx_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:5574: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_grppoll_start’:
/home/benjamin/madwifi/ath/if_ath.c:6013: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_grppoll_stop’:
/home/benjamin/madwifi/ath/if_ath.c:6226: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_wme_update’:
/home/benjamin/madwifi/ath/if_ath.c:6441: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_uapsd_flush’:
/home/benjamin/madwifi/ath/if_ath.c:6460: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_start’:
/home/benjamin/madwifi/ath/if_ath.c:6655: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet_q0’:
/home/benjamin/madwifi/ath/if_ath.c:7495: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet_q0123’:
/home/benjamin/madwifi/ath/if_ath.c:7516: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:7551: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_timeout’:
/home/benjamin/madwifi/ath/if_ath.c:7574: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_calibrate’:
/home/benjamin/madwifi/ath/if_ath.c:7937: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_scan_start’:
/home/benjamin/madwifi/ath/if_ath.c:8003: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_scan_end’:
/home/benjamin/madwifi/ath/if_ath.c:8023: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_channel’:
/home/benjamin/madwifi/ath/if_ath.c:8041: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_coverageclass’:
/home/benjamin/madwifi/ath/if_ath.c:8057: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mhz2ieee’:
/home/benjamin/madwifi/ath/if_ath.c:8067: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_newstate’:
/home/benjamin/madwifi/ath/if_ath.c:8082: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_setup_stationkey’:
/home/benjamin/madwifi/ath/if_ath.c:8471: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_newassoc’:
/home/benjamin/madwifi/ath/if_ath.c:8631: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_getchannels’:
/home/benjamin/madwifi/ath/if_ath.c:8662: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_xr_rate_setup’:
/home/benjamin/madwifi/ath/if_ath.c:8832: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_setup_subrates’:
/home/benjamin/madwifi/ath/if_ath.c:8861: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rate_setup’:
/home/benjamin/madwifi/ath/if_ath.c:8904: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_getstats’:
/home/benjamin/madwifi/ath/if_ath.c:9141: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_mac_address’:
/home/benjamin/madwifi/ath/if_ath.c:9164: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_change_mtu’:
/home/benjamin/madwifi/ath/if_ath.c:9196: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_ioctl’:
/home/benjamin/madwifi/ath/if_ath.c:9283: error: ‘struct net_device’ has no member named ‘priv’
cc1: warnings being treated as errors
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_sysctl_halparam’:
/home/benjamin/madwifi/ath/if_ath.c:9370: error: passing argument 5 of ‘proc_dointvec’ from incompatible pointer type
include/linux/sysctl.h:985: note: expected ‘loff_t *’ but argument is of type ‘size_t *’
/home/benjamin/madwifi/ath/if_ath.c:9370: error: too many arguments to function ‘proc_dointvec’
/home/benjamin/madwifi/ath/if_ath.c:9562: error: passing argument 5 of ‘proc_dointvec’ from incompatible pointer type
include/linux/sysctl.h:985: note: expected ‘loff_t *’ but argument is of type ‘size_t *’
/home/benjamin/madwifi/ath/if_ath.c:9562: error: too many arguments to function ‘proc_dointvec’
/home/benjamin/madwifi/ath/if_ath.c: At top level:
/home/benjamin/madwifi/ath/if_ath.c:9574: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9580: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9586: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9592: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9598: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9604: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9610: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9616: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9623: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9630: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9636: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9642: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9648: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9654: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9660: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9667: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9673: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9680: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9686: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_announce’:
/home/benjamin/madwifi/ath/if_ath.c:9779: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rcv_dev_event’:
/home/benjamin/madwifi/ath/if_ath.c:9926: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:9928: error: ‘struct net_device’ has no member named ‘open’
make[3]: *** [/home/benjamin/madwifi/ath/if_ath.o] Error 1
make[2]: *** [/home/benjamin/madwifi/ath] Error 2
make[1]: *** [_module_/home/benjamin/madwifi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-23-generic’
make: *** [modules] Error 2

I dont understand whats wrong =/ :oops:

please help me :D

Thanks =)

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

knowledge91

Re: Make Error 2

Post

by knowledge91 » Fri Sep 10, 2010 3:23 pm

sorry didt help =(

got this :

enjamin@haxLin ~ $
benjamin@haxLin ~ $ cd /home/benjamin/madwifi
benjamin@haxLin ~/madwifi $ sudo make
[sudo] password for benjamin:
Checking requirements… ok.
Checking kernel configuration… ok.
make -C /lib/modules/2.6.32-23-generic/build SUBDIRS=/home/benjamin/madwifi modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-23-generic’
CC [M] /home/benjamin/madwifi/ath/if_ath.o
In file included from /home/benjamin/madwifi/ath/../net80211/ieee80211_monitor.h:45,
from /home/benjamin/madwifi/ath/if_ath.c:71:
/home/benjamin/madwifi/ath/../ath/if_athvar.h:98: error: conflicting types for ‘irqreturn_t’
include/linux/irqreturn.h:16: note: previous declaration of ‘irqreturn_t’ was here
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_attach’:
/home/benjamin/madwifi/ath/if_ath.c:402: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:678: error: ‘struct net_device’ has no member named ‘open’
/home/benjamin/madwifi/ath/if_ath.c:679: error: ‘struct net_device’ has no member named ‘stop’
/home/benjamin/madwifi/ath/if_ath.c:680: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/benjamin/madwifi/ath/if_ath.c:681: error: ‘struct net_device’ has no member named ‘tx_timeout’
/home/benjamin/madwifi/ath/if_ath.c:683: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/home/benjamin/madwifi/ath/if_ath.c:684: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/benjamin/madwifi/ath/if_ath.c:685: error: ‘struct net_device’ has no member named ‘get_stats’
/home/benjamin/madwifi/ath/if_ath.c:686: error: ‘struct net_device’ has no member named ‘set_mac_address’
/home/benjamin/madwifi/ath/if_ath.c:687: error: ‘struct net_device’ has no member named ‘change_mtu’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_detach’:
/home/benjamin/madwifi/ath/if_ath.c:958: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:1005: error: ‘struct net_device’ has no member named ‘stop’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_vap_create’:
/home/benjamin/madwifi/ath/if_ath.c:1014: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:1084: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_vap_delete’:
/home/benjamin/madwifi/ath/if_ath.c:1248: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_suspend’:
/home/benjamin/madwifi/ath/if_ath.c:1350: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_resume’:
/home/benjamin/madwifi/ath/if_ath.c:1359: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_intr’:
/home/benjamin/madwifi/ath/if_ath.c:1652: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_bmiss_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:1843: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_init’:
/home/benjamin/madwifi/ath/if_ath.c:1886: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_stop_locked’:
/home/benjamin/madwifi/ath/if_ath.c:2014: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_stop’:
/home/benjamin/madwifi/ath/if_ath.c:2078: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_reset’:
/home/benjamin/madwifi/ath/if_ath.c:2182: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_startraw’:
/home/benjamin/madwifi/ath/if_ath.c:2343: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_hardstart’:
/home/benjamin/madwifi/ath/if_ath.c:2558: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mgtstart’:
/home/benjamin/madwifi/ath/if_ath.c:2875: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_alloc’:
/home/benjamin/madwifi/ath/if_ath.c:3237: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_delete’:
/home/benjamin/madwifi/ath/if_ath.c:3304: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_set’:
/home/benjamin/madwifi/ath/if_ath.c:3380: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_update_begin’:
/home/benjamin/madwifi/ath/if_ath.c:3395: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_key_update_end’:
/home/benjamin/madwifi/ath/if_ath.c:3416: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mode_init’:
/home/benjamin/madwifi/ath/if_ath.c:3504: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_updateslot’:
/home/benjamin/madwifi/ath/if_ath.c:3555: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_beacon_dturbo_config’:
/home/benjamin/madwifi/ath/if_ath.c:3585: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_beacon_dturbo_update’:
/home/benjamin/madwifi/ath/if_ath.c:3633: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_turbo_switch_mode’:
/home/benjamin/madwifi/ath/if_ath.c:3776: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_bstuck_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:4368: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_alloc’:
/home/benjamin/madwifi/ath/if_ath.c:4820: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_cleanup’:
/home/benjamin/madwifi/ath/if_ath.c:4855: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_node_free’:
/home/benjamin/madwifi/ath/if_ath.c:4909: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rx_capture’:
/home/benjamin/madwifi/ath/if_ath.c:5404: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_capture’:
/home/benjamin/madwifi/ath/if_ath.c:5437: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_recv_mgmt’:
/home/benjamin/madwifi/ath/if_ath.c:5502: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rx_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:5574: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_grppoll_start’:
/home/benjamin/madwifi/ath/if_ath.c:6013: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_grppoll_stop’:
/home/benjamin/madwifi/ath/if_ath.c:6226: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_wme_update’:
/home/benjamin/madwifi/ath/if_ath.c:6441: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_uapsd_flush’:
/home/benjamin/madwifi/ath/if_ath.c:6460: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_start’:
/home/benjamin/madwifi/ath/if_ath.c:6655: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet_q0’:
/home/benjamin/madwifi/ath/if_ath.c:7495: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet_q0123’:
/home/benjamin/madwifi/ath/if_ath.c:7516: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_tasklet’:
/home/benjamin/madwifi/ath/if_ath.c:7551: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_tx_timeout’:
/home/benjamin/madwifi/ath/if_ath.c:7574: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_calibrate’:
/home/benjamin/madwifi/ath/if_ath.c:7937: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_scan_start’:
/home/benjamin/madwifi/ath/if_ath.c:8003: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_scan_end’:
/home/benjamin/madwifi/ath/if_ath.c:8023: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_channel’:
/home/benjamin/madwifi/ath/if_ath.c:8041: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_coverageclass’:
/home/benjamin/madwifi/ath/if_ath.c:8057: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_mhz2ieee’:
/home/benjamin/madwifi/ath/if_ath.c:8067: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_newstate’:
/home/benjamin/madwifi/ath/if_ath.c:8082: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_setup_stationkey’:
/home/benjamin/madwifi/ath/if_ath.c:8471: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_newassoc’:
/home/benjamin/madwifi/ath/if_ath.c:8631: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_getchannels’:
/home/benjamin/madwifi/ath/if_ath.c:8662: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_xr_rate_setup’:
/home/benjamin/madwifi/ath/if_ath.c:8832: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_setup_subrates’:
/home/benjamin/madwifi/ath/if_ath.c:8861: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rate_setup’:
/home/benjamin/madwifi/ath/if_ath.c:8904: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_getstats’:
/home/benjamin/madwifi/ath/if_ath.c:9141: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_set_mac_address’:
/home/benjamin/madwifi/ath/if_ath.c:9164: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_change_mtu’:
/home/benjamin/madwifi/ath/if_ath.c:9196: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_ioctl’:
/home/benjamin/madwifi/ath/if_ath.c:9283: error: ‘struct net_device’ has no member named ‘priv’
cc1: warnings being treated as errors
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_sysctl_halparam’:
/home/benjamin/madwifi/ath/if_ath.c:9370: error: passing argument 5 of ‘proc_dointvec’ from incompatible pointer type
include/linux/sysctl.h:985: note: expected ‘loff_t *’ but argument is of type ‘size_t *’
/home/benjamin/madwifi/ath/if_ath.c:9370: error: too many arguments to function ‘proc_dointvec’
/home/benjamin/madwifi/ath/if_ath.c:9562: error: passing argument 5 of ‘proc_dointvec’ from incompatible pointer type
include/linux/sysctl.h:985: note: expected ‘loff_t *’ but argument is of type ‘size_t *’
/home/benjamin/madwifi/ath/if_ath.c:9562: error: too many arguments to function ‘proc_dointvec’
/home/benjamin/madwifi/ath/if_ath.c: At top level:
/home/benjamin/madwifi/ath/if_ath.c:9574: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9580: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9586: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9592: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9598: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9604: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9610: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9616: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9623: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9630: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9636: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9642: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9648: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9654: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9660: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9667: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9673: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9680: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c:9686: error: initialization from incompatible pointer type
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_announce’:
/home/benjamin/madwifi/ath/if_ath.c:9779: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c: In function ‘ath_rcv_dev_event’:
/home/benjamin/madwifi/ath/if_ath.c:9926: error: ‘struct net_device’ has no member named ‘priv’
/home/benjamin/madwifi/ath/if_ath.c:9928: error: ‘struct net_device’ has no member named ‘open’
make[3]: *** [/home/benjamin/madwifi/ath/if_ath.o] Error 1
make[2]: *** [/home/benjamin/madwifi/ath] Error 2
make[1]: *** [_module_/home/benjamin/madwifi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-23-generic’
make: *** [modules] Error 2

hopefully you know the error ! :D

maybe a reinstall?

bob5

Re: Make Error 2

Post

by bob5 » Fri Sep 10, 2010 5:13 pm

hi ,

were did you download the folder form , could you post the website ! ??

Make sure you have build-essentials installed :

Code: Select all

sudo apt-get install build-essential linux-headers-$(uname -r)

….

-error 2 is running with out sudo mmm I would think

Thanks

knowledge91

Re: Make Error 2

Post

by knowledge91 » Sat Sep 11, 2010 5:42 am

bob5 wrote:hi ,

were did you download the folder form , could you post the website ! ??

Make sure you have build-essentials installed :

Code: Select all

sudo apt-get install build-essential linux-headers-$(uname -r)

….

-error 2 is running with out sudo mmm I would think

Thanks

Dont Remember the Website ! :(

But I reinstalled the OS ( linux Mint xfce 2.6.32-21 generic 32bit)
I am starting from scratch! so what do i need for installing ?=)

knowledge91

Re: Make Error 2

Post

by knowledge91 » Sat Sep 11, 2010 7:52 am

now i am getting this .

make[1]: *** [_module_/home/benjamin/fsaa1655g] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic’
make: *** [default] Error 2
benjamin@hax-lin ~/fsaa1655g $ sudo make
make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/benjamin/fsaa1655g modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic’
CC [M] /home/benjamin/fsaa1655g/fsaa1655g.o
/home/benjamin/fsaa1655g/fsaa1655g.c: In function ‘amiloa1655g_proc_cleanup’:
/home/benjamin/fsaa1655g/fsaa1655g.c:148: error: ‘proc_root’ undeclared (first use in this function)
/home/benjamin/fsaa1655g/fsaa1655g.c:148: error: (Each undeclared identifier is reported only once
/home/benjamin/fsaa1655g/fsaa1655g.c:148: error: for each function it appears in.)
/home/benjamin/fsaa1655g/fsaa1655g.c: In function ‘amiloa1655g_proc_init’:
/home/benjamin/fsaa1655g/fsaa1655g.c:159: error: ‘proc_root’ undeclared (first use in this function)
make[2]: *** [/home/benjamin/fsaa1655g/fsaa1655g.o] Error 1
make[1]: *** [_module_/home/benjamin/fsaa1655g] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic’
make: *** [default] Error 2

I DONT understand ;P

knowledge91

Re: Make Error 2

Post

by knowledge91 » Sat Sep 11, 2010 11:16 am

Hello again mint forum!

I found a solution for my problem!
I had the wrong kernel installed and i tried to install a fsaa1655g for another kernel.

So I fix it

This post is postet from the computer running linux on Wireless!

Thx for the help and fast response !

-Happy boy benjamin aka knowledge-

bob5

Re: Make Error 2

Post

by bob5 » Sat Sep 11, 2010 12:59 pm

hi ,

well done !

PS ,check out th readme next time First it will tell every thing that you need to install !

Понравилась статья? Поделить с друзьями:
  • Main bios checking error
  • Mailer error could not instantiate mail function
  • Mailbox format error
  • Make error 139
  • Mailbox delivery failure policy error