Build error
Added by Girish Patel about 11 years ago
Hi, over the past few days building Showtime has always come up with an error. I've not changed anything. Any ideas? Thanks in advance.
[email protected]:~/Documents/showtime$ make -j8
CC build.ps3/ext/audio/sid.o
CC build.ps3/ext/dvd/dvdcss/device.o
CC build.ps3/ext/dvd/dvdcss/css.o
CC build.ps3/ext/dvd/dvdcss/error.o
CC build.ps3/ext/dvd/dvdcss/libdvdcss.o
CC build.ps3/ext/dvd/dvdnav/dvdnav.o
CC build.ps3/ext/dvd/dvdnav/highlight.o
CC build.ps3/ext/dvd/dvdnav/navigation.o
In file included from /home/girish/Documents/showtime/src/showtime.h:27:0,
from /home/girish/Documents/showtime/ext/dvd/dvdcss/libdvdcss.h:26,
from /home/girish/Documents/showtime/ext/dvd/dvdcss/device.c:78:
/home/girish/Documents/showtime/src/arch/threads.h:191:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hts_cond_t'
/home/girish/Documents/showtime/src/arch/threads.h:196:38: error: expected ')' before '*' token
/home/girish/Documents/showtime/src/arch/threads.h:201:45: error: expected ')' before '*' token
In file included from /home/girish/Documents/showtime/src/event.h:25:0,
from /home/girish/Documents/showtime/src/prop/prop.h:24,
from /home/girish/Documents/showtime/src/backend/backend.h:22,
from /home/girish/Documents/showtime/ext/audio/sid.c:1198:
/home/girish/Documents/showtime/src/arch/threads.h:191:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hts_cond_t'
/home/girish/Documents/showtime/src/arch/threads.h:196:38: error: expected ')' before '*' token
/home/girish/Documents/showtime/src/arch/threads.h:201:45: error: expected ')' before '*' token
In file included from /home/girish/Documents/showtime/src/prop/prop.h:24:0,
from /home/girish/Documents/showtime/src/backend/backend.h:22,
from /home/girish/Documents/showtime/ext/audio/sid.c:1198:
/home/girish/Documents/showtime/src/event.h:159:3: error: expected specifier-qualifier-list before 'hts_cond_t'In file included from /home/girish/Documents/showtime/src/showtime.h:27:0,
from /home/girish/Documents/showtime/ext/dvd/dvdcss/libdvdcss.h:26,
from /home/girish/Documents/showtime/ext/dvd/dvdcss/libdvdcss.c:133:
/home/girish/Documents/showtime/src/arch/threads.h:191:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hts_cond_t'
/home/girish/Documents/showtime/src/arch/threads.h:196:38: error: expected ')' before '*' token
/home/girish/Documents/showtime/src/arch/threads.h:201:45: error: expected ')' before '*' token
In file included from /home/girish/Documents/showtime/src/showtime.h:27:0,
from /home/girish/Documents/showtime/ext/dvd/dvdcss/libdvdcss.h:26,
from /home/girish/Documents/showtime/ext/dvd/dvdcss/css.c:60:
/home/girish/Documents/showtime/src/arch/threads.h:191:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hts_cond_t'
/home/girish/Documents/showtime/src/arch/threads.h:196:38: error: expected ')' before '*' token
/home/girish/Documents/showtime/src/arch/threads.h:201:45: error: expected ')' before '*' token
In file included from /home/girish/Documents/showtime/ext/dvd/dvdnav/dvdnav_internal.h:52:0,
from /home/girish/Documents/showtime/ext/dvd/dvdnav/navigation.c:39:
/home/girish/Documents/showtime/src/arch/threads.h:191:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hts_cond_t'
/home/girish/Documents/showtime/src/arch/threads.h:196:38: error: expected ')' before '*' token
/home/girish/Documents/showtime/src/arch/threads.h:201:45: error: expected ')' before '*' token
In file included from /home/girish/Documents/showtime/src/showtime.h:27:0,
from /home/girish/Documents/showtime/ext/dvd/dvdcss/libdvdcss.h:26,
from /home/girish/Documents/showtime/ext/dvd/dvdcss/error.c:41:
/home/girish/Documents/showtime/src/arch/threads.h:191:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hts_cond_t'
/home/girish/Documents/showtime/src/arch/threads.h:196:38: error: expected ')' before '*' token
/home/girish/Documents/showtime/src/arch/threads.h:201:45: error: expected ')' before '*' token
In file included from /home/girish/Documents/showtime/ext/audio/sid.c:1199:0:
/home/girish/Documents/showtime/src/media.h:158:3: error: expected specifier-qualifier-list before 'hts_cond_t'
/home/girish/Documents/showtime/src/media.h:233:3: error: expected specifier-qualifier-list before 'hts_cond_t'
make: * [build.ps3/ext/dvd/dvdcss/error.o] Error 1
make: Waiting for unfinished jobs....
make: [build.ps3/ext/dvd/dvdcss/device.o] Error 1
In file included from /home/girish/Documents/showtime/ext/dvd/dvdnav/dvdnav_internal.h:52:0,
from /home/girish/Documents/showtime/ext/dvd/dvdnav/highlight.c:41:
/home/girish/Documents/showtime/src/arch/threads.h:191:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hts_cond_t'
/home/girish/Documents/showtime/src/arch/threads.h:196:38: error: expected ')' before '*' token
/home/girish/Documents/showtime/src/arch/threads.h:201:45: error: expected ')' before '*' token
make: [build.ps3/ext/dvd/dvdnav/navigation.o] Error 1
In file included from /home/girish/Documents/showtime/ext/dvd/dvdnav/dvdnav_internal.h:52:0,
from /home/girish/Documents/showtime/ext/dvd/dvdnav/dvdnav.c:48:
/home/girish/Documents/showtime/src/arch/threads.h:191:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hts_cond_t'
/home/girish/Documents/showtime/src/arch/threads.h:196:38: error: expected ')' before '' token
/home/girish/Documents/showtime/src/arch/threads.h:201:45: error: expected ')' before '*' token
/home/girish/Documents/showtime/ext/audio/sid.c: In function 'be_sidplayer_play':
/home/girish/Documents/showtime/ext/audio/sid.c:1222:26: error: 'media_pipe_t' has no member named 'mp_audio'
/home/girish/Documents/showtime/ext/audio/sid.c:1266:5: error: 'media_pipe_t' has no member named 'mp_audio'
make: * [build.ps3/ext/dvd/dvdcss/libdvdcss.o] Error 1
make: [build.ps3/ext/dvd/dvdnav/highlight.o] Error 1
make: [build.ps3/ext/audio/sid.o] Error 1
make: [build.ps3/ext/dvd/dvdcss/css.o] Error 1
make: ** [build.ps3/ext/dvd/dvdnav/dvdnav.o] Error 1
[email protected]:~/Documents/showtime$
Replies (29)
RE: Build error
-
Added by Andreas Smas about 11 years ago
I think your psl1ght version is outdated.
You need the one from my github account.
RE: Build error
-
Added by Rural Hunter about 11 years ago
I met the same problem. After I updated psl1ght from your version, I got this error:
CC build.ps3/src/backend/backend_prop.o
CC build.ps3/src/media.o
CC build.ps3/src/misc/pixmap.o
CC build.ps3/src/playqueue.o
CC build.ps3/src/settings.o
CC build.ps3/src/ui/glw/glw_video_common.o
CC build.ps3/src/ui/glw/glw_video_rsx.o
CC build.ps3/src/video/ps3_vdec.o
CC build.ps3/src/version.o
CC build.ps3/showtime
/home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a(sprx.o): In function `__sysLwCondSignalAll':
(.sceStub.text+0x1aa): undefined reference to `sysLwCondSignalAll_stub'
/home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a(sprx.o): In function `__sysLwCondSignalAll':
(.sceStub.text+0x1ae): undefined reference to `sysLwCondSignalAll_stub'
/home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a(sprx.o): In function `__sysLwCondSignal':
(.sceStub.text+0x1ba): undefined reference to `sysLwCondSignal_stub'
/home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a(sprx.o): In function `__sysLwCondSignal':
(.sceStub.text+0x1be): undefined reference to `sysLwCondSignal_stub'
/home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a(sprx.o): In function `__sysLwCondDestroy':
(.sceStub.text+0x1ca): undefined reference to `sysLwCondDestroy_stub'
/home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a(sprx.o): In function `__sysLwCondDestroy':
(.sceStub.text+0x1ce): undefined reference to `sysLwCondDestroy_stub'
/home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a(sprx.o): In function `__sysLwCondWait':
(.sceStub.text+0x1da): undefined reference to `sysLwCondWait_stub'
/home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a(sprx.o): In function `__sysLwCondWait':
(.sceStub.text+0x1de): undefined reference to `sysLwCondWait_stub'
/home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a(sprx.o): In function `__sysLwCondCreate':
(.sceStub.text+0x1ea): undefined reference to `sysLwCondCreate_stub'
/home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a(sprx.o): In function `__sysLwCondCreate':
(.sceStub.text+0x1ee): undefined reference to `sysLwCondCreate_stub'
collect2: ld returned 1 exit status
liblv2.a is newly updated with make && make install of ps1ight:rw-r--r- 1 rhunter rhunter 14888 2012-04-24 12:39 /home/rhunter/ps3/PSL1GHT/target/lib/liblv2.a
RE: Build error
-
Added by Andreas Smas about 11 years ago
did you 'make clean' in psl1ght first?
psl1ght's build system is a bit broken and some stuff does not trig correct dependencies when rebuilding.
RE: Build error
-
Added by Rural Hunter about 11 years ago
ah yes, worked with 'make clean'. Thanks Andreas!
RE: Build error
-
Added by Andreas Smas about 11 years ago
FYI: I just pushed even more stuff to my psl1ght repo so showtime from a few minutes ago need that as well ..
RE: Build error
-
Added by Rural Hunter about 11 years ago
hmm...strange, I just built with the latest psl1ght and showtime code but it doesn't launch on my PS3. It just kicked me back to XMB.
RE: Build error
-
Added by Max Jänsch about 11 years ago
same problem here. looks like the problem exist a little bit longer, the last version i have on my harddrive that installs and runs is 3.5.19, maybe newer ones also do but i don't have them anymore. next version i got is 3.5.148 if i install this one after deleting 3.5.19 it kicks me back to xmb, if i don't delete 3.5.19 and just install 3.5.148 everything works fine. latest version allways kicks me back to xmb, no matter if i have an older version installed or not.
RE: Build error
-
Added by Rural Hunter about 11 years ago
not sure from which version the problem started. my last build is at 04/15 and it works.
RE: Build error
-
Added by Girish Patel about 11 years ago
The last one I've got working is 3.5.123.
The latest ones as said above kick back to the xmb.
RE: Build error
-
Added by Andreas Smas about 11 years ago
All those bugs should be fixed now
btw.
there's a new build at http://www.lonelycoder.com/showtime/download
this might be the most stable version of Showtime so far.
RE: Build error
-
Added by Rural Hunter about 11 years ago
yes, the latest build runs and looks much stable(no memory shortage message seen so far). but seems there is a bug: if I return to the browser from video playing then choose any video(same one as previous or not) to play again, I am kicked back to XMB. That means, I can only watch one video each time I launch showtime.
RE: Build error
-
Added by Ca Ra about 11 years ago
I can't build it since a few weeks.
running ./Autobuild.sh -t ps3 -j 8
will break after half hour with this error
Toolchain from: 'https://github.com/andoma/ps3toolchain/tarball/3719cbe6bb2fb64d6a2ac2ac30a7da141a12e119' Local install in: /var/tmp/showtime-autobuild/cce9b318db4075b5450e3d723bdbeb642626345e Toolchain seems to exist Cleaning builddir: build.ps3 Updating libav, submodule status = Configuring libav... ccache /var/tmp/showtime-autobuild/cce9b318db4075b5450e3d723bdbeb642626345e/ps3dev/host/ppu/bin/ppu-gcc is unable to create an executable file. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the [email protected] mailing list or IRC #libav on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem. Configure failed
if I run that command on a clean ubuntu install with sudo bash, should it do everything?
or do I have to configure something else?
RE: Build error
-
Added by Andreas Smas about 11 years ago
you probably don't have ccache installed.
If you're on ubuntu/debian see the last line in Autobuild/ps3.sh
for all required packages
RE: Build error
-
Added by Girish Patel about 11 years ago
Rural Hunter wrote:
yes, the latest build runs and looks much stable(no memory shortage message seen so far). but seems there is a bug: if I return to the browser from video playing then choose any video(same one as previous or not) to play again, I am kicked back to XMB. That means, I can only watch one video each time I launch showtime.
I tried the build today and when I clicked to open Showtime it kicked back to XMB. I built my own in the afternoon and still it is kicking back to XMB.
I've gone back my last working build 3.5.123
RE: Build error
-
Added by Andreas Smas about 11 years ago
Starting with 3.5.172 Showtime will write logfiles to disk.
Read all about it here: https://www.lonelycoder.com/redmine/projects/showtime/wiki/Logging
RE: Build error
-
Added by Ca Ra about 11 years ago
that was it, but now I get.
adding: resources/cachedb/ (stored 0%) adding: resources/cachedb/001.sql (stored 0%) adding: resources/tvheadend/ (stored 0%) adding: resources/tvheadend/logo.png (stored 0%) adding: resources/fileaccess/ (stored 0%) adding: resources/fileaccess/fs_icon.png (stored 0%) MKBUNDLE build.ps3/bundles/glwthemes/mono.c MKBUNDLE build.ps3/bundles/lang.c MKBUNDLE build.ps3/bundles/resources/metadb.c MKBUNDLE build.ps3/bundles/resources/cachedb.c MKBUNDLE build.ps3/bundles/resources/tvheadend.c MKBUNDLE build.ps3/bundles/resources/fileaccess.c Autobuild/ps3.sh: line 42: 30408 Segmentation fault make ${JARGS} BUILD=${TARGET} pkg self
RE: Build error
-
Added by Girish Patel about 11 years ago
Andreas Öman wrote:
All those bugs should be fixed now
btw.there's a new build at http://www.lonelycoder.com/showtime/download
this might be the most stable version of Showtime so far.
Just tried the download and its still kicking me back to the xmb. Very strange
RE: Build error
-
Added by Rural Hunter about 11 years ago
Girish Patel wrote:
Rural Hunter wrote:
yes, the latest build runs and looks much stable(no memory shortage message seen so far). but seems there is a bug: if I return to the browser from video playing then choose any video(same one as previous or not) to play again, I am kicked back to XMB. That means, I can only watch one video each time I launch showtime.
I tried the build today and when I clicked to open Showtime it kicked back to XMB. I built my own in the afternoon and still it is kicking back to XMB.
I've gone back my last working build 3.5.123
Strange, I also built my own and it worked, just with the problem I described above.
RE: Build error
-
Added by Rural Hunter about 11 years ago
Andreas Öman wrote:
Starting with 3.5.172 Showtime will write logfiles to disk.
Read all about it here: https://www.lonelycoder.com/redmine/projects/showtime/wiki/Logging
This is cool, will check that.
RE: Build error
-
Added by Andreas Smas about 11 years ago
Logfiles would be greatly appreciated from these crash events
RE: Build error
-
Added by Max Jänsch about 11 years ago
just build the latest version this morning and did some testing.
1. delete installed version of showtime.
2. install showtime 3.5.174 --> not working, no logfile on hdd. only empty dir USRDIR/cache/bc2
3. install showtime 3.5.19 then install 3.5.174 again --> not working, but logfile on hdd(log1).
4. install showtime 3.5.19 again start it --> working, then install 3.5.174 --> working(log0).
all test were made with my own builds, same problem was with 3.5.172.
showtime.log.1 - not working (505 Bytes)
showtime.log.0 - working (11.3 KB)
RE: Build error
-
Added by Andreas Smas about 11 years ago
Ok, so there is some kind of malloc(0) going on according to the crash.
The backtrace doesnt say much to be cause I didn't build the binary myself so I can't decode them.
Here's how to do it (would be super-great if you could do it)
Run ppu-gdb from whereever you have it.
If you ran from a pkg build.ps3/showtime
is the file with debug symbols. If you ran a self file build.ps3/showtime.bundle
is the correct one
[email protected]:~/showtime (master)$ /home/andoma/ps3dev/host/ppu/bin/ppu-gdb build.ps3/showtime GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=ppu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/andoma/showtime/build.ps3/showtime...done. (gdb)
Then list the source code from the addresses from the BACKTRACE lines in the log file
BACKTRACE [EMERG]:0x1d0310 BACKTRACE [EMERG]:0x1d0fc0 BACKTRACE [EMERG]:0x1fdaf4
like this:
(gdb) list *0x1d0310
And paste the output here.
Note that it's important that all source files match all object files so if you've done a git pull
or something since the build you must rebuild.
RE: Build error
-
Added by Max Jänsch about 11 years ago
i hope that's what you need, first part is copy and paste of the new logfile as i allready updated to 3.5.175.
stlogausw (2.41 KB)
RE: Build error
-
Added by Andreas Smas about 11 years ago
Perfect, thanks a lot.
Fix will go in repo in a few seconds