我被編譯的源代碼,它總是在make命令失敗時,下面是錯誤消息。Cygwin的使誤差
gcc: unrecognized option '-rdynamic'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: \
warning: --export-dynamic is not supported for PE targets, \
did you mean --export-all-symbols?
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: \
warning: --export-dynamic is not supported for PE targets, \
did you mean --export-all-symbols?
make[3]: Leaving directory `/home/alimjan/slim502/src'
make[2]: Leaving directory `/home/alimjan/slim502/src'
make[1]: Leaving directory `/home/alimjan/slim502/src'
Making all in lib
make[1]: Entering directory `/home/alimjan/slim502/lib'
Cannot execute /bin/lmntal
Makefile:422: recipe for target `config.il' failed
make[1]: *** [config.il] Error 1
make[1]: Leaving directory `/home/alimjan/slim502/lib'
Makefile:293: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1
(以上破碎要顯示的行)
我不能解決這個問題。我是make
的新手,不知道該怎麼辦?
這是很難說的問題是什麼時,這裏沒有出現任何的源代碼。 – 2013-04-06 02:59:37
源代碼太大。你認爲問題來自源代碼或從cygwin或窗口相關?我在Windows 7上編譯了它的cygwin目錄。 – arslan 2013-04-06 03:12:01
例如,圍繞'422行'的Makefile部分將是有用的,可能還有任何相關的'make'變量。請參閱:[gcc鏈接器文檔](http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html)。可能你可以刪除'-rdynamic',原來是Linux的代碼? – 2013-04-06 03:12:19