You are not logged in.
Pages: 1
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?
Last edited by Anttonius (2009-02-15 16:36:22)
Offline
Bring
Up
My
Post
Offline
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
Yes, XMMS-mp3cue, my mistake.
But what's that PKGBUILD you're talking about? I'm quite new to Linux..
Last edited by Anttonius (2009-02-15 13:29:13)
Offline
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
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
Pages: 1