FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Nightlies Feedback › mt-daapd fails to build on FreeBSD 6.1
- This topic has 13 replies, 3 voices, and was last updated 16 years, 1 month ago by
Sax.
-
AuthorPosts
-
18/10/2006 at 5:13 PM #688
oliver
ParticipantHi!
I’ve tried both mt-daapd-svn-1400 and mt-daapd-svn-1393 without success.
My system:
root# uname -a
FreeBSD serv.narpau.se 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Aug 28 05:21:08 UTC 2006 [email protected]:/usr/obj/usr/src/sys/GENERIC i386mt-daapd-svn-1400
root# cd mt-daapd-svn-1400
root# ./configure --enable-sqlite3 --with-id3tag=/usr/local/
root# make
[ ... lots of output ... ]
Making all in plugins
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -DHAVE_SQL -DHOST='"i386-unknown-freebsd6.1"' -DFREEBSD -I/usr/local//include -g -O2 -c plugin.c
plugin.c:139: warning: initialization from incompatible pointer type
plugin.c: In function `_plugin_error':
plugin.c:183: warning: implicit declaration of function `vsnprintf'
plugin.c: In function `pi_db_wait_update':
plugin.c:776: error: syntax error before "rset"
plugin.c:790: warning: implicit declaration of function `FD_ZERO'
plugin.c:790: error: `rset' undeclared (first use in this function)
plugin.c:790: error: (Each undeclared identifier is reported only once
plugin.c:790: error: for each function it appears in.)
plugin.c:791: warning: implicit declaration of function `FD_SET'
plugin.c:796: warning: implicit declaration of function `select'
plugin.c:797: warning: implicit declaration of function `FD_ISSET'
plugin.c: In function `pi_stream':
plugin.c:879: warning: implicit declaration of function `strncasecmp'
*** Error code 1
Stop in /root/mt-daapd-svn-1400/src.
*** Error code 1
Stop in /root/mt-daapd-svn-1400/src.
*** Error code 1
Stop in /root/mt-daapd-svn-1400.
*** Error code 1
Stop in /root/mt-daapd-svn-1400.mt-daapd-svn-1393
root# cd mt-daapd-svn-1393
root# ./configure --enable-sqlite3 --with-id3tag=/usr/local/
root# make
[ ... lots of output ... ]
Making all in plugins
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -DHAVE_SQL -DHOST='"i386-unknown-freebsd6.1"' -DFREEBSD -I/usr/local//include -g -O2 -c plugin.c
plugin.c:139: warning: initialization from incompatible pointer type
plugin.c: In function `_plugin_error':
plugin.c:183: warning: implicit declaration of function `vsnprintf'
plugin.c: In function `pi_db_wait_update':
plugin.c:776: error: syntax error before "rset"
plugin.c:790: warning: implicit declaration of function `FD_ZERO'
plugin.c:790: error: `rset' undeclared (first use in this function)
plugin.c:790: error: (Each undeclared identifier is reported only once
plugin.c:790: error: for each function it appears in.)
plugin.c:791: warning: implicit declaration of function `FD_SET'
plugin.c:796: warning: implicit declaration of function `select'
plugin.c:797: warning: implicit declaration of function `FD_ISSET'
plugin.c: In function `pi_stream':
plugin.c:879: warning: implicit declaration of function `strncasecmp'
*** Error code 1
Stop in /root/mt-daapd-svn-1393/src.
*** Error code 1
Stop in /root/mt-daapd-svn-1393/src.
*** Error code 1
Stop in /root/mt-daapd-svn-1393.
*** Error code 1
Stop in /root/mt-daapd-svn-1393.Is this a known problem, or is there something I’ve done wrong?
Earlier I install mt-daapd-0.2.4 from the freebsd ports collection without any trouble. And it worked right away! Good work. Great piece of software! 😀 However, music is split up at several disks, so the filesystem-limitation comes in the way.
19/10/2006 at 12:07 AM #6844rpedde
Participant@oliver wrote:
d-0.2.4 from the freebsd ports collection without any trouble. And it worked right away! Good work. Great piece of software! 😀 However, music is split up at several disks, so the filesystem-limitation comes in the way.
Probably a
#include
at the top of plugins.c would do it.
Either that or
#include
#include
#include
Don’t know if fbsd has sys/select or not.
In the meantime, I’m trying to build some automated build tools. I’d like to do at least build/no build reports for the bsds and solaris. Might take me a few weeks to get it all straightened out. I just now got mipsel ipks done, and I’m working on various .deb packages now. After that I’ll be working on the rpm distros, and then the bsds.
In the short term, if you want to try the above and let me know which fixes it, that would help.
— Ron
19/10/2006 at 12:57 AM #6845oliver
Participant#include
Yep that did the trick. Thanks! 😀
I’d be happy to help if you need any build reports/debug info from a freebsd system in the future.
07/04/2007 at 4:41 PM #6846Sax
ParticipantI ended up having to do the exact same thing, I’m running freebsd 6.2
07/04/2007 at 5:10 PM #6847oliver
ParticipantYep me too for every new build. Doesn’t seem to have been fixed yet.
07/04/2007 at 6:05 PM #6848Sax
Participanthmm…for some reason the nightly is not running for me.. I installed libogg, flac, id3lib, sqlite3 out of ports, I then compiled it with the corresponding ./configure options… I try to run it and nothing… nothing shows up in /var/log/mt-daapd either.
I had this working just fine on my slack box 🙂
07/04/2007 at 10:34 PM #6849rpedde
Participant@oliver wrote:
Yep me too for every new build. Doesn’t seem to have been fixed yet.
Really?
There is a
#ifdef HAVE_SYS_SELECT_H
#include
#endif
block there. the autoconf must be screwed up somehow.
07/04/2007 at 10:35 PM #6850rpedde
Participant@Sax wrote:
hmm…for some reason the nightly is not running for me.. I installed libogg, flac, id3lib, sqlite3 out of ports, I then compiled it with the corresponding ./configure options… I try to run it and nothing… nothing shows up in /var/log/mt-daapd either.
I had this working just fine on my slack box 🙂
Run it in the foreground with a “-d9 -f”, and it will probably show more info. Check your syslog, too. Until it reads and parses the config file, it won’t dump anything into the log file, so it may be having a problem before that point.
— Ron
17/04/2007 at 7:48 AM #6851Sax
Participantok after some troubleshooting I have figured out the reason it was not starting, I was still using a mt-daapd.conf leftover from the 0.2.4 install from ports.
However as a note, even on svn-1539 I still had to take that ifdef out around the sys/select.h in order to get it to compile
17/04/2007 at 5:35 PM #6852rpedde
Participant@Sax wrote:
ok after some troubleshooting I have figured out the reason it was not starting, I was still using a mt-daapd.conf leftover from the 0.2.4 install from ports.
However as a note, even on svn-1539 I still had to take that ifdef out around the sys/select.h in order to get it to compile
Can you check your config.h in the root directory and verify that HAVE_SYS_SELECT_H isn’t set?
-
AuthorPosts
- The forum ‘Nightlies Feedback’ is closed to new topics and replies.