You are not logged in.

#1 2009-02-13 18:49:32

Anttonius
Member
From: Finland
Registered: 2009-01-13
Posts: 11

Compiling XMMS-Cue[SOLVED]

Hi!
I'm trying to install .cue plugin to XMMS to enable playing .cue
But my compiling crushes on some weird error.

interface.c:182: error: "atoi" was not declared in this scope
make: *** [interface.o] Error 1

How to fix this? hmm

Last edited by Anttonius (2009-02-15 16:36:22)

Offline

#2 2009-02-14 12:22:32

Anttonius
Member
From: Finland
Registered: 2009-01-13
Posts: 11

Re: Compiling XMMS-Cue[SOLVED]

Bring
Up
My
Post

Offline

#3 2009-02-14 17:02:39

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Compiling XMMS-Cue[SOLVED]

atoi is a function that's in stdlib.h.

What is the name of the plugin? I can't find an 'XMMS-Cue'. Are you talking about 'XMMS-mp3cue'? I would say they have a bug... what's the PKGBUILD, if you're using one (as you should, to keep your system clean and easily updatable)?

Last edited by Ranguvar (2009-02-14 17:11:06)

Offline

#4 2009-02-15 13:29:00

Anttonius
Member
From: Finland
Registered: 2009-01-13
Posts: 11

Re: Compiling XMMS-Cue[SOLVED]

Yes, XMMS-mp3cue, my mistake.
But what's that PKGBUILD you're talking about? I'm quite new to Linux.. big_smile

Last edited by Anttonius (2009-02-15 13:29:13)

Offline

#5 2009-02-15 15:04:25

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Compiling XMMS-Cue[SOLVED]

It's a bash script that makes an Arch package, which can then be updated through pacman, etc., and uploaded to the AUR for others to enjoy.
You install packages from the AUR with them - you download the PKGBUILD and any other needed files, like patches, and then you run makepkg to make a pacman package to install.
I would highly recommend learning to write PKGBUILDs (It's not too hard) and making one for your app, so you don't end up with random files scattered across your system. If all your software is managed by pacman, it's much cleaner. There's also a forum here for requesting someone to write a PKGBUILD for you.

Some relevant info:
http://wiki.archlinux.org/index.php/Makepkg
http://wiki.archlinux.org/index.php/ABS
http://wiki.archlinux.org/index.php/The … guidelines
http://wiki.archlinux.org/index.php/Bui … Arch_Linux
http://wiki.archlinux.org/index.php/ABS … _Explained
http://wiki.archlinux.org/index.php/AUR … NSUPPORTED

Last edited by Ranguvar (2009-02-15 15:05:39)

Offline

#6 2009-02-15 16:03:18

Anttonius
Member
From: Finland
Registered: 2009-01-13
Posts: 11

Re: Compiling XMMS-Cue[SOLVED]

I Googled around and found a solution.
Just had to add #include <stdlib.h> in to interface.c
And these to ID3tag.C   cstdlib, ldap.h and errno.h

Last edited by Anttonius (2009-02-15 16:03:27)

Offline

Board footer

Powered by FluxBB