Opened 15 years ago
Closed 15 years ago
#20324 closed defect (fixed)
smpeg-0.4.4 fails to build under Snow Leopard
Reported by: | info@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | SnowLeopard | Cc: | lstoll@…, sam@…, aselder@…, fletch@…, michael@…, andrius.laikina@…, ed@…, richard.allen.smith.jr@…, trevorturk@…, arnaud.demouhy@…, kirdatt.jai@…, domiman@… |
Port: | smpeg |
Description
There are problems due to 64 bit and missing patches ...
Attachments (4)
Change History (27)
Changed 15 years ago by info@…
Attachment: | smpeg.diff added |
---|
Changed 15 years ago by info@…
Attachment: | patch-MPEGaudio.h.diff added |
---|
Required patch for Snow Leopard compilation ...
Changed 15 years ago by info@…
Attachment: | patch-video.h.diff added |
---|
Required patch for Snow Leopard compilation ...
comment:1 Changed 15 years ago by tobypeterson
I'm not a fan of this, fixing it for 64bit would be ideal.
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Milestone: | MacPorts 1.8.0 |
---|
comment:9 Changed 15 years ago by andrius.laikina@…
I can't build on snow leopard even with patches applied
Changed 15 years ago by andrius.laikina@…
Attachment: | smpeg.debug added |
---|
patches applied, debug enabled
comment:12 Changed 15 years ago by tapajos@…
After apply all patches:
Portfile changed since last build; discarding previous state. ---> Computing dependencies for smpeg ---> Fetching smpeg ---> Verifying checksum(s) for smpeg ---> Extracting smpeg ---> Applying patches to smpeg ---> Configuring smpeg ---> Building smpeg Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_smpeg/work/smpeg-0.4.4" && /usr/bin/make all " returned error 2 Command output: _SDL_main in plaympeg.o
_SDL_main in plaympeg.o
"_SDL_SetVideoMode", referenced from:
_SDL_main in plaympeg.o _SDL_main in plaympeg.o
"_SDL_GetError", referenced from:
_SDL_main in plaympeg.o _SDL_main in plaympeg.o _SDL_main in plaympeg.o
"_SDL_WM_SetCaption", referenced from:
_SDL_main in plaympeg.o
"_SDL_Flip", referenced from:
update(SDL_Surface*, int, int, unsigned int, unsigned int)in plaympeg.o
"_SDL_Delay", referenced from:
_SDL_main in plaympeg.o
"_SDL_Init", referenced from:
_SDL_main in plaympeg.o _SDL_main in plaympeg.o
"_SDL_WM_ToggleFullScreen", referenced from:
_SDL_main in plaympeg.o
"_SDL_Linked_Version", referenced from:
_SDL_main in plaympeg.o
"_SDL_Quit", referenced from:
_SDL_main in plaympeg.o
"_SDL_VideoDriverName", referenced from:
_SDL_main in plaympeg.o
ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: * [plaympeg] Error 1 make: * [all-recursive] Error 1
Error: Status 1 encountered during processing.
Any idea?
comment:13 Changed 15 years ago by richard.allen.smith.jr@…
Cc: | richard.allen.smith.jr@… added |
---|
Cc Me!
comment:19 Changed 15 years ago by kirdatt.jai@…
Hi,
Do the patches work? If yes, how do I apply them. I see that they have a .diff extension... I applied a patch earlier but that had a .patch extension, so I am thinking I need to do something different?
Thanks J
comment:20 Changed 15 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to mww@… |
---|
comment:22 Changed 15 years ago by domiman@…
With these patches applied and also applying http://trac.macports.org/changeset/56648 to make smpeg use libsdl-devel (since libsdl is not building atm) compile errors in MPEG.ccp:
libtool: compile: /usr/bin/g++-4.2 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -mmacosx-version-min=10.5 -arch i386 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-rtti -c MPEG.cpp -fno-common -DPIC -o .libs/MPEG.o MPEG.cpp: In constructor 'MPEG::MPEG(int, bool)': MPEG.cpp:50: error: cannot convert 'bool' to 'SDL_bool' for argument '2' to 'SDL_RWops* SDL_RWFromFP(FILE*, SDL_bool)' MPEG.cpp: In member function 'void MPEG::Init(SDL_RWops*, bool)': MPEG.cpp:111: warning: deprecated conversion from string constant to 'char*' make[1]: * [MPEG.lo] Error 1 make: * [all-recursive] Error 1
comment:23 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch for Portfile ...