Problems compiling amaroK 1.4.1 with iPod support
Martin Aumueller
aumueller at uni-koeln.de
Wed Jul 5 20:36:27 UTC 2006
Hi,
does adding the following line at the top of
amarok/src/mediadevice/ipod/ipodmediadevice.cpp fix it?
#include <unistd.h>
Thanks for trying,
Martin
On Wed July 5 2006 19:12, John Nichel wrote:
> Hi, I'm trying to compile amaroK 1.4.1 on a RHEL3 system, but when I try
> to include iPod support, I get the following...
>
> > /usr/lib/qt-3.3/bin/moc ./ipodmediadevice.h -o ipodmediadevice.moc
> > if /bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++
> > -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src
> > -I../../../../amarok/src -I../../../../amarok/src/amarokcore
> > -I../../../../amarok/src/amarokcore -I../../../../amarok/src/engine
> > -I../../../../amarok/src/engine -I../../../../amarok/src/mediadevice
> > -I/usr/include/gpod-1.0 -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -I/usr/include/taglib -I/usr/include/kde
> > -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
> > -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> > -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
> > -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute
> > -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> > -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> > -DQT_NO_TRANSLATION -MT ipodmediadevice.lo -MD -MP -MF
> > ".deps/ipodmediadevice.Tpo" \ -c -o ipodmediadevice.lo `test -f
> > 'ipodmediadevice.cpp' || echo './'`ipodmediadevice.cpp; \ then mv -f
> > ".deps/ipodmediadevice.Tpo" ".deps/ipodmediadevice.Plo"; \ else rm -f
> > ".deps/ipodmediadevice.Tpo"; exit 1; \
> > fi
> > ipodmediadevice.cpp: In member function `bool
> > IpodMediaDevice::writeITunesDB(bool)':
> > ipodmediadevice.cpp:1562: `usleep' undeclared (first use this function)
> > ipodmediadevice.cpp:1562: (Each undeclared identifier is reported only
> > once for each function it appears in.)
> > make[5]: *** [ipodmediadevice.lo] Error 1
> > make[5]: Leaving directory
> > `/usr/local/src/amarok-1.4.1/amarok/src/mediadevice/ipod' make[4]: ***
> > [all-recursive] Error 1
> > make[4]: Leaving directory
> > `/usr/local/src/amarok-1.4.1/amarok/src/mediadevice' make[3]: ***
> > [all-recursive] Error 1
> > make[3]: Leaving directory `/usr/local/src/amarok-1.4.1/amarok/src'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/usr/local/src/amarok-1.4.1/amarok'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/src/amarok-1.4.1'
> > make: *** [all] Error 2
>
> libgpod and the devel packages are installed...
>
> > [root at jnichel amarok-1.4.1]# rpm -qa | grep libgpod
> > libgpod-0.3.2-0.el4.rf
> > libgpod-devel-0.3.2-0.el4.rf
>
> Google hasn't been much help, so I'm turning to the experts. Any help
> will be greatly appreciated.
More information about the Amarok
mailing list