FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Compile Error – 0.2.4 on Solaris 8
- This topic has 4 replies, 2 voices, and was last updated 18 years, 3 months ago by Scallica.
-
AuthorPosts
-
21/08/2006 at 8:22 PM #534ScallicaParticipant
Hello,
I am trying to compile 0.2.4 on Solaris 8. I ran the configure script successfully. When I run the make command, I receive the error below. I have an older version of mt-daapd on the system, but as documented, does not work with the latest iTunes. What am I doing wrong?
mDNS.c: In function `mDNS_Close’:
mDNS.c:7007: parse error before `rrcache_active’
mDNS.c:7009: `mDNSu32′ undeclared (first use in this function)
mDNS.c:7013: dereferencing pointer to incomplete type
mDNS.c:7015: dereferencing pointer to incomplete type
mDNS.c:7016: `slot’ undeclared (first use in this function)
mDNS.c:7018: dereferencing pointer to incomplete type
mDNS.c:7020: dereferencing pointer to incomplete type
mDNS.c:7021: dereferencing pointer to incomplete type
mDNS.c:7021: dereferencing pointer to incomplete type
mDNS.c:7022: dereferencing pointer to incomplete type
mDNS.c:7023: dereferencing pointer to incomplete type
mDNS.c:7027: dereferencing pointer to incomplete type
mDNS.c:7027: dereferencing pointer to incomplete type
mDNS.c:7030: dereferencing pointer to incomplete type
mDNS.c:7031: dereferencing pointer to incomplete type
mDNS.c:7033: dereferencing pointer to incomplete type
mDNS.c:7035: dereferencing pointer to incomplete type
mDNS.c:7035: dereferencing pointer to incomplete type
mDNS.c:7036: dereferencing pointer to incomplete type
mDNS.c:7040: dereferencing pointer to incomplete type
mDNS.c:7041: dereferencing pointer to incomplete type
mDNS.c:7041: dereferencing pointer to incomplete type
mDNS.c:7042: dereferencing pointer to incomplete type
mDNS.c:7044: dereferencing pointer to incomplete type
mDNS.c:7045: dereferencing pointer to incomplete type
mDNS.c:7045: dereferencing pointer to incomplete type
mDNS.c:7046: dereferencing pointer to incomplete type
mDNS.c:7053: dereferencing pointer to incomplete type
mDNS.c:7057: dereferencing pointer to incomplete type
mDNS.c:7060: dereferencing pointer to incomplete type
mDNS.c: At top level:
mDNSClientAPI.h:922: storage size of `RR_ADV’ isn’t known
mDNSClientAPI.h:923: storage size of `RR_PTR’ isn’t known
mDNSClientAPI.h:924: storage size of `RR_SRV’ isn’t known
mDNSClientAPI.h:925: storage size of `RR_TXT’ isn’t known
mDNS.c:1084: storage size of `zeroRR’ isn’t known
*** Error code 1
make: Fatal error: Command failed for target `mDNS.o’
Current working directory /share1/mt-daapd-0.2.4/src
*** Error code 1
make: Fatal error: Command failed for target `all’
Current working directory /share1/mt-daapd-0.2.4/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive’
Current working directory /share1/mt-daapd-0.2.4
*** Error code 1
make: Fatal error: Command failed for target `all’22/08/2006 at 5:01 AM #6091rpeddeParticipant@Scallica wrote:
Hello,
I am trying to compile 0.2.4 on Solaris 8. I ran the configure script successfully. When I run the make command, I receive the error below. I have an older version of mt-daapd on the system, but as documented, does not work with the latest iTunes. What am I doing wrong?
mDNS.c: In function `mDNS_Close’:
mDNS.c:7007: parse error before `rrcache_active’
mDNS.c:7009: `mDNSu32′ undeclared (first use in this function)
mDNS.c:7013: dereferencing pointer to incomplete type
mDNS.c:7015: dereferencing pointer to incomplete type
mDNS.c:7016: `slot’ undeclared (first use in this function)
mDNS.c:7018: dereferencing pointer to incomplete type
mDNS.c:7020: dereferencing pointer to incomplete type
mDNS.c:7021: dereferencing pointer to incomplete type
mDNS.c:7021: dereferencing pointer to incomplete type
mDNS.c:7022: dereferencing pointer to incomplete type
mDNS.c:7023: dereferencing pointer to incomplete type
mDNS.c:7027: dereferencing pointer to incomplete type
mDNS.c:7027: dereferencing pointer to incomplete type
mDNS.c:7030: dereferencing pointer to incomplete type
mDNS.c:7031: dereferencing pointer to incomplete type
mDNS.c:7033: dereferencing pointer to incomplete type
mDNS.c:7035: dereferencing pointer to incomplete type
mDNS.c:7035: dereferencing pointer to incomplete type
mDNS.c:7036: dereferencing pointer to incomplete type
mDNS.c:7040: dereferencing pointer to incomplete type
mDNS.c:7041: dereferencing pointer to incomplete type
mDNS.c:7041: dereferencing pointer to incomplete type
mDNS.c:7042: dereferencing pointer to incomplete type
mDNS.c:7044: dereferencing pointer to incomplete type
mDNS.c:7045: dereferencing pointer to incomplete type
mDNS.c:7045: dereferencing pointer to incomplete type
mDNS.c:7046: dereferencing pointer to incomplete type
mDNS.c:7053: dereferencing pointer to incomplete type
mDNS.c:7057: dereferencing pointer to incomplete type
mDNS.c:7060: dereferencing pointer to incomplete type
mDNS.c: At top level:
mDNSClientAPI.h:922: storage size of `RR_ADV’ isn’t known
mDNSClientAPI.h:923: storage size of `RR_PTR’ isn’t known
mDNSClientAPI.h:924: storage size of `RR_SRV’ isn’t known
mDNSClientAPI.h:925: storage size of `RR_TXT’ isn’t known
mDNS.c:1084: storage size of `zeroRR’ isn’t known
*** Error code 1
make: Fatal error: Command failed for target `mDNS.o’
Current working directory /share1/mt-daapd-0.2.4/src
*** Error code 1
make: Fatal error: Command failed for target `all’
Current working directory /share1/mt-daapd-0.2.4/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive’
Current working directory /share1/mt-daapd-0.2.4
*** Error code 1
make: Fatal error: Command failed for target `all’I think it’s a uint32_t typedef in mdns.h that isn’t right, but I think there may be more than that. I think it’s possible that the easiest way to get it working is to use howl as the mdns responder. If that is a possiblity, then you can just configure it with –enable-howl, and use the appropriate –with-howl-includes and –with-howl-libs and it should go okay.
Failing that, I don’t have a solaris 8 machines, and I haven’t seen a patch or recommendations appear on how to fix it on solaris.
Is it possible to use howl? If not, I could set up an opensolaris machine and see if that exhibits the same problems, but it will probably take me a while.
— Ron
22/08/2006 at 1:04 PM #6092ScallicaParticipantWhen I run the make command for howl 1.0.0, it fails with the following error:
Making all in mDNSResponder
Making all in Posix
Making all in Win32
source=’Posix/posix_main.c’ object=’posix_main.o’ libtool=no
depfile=’.deps/posix_main.Po’ tmpdepfile=’.deps/posix_main.TPo’
depmode=gcc /bin/bash ../../depcomp
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include/ -I../../src/lib/howl -I../../src/lib/mDNSResponder -c -o posix_main.o `test -f ‘Posix/posix_main.c’ || echo ‘./’`Posix/posix_main.c
Posix/posix_main.c:41: getopt.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `posix_main.o’
Current working directory /share1/howl-1.0.0/src/mDNSResponder
*** Error code 1
make: Fatal error: Command failed for target `all-recursive’
Current working directory /share1/howl-1.0.0/src/mDNSResponder
*** Error code 1
make: Fatal error: Command failed for target `all-recursive’
Current working directory /share1/howl-1.0.0/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive’23/08/2006 at 3:19 AM #6093rpeddeParticipant@Scallica wrote:
When I run the make command for howl 1.0.0, it fails with the following error:
Making all in mDNSResponder
Making all in Posix
Making all in Win32
source=’Posix/posix_main.c’ object=’posix_main.o’ libtool=no
depfile=’.deps/posix_main.Po’ tmpdepfile=’.deps/posix_main.TPo’
depmode=gcc /bin/bash ../../depcomp
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include/ -I../../src/lib/howl -I../../src/lib/mDNSResponder -c -o posix_main.o `test -f ‘Posix/posix_main.c’ || echo ‘./’`Posix/posix_main.c
Posix/posix_main.c:41: getopt.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `posix_main.o’
Current working directory /share1/howl-1.0.0/src/mDNSResponder
*** Error code 1
make: Fatal error: Command failed for target `all-recursive’
Current working directory /share1/howl-1.0.0/src/mDNSResponder
*** Error code 1
make: Fatal error: Command failed for target `all-recursive’
Current working directory /share1/howl-1.0.0/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive’That one I *do* know offhand — edit the file that’s ticked off about not having “getopt.h” and replace it with “unistd.h” instead.
— Ron
23/08/2006 at 1:18 PM #6094ScallicaParticipantI believe the file its complaining about is src/mDNSResponder/Posix/posix_main.c
The only line referencing getopt.h was an include statement. I changed this to unistd.h and I receive the same error.
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.