LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2003, 05:31 PM   #1
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Rep: Reputation: 15
error with XMMS plugin 'make'


I found the WinAmp ComCtrl application which lets you control Winamp from cables connected to your serial port and was quite happy (understatement) to find a very similar plugin for XMMS also. I downloaded it here and unzipped it to a directory only to find that it doesn't make properly.

The exact error message is as follows:

/bin/sh: line 1: xmms-config: command not found
remote.c:21:18: glib.h: No such file or directory
remote.c:22:21: gtk/gtk.h: No such file or directory
remote.c:25:25: xmms/plugin.h: No such file or directory
remote.c:26:27: xmms/xmmsctrl.h: No such file or directory
remote.c:27:29: xmms/configfile.h: No such file or directory
remote.c:28:23: xmms/util.h: No such file or directory
remote.c:59: parse error before "rm_gp"
remote.c:59: warning: type defaults to `int' in declaration of `rm_gp'
remote.c:61: warning: initialization makes integer from pointer without a cast
remote.c:62: warning: excess elements in scalar initializer
remote.c:62: warning: (near initialization for `rm_gp')
remote.c:63: warning: excess elements in scalar initializer
remote.c:63: warning: (near initialization for `rm_gp')
remote.c:64: warning: excess elements in scalar initializer
remote.c:64: warning: (near initialization for `rm_gp')
remote.c:65: warning: excess elements in scalar initializer
remote.c:65: warning: (near initialization for `rm_gp')
remote.c:66: warning: excess elements in scalar initializer
remote.c:66: warning: (near initialization for `rm_gp')
remote.c:67: warning: excess elements in scalar initializer
remote.c:67: warning: (near initialization for `rm_gp')
remote.c:69: warning: excess elements in scalar initializer
remote.c:69: warning: (near initialization for `rm_gp')
remote.c:69: warning: data definition has no type or storage class
remote.c:71: parse error before '*' token
remote.c:71: warning: type defaults to `int' in declaration of `mainwin_wlist'
remote.c:71: warning: data definition has no type or storage class
remote.c: In function `handle_remote_input':
remote.c:167: warning: implicit declaration of function `xmms_remote_playlist_prev'
remote.c:167: request for member `xmms_session' in something not a structure or union
remote.c:171: warning: implicit declaration of function `xmms_remote_playlist_next'
remote.c:171: request for member `xmms_session' in something not a structure or union
remote.c:175: warning: implicit declaration of function `xmms_remote_is_playing'
remote.c:175: request for member `xmms_session' in something not a structure or union
remote.c:176: warning: implicit declaration of function `xmms_remote_pause'
remote.c:176: request for member `xmms_session' in something not a structure or union
remote.c:178: warning: implicit declaration of function `xmms_remote_play'
remote.c:178: request for member `xmms_session' in something not a structure or union
remote.c:182: warning: implicit declaration of function `xmms_remote_stop'
remote.c:182: request for member `xmms_session' in something not a structure or union
remote.c:189: warning: implicit declaration of function `xmms_remote_set_volume'
remote.c:189: request for member `xmms_session' in something not a structure or union
remote.c:194: warning: implicit declaration of function `xmms_remote_get_volume'
remote.c:194: request for member `xmms_session' in something not a structure or union
remote.c:195: request for member `xmms_session' in something not a structure or union
remote.c:203: request for member `xmms_session' in something not a structure or union
remote.c:207: request for member `xmms_session' in something not a structure or union
remote.c:213: request for member `xmms_session' in something not a structure or union
remote.c:220: request for member `xmms_session' in something not a structure or union
remote.c:224: request for member `xmms_session' in something not a structure or union
remote.c:230: request for member `xmms_session' in something not a structure or union
remote.c:234: warning: implicit declaration of function `xmms_remote_quit'
remote.c:234: request for member `xmms_session' in something not a structure or union
remote.c:238: warning: implicit declaration of function `xmms_remote_toggle_repeat'
remote.c:238: request for member `xmms_session' in something not a structure or union
remote.c:242: warning: implicit declaration of function `xmms_remote_toggle_shuffle'
remote.c:242: request for member `xmms_session' in something not a structure or union
remote.c:246: warning: implicit declaration of function `xmms_remote_get_playlist_length'
remote.c:246: request for member `xmms_session' in something not a structure or union
remote.c:250: warning: implicit declaration of function `xmms_remote_get_playlist_pos'
remote.c:250: request for member `xmms_session' in something not a structure or union
remote.c:251: warning: implicit declaration of function `xmms_remote_playlist_delete'
remote.c:251: request for member `xmms_session' in something not a structure or union
remote.c: At top level:
remote.c:294: parse error before '*' token
remote.c:295: warning: return type defaults to `int'
remote.c: In function `about':
remote.c:301: syntax error before '*' token
remote.c:304: `dialog' undeclared (first use in this function)
remote.c:304: (Each undeclared identifier is reported only once
remote.c:304: for each function it appears in.)
remote.c:321: warning: implicit declaration of function `xmms_show_message'
remote.c:321: `FALSE' undeclared (first use in this function)
remote.c:322: warning: implicit declaration of function `gtk_signal_connect'
remote.c:322: warning: implicit declaration of function `GTK_OBJECT'
remote.c:322: warning: implicit declaration of function `GTK_SIGNAL_FUNC'
remote.c:322: `gtk_widget_destroyed' undeclared (first use in this function)

I think that it means it's not finding the include files needed to compile it as an XMMS plugin. I searched for one of the files, plugin.h, and found only one copy, in the directory of a different application and apparently for a different use. I cannot find any of the other include files it seems to be lacking.

How do I get this to compile right? Please help.
 
Old 11-08-2003, 05:43 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You need some development packages. If you run RedHat they are probably called the same as the regular package name, but with a -devel suffix, i.e. the development package for xmms-1.2.7-13.p.i386.rpm should be xmms-devel-1.2.7-13.p.i386.rpm. You also need the development packages for glib and gtk. All these files should be on your CD's, and in case you don't have them, grab them from your local distribution mirror.

Håkan
 
Old 11-08-2003, 06:31 PM   #3
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Original Poster
Rep: Reputation: 15
worked!! Thanks
 
Old 11-08-2003, 07:39 PM   #4
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Original Poster
Rep: Reputation: 15
okay it compiled properly but now I can't seem to control it. I'm sure the plugin is configured properly, but how do I know wether the plugin can read from the comport? It's supposed to read from /dev/ttyS0 but none of the buttons do anything.

I went through the source code and I noted that if it fails to open the serial port it will printf("Some error message"); but when it is compiled as a plugin I have no idea where that error message would be printed. I tried opening XMMS through xterm and it didn't say anything.

Help!
 
Old 11-08-2003, 07:48 PM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Ummm...dunno. Try using tail -f /var/log/messages in a terminal so you can keep an eye on things.

Håkan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XMMS plugin installing error Ytsejammer Linux - Software 1 12-28-2004 01:45 AM
XMMS Output plugin error... help!! Corlinux Red Hat 5 04-19-2004 11:29 PM
XMMS .shn plugin error JockVSJock Slackware 2 01-31-2004 07:17 AM
Xmms Plugin 1.2.8 [xmms-config problem] MDMA Mandriva 2 01-29-2004 09:55 AM
xmms plugin compile error archish Linux - Software 0 12-27-2003 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration