cannot use make command
i try to install plugin for xmms audio player,but i failed to run the 'make' command
the message shown below : [root@localhost xmms]# cd crystality-plugin-0.92 [root@localhost crystality-plugin-0.92]# ls ChangeLog crystality.c crystality.o Makefile stdio.c COPYING crystality.h gui.c README xmms.c [root@localhost crystality-plugin-0.92]# make cc -s -mpentium -O6 -Wall -ffast-math -fomit-frame-pointer -finline-functions -fexpensive-optimizations -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c gui.c `-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead. gui.c:28:1: missing terminating " character gui.c:30: error: syntax error before "Bandwidth" gui.c:30:42: invalid suffix "D" on integer constant gui.c:34: error: stray '\' in program gui.c:35: error: syntax error at '@' token gui.c:50:1: missing terminating " character gui.c: In function `about_close_cb': gui.c:63: error: `about_dialog' undeclared (first use in this function) gui.c:63: error: (Each undeclared identifier is reported only once gui.c:63: error: for each function it appears in.) gui.c: In function `gui_about': gui.c:70: error: `about_dialog' undeclared (first use in this function) gui.c: In function `conf_close_cb': gui.c:91: error: `conf_dialog' undeclared (first use in this function) gui.c: In function `gui_configure': gui.c:156: error: `conf_dialog' undeclared (first use in this function) make: *** [gui.o] Error 1 [root@localhost crystality-plugin-0.92]# i assume this may caused by syntax error, am i right? any comment? thx |
did you run ./configure first?
|
hi,
Quote:
alot of times this will hapen when a line of code is wrapped improperly must be newer gcc has a new idea about how this aught to be so you just got to fix the code and put the quote all on one line instead of split on 2 lines just go to gui.c line 28 and mess with it till it wil compile |
All times are GMT -5. The time now is 05:53 PM. |