[MAC] error compiling libid3tag
#1
I'm attempting to compile the latest SVN version for the first time on OSX, and am running into troubles during the "make xcode_depends" stage. Yes, I realize we're not supposed to be asking about compiling the latest SVN, but this error is specific to the libid3tag library which apparently hasn't changed in over 6 months, so I'm wondering if anyone else has run into the same problem in the past. If I run "make" directly from the XBMC/xbmc/lib/libid3tag folder, I get:

Code:
make -C libid3tag
make  all-recursive
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -MT genre.lo -MD -MP -MF .deps/genre.Tpo -c -o genre.lo genre.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -MT genre.lo -MD -MP -MF .deps/genre.Tpo -c genre.c  -fno-common -DPIC -o .libs/genre.o
In file included from genre.c:32:
genre.dat:333: error: ‘BLUES_CLASSIC_ROCK_COUNTRY_DANCE_DISCO_FUNK_GRUNGE_HIP_HOP_JAZZ_METAL_NEW_AGE_OLDIES_OTHER_POP_R_B_RAP_REGGAE_ROCK_TECHNO_INDUSTRIAL_ALTERNATIVE_SKA_DEATH_METAL_PRANKS_SOUNDTRACK_EURO_TECHNO_AMBIENT_TRIP_HOP_VOCAL_JAZZ_FUNK_FUSION_TRANCE_CLASSICAL_INSTRUMENTAL_ACID_HOUSE_GAME_SOUND_CLIP_GOSPEL_NOISE_ALTERNROCK_BASS_SOUL_PUNK_SPACE_MEDITATIVE_INSTRUMENTAL_POP_INSTRUMENTAL_ROCK_ETHNIC_GOTHIC_DARKWAVE_TECHNO_INDUSTRIAL_ELECTRONIC_POP_FOLK_EURODANCE_DREAM_SOUTHERN_ROCK_COMEDY_CULT_GANGSTA_TOP_40_CHRISTIAN_RAP_POP_FUNK_JUNGLE_NATIVE_AMERICAN_CABARET_NEW_WAVE_PSYCHEDELIC_RAVE_SHOWTUNES_TRAILER_LO_FI_TRIBAL_ACID_PUNK_ACID_JAZZ_POLKA_RETRO_MUSICAL_ROCK___ROLL_HARD_ROCK_FOLK_FOLK_ROCK_NATIONAL_FOLK_SWING_FAST_FUSION_BEBOB_LATIN_REVIVAL_CELTIC_BLUEGRASS_AVANTGARDE_GOTHIC_ROCK_PROGRESSIVE_ROCK_PSYCHEDELIC_ROCK_SYMPHONIC_ROCK_SLOW_ROCK_BIG_BAND_CHORUS_EASY_LISTENING_ACOUSTIC_HUMOUR_SPEECH_CHANSON_OPERA_CHAMBER_MUSIC_SONATA_SYMPHONY_BOOTY_BASS_PRIMUS_PORN_GROOVE_SATIRE_SLOW_JAM_CLUB_TANGO_SAMBA_FOLKLORE_BALLAD_POWER_BALLAD_RHYTHMIC_SOUL_FREESTYLE_DUET_PUNK_ROCK_DRUM_SOLO_A_CAPPELLA_EURO_HOUSE_DANCE_HALL_GOA_DRUM___BASS_CLUB_HOUSE_HARDCORE_TERROR_INDIE_BRITPOP_NEGERPUNK_POLSK_PUNK_BEAT_CHRISTIAN_GANGSTA_RAP_HEAVY_METAL_BLACK_METAL_CROSSOVER_CONTEMPORARY_CHRISTIAN_CHRISTIAN_ROCK_MERENGUE_SALSA_THRASH_METAL_ANIME_JPOP_SYNTHPOP_’ undeclared here (not in a function)
make[3]: *** [genre.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [libid3tag/.libs/libid3tag.dylib] Error 2

again, nothing in there has changed in the past while, so I don't think it's a result of the latest SVN changes. Though I apologize if I'm wrong! Wink

I'm running an intel mac with OSX 10.5.8 and Xcode 3.1.3.

Thanks!
Reply
#2
When did you install macports and what version is it ?
Reply
#3
davilla Wrote:When did you install macports and what version is it ?

About two days ago, MacPorts v1.8.0, all fresh libs installed, no errors installing any of the required libs (as per the README.osx). Everything else seems to compile fine, it seems to just be this one lib that fails.

If I install the latest libid3tag through MacPorts, will XBMC use that instead of the included lib?
Reply
#4
talisto Wrote:About two days ago, MacPorts v1.8.0, all fresh libs installed, no errors installing any of the required libs (as per the README.osx). Everything else seems to compile fine, it seems to just be this one lib that fails.

If I install the latest libid3tag through MacPorts, will XBMC use that instead of the included lib?

see this post, macport 1.8.0 fallout. Working on a solution.
Reply
#5
davilla Wrote:see this post, macport 1.8.0 fallout. Working on a solution.

D'ohh. Unfortunately it doesn't look like there's any way to install MacPorts 1.7.x; the pkg installer apparently automatically does a "selfupdate" after installing, and compiling from source requires a "port sync" which then requires commands from 1.8.0 to actually be able to install anything. Super lame, MacPorts!

I'll wait patiently for a fix Smile Thanks for the reply!
Reply

Logout Mark Read Team Forum Stats Members Help
[MAC] error compiling libid3tag0