FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Nightlies Feedback › Problem compiling 1498 on OS X
- This topic has 2 replies, 2 voices, and was last updated 16 years, 7 months ago by
rpedde.
-
AuthorPosts
-
02/03/2007 at 8:46 PM #1156
oboeaaron
ParticipantHi. First, I want to thank Ron for a fantastic piece of software – I have been using mt-daapd since ver. 2.1 at home. Your efforts are greatly appreciated.
I am running into an issue building the 1498 nightly on OS X. The strange thing is that it compiled OK a few weeks ago, but now it exits with many errors. I have tried this on my laptop which compiled it fine a few weeks ago, and on a fresh OS X 10.4 installation with all updates applied. I have always used Darwinports to provide sqlite3 and libid3tag. The compiled version of 1498 on the laptop still works fine, but the same version will no longer compile.
At this point my best theory is that one of the recent updates to OS X broke something, but I have not had a chance to try compiling it on an unpatched OS X partition. There was also an update for Xcode a few days ago. I haven’t updated any of my Darwinports packages on the laptop, so I don’t think any of those packages is responsible for the problems.
Hopefully this is just a simple oversight of some kind on my part. Thanks for any help you can provide.
-Aaron
Here is what I have installed via Darwinports:
The following ports are currently installed:
apr @1.2.8_0 (active)
apr-util @1.2.8_1 (active)
db44 @4.4.20_1+darwin_8 (active)
expat @2.0.0_1 (active)
ffmpeg @0.4.9-pre1_0 (active)
gdbm @1.8.3_1 (active)
gettext @0.16.1_0 (active)
id3lib @3.8.3_0 (active)
libiconv @1.11_4+darwin_8 (active)
libid3tag @0.15.1b_0 (active)
libsdl @1.2.11_0+darwin_8 (active)
ncurses @5.5_1+darwin_8 (active)
ncursesw @5.5_0+darwin_8 (active)
neon @0.26.3_0 (active)
openssl @0.9.8e_0+darwin_8 (active)
readline @5.1.004_0 (active)
sqlite3 @3.3.13_0+darwin_8 (active)
subversion @1.4.3_0 (active)
zlib @1.2.3_0 (active)Here are the error messages:
~/software/mt-daapd-svn-1498 admin$ make
make all-recursive
Making all in src
Making all in plugins
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -g -Wall -DHAVE_SQL -DHOST='"powerpc-apple-darwin8.8.0"' -no-cpp-precomp -DMAC -I/opt/local/includes -I/opt/local/include -I.. -g -O2 -MT out-daap.lo -MD -MP -MF ".deps/out-daap.Tpo" -c -o out-daap.lo out-daap.c;
then mv -f ".deps/out-daap.Tpo" ".deps/out-daap.Plo"; else rm -f ".deps/out-daap.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -g -Wall -DHAVE_SQL -DHOST="powerpc-apple-darwin8.8.0" -no-cpp-precomp -DMAC -I/opt/local/includes -I/opt/local/include -I.. -g -O2 -MT out-daap.lo -MD -MP -MF .deps/out-daap.Tpo -c out-daap.c -fno-common -DPIC -o .libs/out-daap.o
In file included from out-daap.c:41:
../ff-dbstruct.h:66: error: parse error before "uint32_t"
../ff-dbstruct.h:66: warning: no semicolon at end of struct or union
../ff-dbstruct.h:80: error: parse error before "bitrate"
../ff-dbstruct.h:80: warning: type defaults to 'int' in declaration of 'bitrate'
../ff-dbstruct.h:80: warning: data definition has no type or storage class
../ff-dbstruct.h:81: error: parse error before "samplerate"
../ff-dbstruct.h:81: warning: type defaults to 'int' in declaration of 'samplerate'
../ff-dbstruct.h:81: warning: data definition has no type or storage class
../ff-dbstruct.h:82: error: parse error before "song_length"
../ff-dbstruct.h:82: warning: type defaults to 'int' in declaration of 'song_length'
../ff-dbstruct.h:82: warning: data definition has no type or storage class
../ff-dbstruct.h:83: error: parse error before "file_size"
../ff-dbstruct.h:83: warning: type defaults to 'int' in declaration of 'file_size'
../ff-dbstruct.h:83: warning: data definition has no type or storage class
../ff-dbstruct.h:84: error: parse error before "year"
../ff-dbstruct.h:84: warning: type defaults to 'int' in declaration of 'year'
../ff-dbstruct.h:84: warning: data definition has no type or storage class
../ff-dbstruct.h:86: error: parse error before "track"
../ff-dbstruct.h:86: warning: type defaults to 'int' in declaration of 'track'
../ff-dbstruct.h:86: warning: data definition has no type or storage class
../ff-dbstruct.h:87: error: parse error before "total_tracks"
../ff-dbstruct.h:87: warning: type defaults to 'int' in declaration of 'total_tracks'
../ff-dbstruct.h:87: warning: data definition has no type or storage class
../ff-dbstruct.h:89: error: parse error before "disc"
../ff-dbstruct.h:89: warning: type defaults to 'int' in declaration of 'disc'
../ff-dbstruct.h:89: warning: data definition has no type or storage class
../ff-dbstruct.h:90: error: parse error before "total_discs"
../ff-dbstruct.h:90: warning: type defaults to 'int' in declaration of 'total_discs'
../ff-dbstruct.h:90: warning: data definition has no type or storage class
../ff-dbstruct.h:92: error: parse error before "time_added"
../ff-dbstruct.h:92: warning: type defaults to 'int' in declaration of 'time_added'
../ff-dbstruct.h:92: warning: data definition has no type or storage class
../ff-dbstruct.h:93: error: parse error before "time_modified"
../ff-dbstruct.h:93: warning: type defaults to 'int' in declaration of 'time_modified'
../ff-dbstruct.h:93: warning: data definition has no type or storage class
../ff-dbstruct.h:94: error: parse error before "time_played"
../ff-dbstruct.h:94: warning: type defaults to 'int' in declaration of 'time_played'
../ff-dbstruct.h:94: warning: data definition has no type or storage class
../ff-dbstruct.h:96: error: parse error before "play_count"
../ff-dbstruct.h:96: warning: type defaults to 'int' in declaration of 'play_count'
../ff-dbstruct.h:96: warning: data definition has no type or storage class
../ff-dbstruct.h:97: error: parse error before "rating"
../ff-dbstruct.h:97: warning: type defaults to 'int' in declaration of 'rating'
../ff-dbstruct.h:97: warning: data definition has no type or storage class
../ff-dbstruct.h:98: error: parse error before "db_timestamp"
../ff-dbstruct.h:98: warning: type defaults to 'int' in declaration of 'db_timestamp'
../ff-dbstruct.h:98: warning: data definition has no type or storage class
../ff-dbstruct.h:100: error: parse error before "disabled"
../ff-dbstruct.h:100: warning: type defaults to 'int' in declaration of 'disabled'
../ff-dbstruct.h:100: warning: data definition has no type or storage class
../ff-dbstruct.h:101: error: parse error before "bpm"
../ff-dbstruct.h:101: warning: type defaults to 'int' in declaration of 'bpm'
../ff-dbstruct.h:101: warning: data definition has no type or storage class
../ff-dbstruct.h:103: error: parse error before "got_id3"
../ff-dbstruct.h:103: warning: type defaults to 'int' in declaration of 'got_id3'
../ff-dbstruct.h:103: warning: data definition has no type or storage class
../ff-dbstruct.h:104: error: parse error before "id"
../ff-dbstruct.h:104: warning: type defaults to 'int' in declaration of 'id'
../ff-dbstruct.h:104: warning: data definition has no type or storage class
../ff-dbstruct.h:109: error: parse error before "item_kind"
../ff-dbstruct.h:109: warning: type defaults to 'int' in declaration of 'item_kind'
../ff-dbstruct.h:109: warning: data definition has no type or storage class
../ff-dbstruct.h:110: error: parse error before "data_kind"
../ff-dbstruct.h:110: warning: type defaults to 'int' in declaration of 'data_kind'
../ff-dbstruct.h:110: warning: data definition has no type or storage class
../ff-dbstruct.h:111: error: parse error before "force_update"
../ff-dbstruct.h:111: warning: type defaults to 'int' in declaration of 'force_update'
../ff-dbstruct.h:111: warning: data definition has no type or storage class
../ff-dbstruct.h:112: error: parse error before "sample_count"
../ff-dbstruct.h:112: warning: type defaults to 'int' in declaration of 'sample_count'
../ff-dbstruct.h:112: warning: data definition has no type or storage class
../ff-dbstruct.h:116: error: parse error before "contentrating"
../ff-dbstruct.h:116: warning: type defaults to 'int' in declaration of 'contentrating'
../ff-dbstruct.h:116: warning: data definition has no type or storage class
../ff-dbstruct.h:119: error: parse error before "has_video"
../ff-dbstruct.h:119: warning: type defaults to 'int' in declaration of 'has_video'
../ff-dbstruct.h:119: warning: data definition has no type or storage class
../ff-dbstruct.h:120: error: parse error before "bits_per_sample"
../ff-dbstruct.h:120: warning: type defaults to 'int' in declaration of 'bits_per_sample'
../ff-dbstruct.h:120: warning: data definition has no type or storage class
../ff-dbstruct.h:123: error: parse error before '}' token
../ff-dbstruct.h:123: warning: type defaults to 'int' in declaration of 'MP3FILE'
../ff-dbstruct.h:123: warning: data definition has no type or storage class
../ff-dbstruct.h:126: error: parse error before "uint32_t"
../ff-dbstruct.h:126: warning: no semicolon at end of struct or union
../ff-dbstruct.h:128: error: parse error before "type"
../ff-dbstruct.h:128: warning: type defaults to 'int' in declaration of 'type'
../ff-dbstruct.h:128: error: conflicting types for 'type'
../ff-dbstruct.h:73: error: previous declaration of 'type' was here
../ff-dbstruct.h:128: warning: data definition has no type or storage class
../ff-dbstruct.h:129: error: parse error before "items"
../ff-dbstruct.h:129: warning: type defaults to 'int' in declaration of 'items'
../ff-dbstruct.h:129: warning: data definition has no type or storage class
../ff-dbstruct.h:131: error: parse error before "db_timestamp"
../ff-dbstruct.h:131: warning: type defaults to 'int' in declaration of 'db_timestamp'
../ff-dbstruct.h:131: warning: data definition has no type or storage class
../ff-dbstruct.h:133: error: parse error before "index"
../ff-dbstruct.h:133: warning: type defaults to 'int' in declaration of 'index'
../ff-dbstruct.h:133: error: 'index' redeclared as different kind of symbol
../ff-dbstruct.h:133: warning: data definition has no type or storage class
../ff-dbstruct.h:134: warning: type defaults to 'int' in declaration of 'M3UFILE'
../ff-dbstruct.h:134: warning: data definition has no type or storage class
In file included from out-daap.c:42:
../ff-plugins.h:79: error: parse error before "MP3FILE"
In file included from out-daap.c:44:
out-daap-proto.h:26: error: parse error before "uint64_t"
make[3]: *** [out-daap.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2[/code]
02/03/2007 at 9:17 PM #9448oboeaaron
Participant@oboeaaron wrote:
There was also an update for Xcode a few days ago.
Sure enough, I rolled back to Xcode version 2.2.1 and svn-1498 compiled with no errors. I am not a programmer so I have no idea what went wrong, but if anyone has some suggestions I will try them out to see what happens.
-Aaron
02/03/2007 at 10:35 PM #9449rpedde
Participant@oboeaaron wrote:
@oboeaaron wrote:
There was also an update for Xcode a few days ago.
Sure enough, I rolled back to Xcode version 2.2.1 and svn-1498 compiled with no errors. I am not a programmer so I have no idea what went wrong, but if anyone has some suggestions I will try them out to see what happens.
-Aaron
missing the uint32_t definition. Guess it’s not in stdint.h anymore. I’ll upgrade myself and see what’s up.
— Ron
-
AuthorPosts
- The forum ‘Nightlies Feedback’ is closed to new topics and replies.