The above video goes away if you are a member and logged in, so log in now!
|
| |
Would you like to get all the new info from PSX-Scene in your email each day?
| |
|
-
#1
Unable to build psl1ght samples
Unable to build psl1ght samples –
01-18-2011,06:39 PM
I've installed psl1ght by following the guide on the psl1ght wiki. However, the samples do not build. A typical error is given below.
Code:
[R2H] psl1ght_png.bin
[CC] main.c
[LD] pngtest.elf
main.o: In function `waitFlip':
/usr/src/ps3toolchain/build/psl1ght/samples/video/pngtest/source/main.c:35: undefined reference to `.usleep'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x8): undefined reference to `psl1ght_sbrk_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x10): undefined reference to `psl1ght_close_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x18): undefined reference to `psl1ght_open_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x20): undefined reference to `psl1ght_read_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x28): undefined reference to `psl1ght_write_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x30): undefined reference to `psl1ght_lseek_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x38): undefined reference to `psl1ght_lseek64_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x40): undefined reference to `psl1ght_fstat_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x48): undefined reference to `psl1ght_fstat64_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x50): undefined reference to `psl1ght_stat_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x58): undefined reference to `psl1ght_stat64_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x60): undefined reference to `psl1ght_ftruncate_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x68): undefined reference to `psl1ght_truncate_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x70): undefined reference to `psl1ght_fsync_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x78): undefined reference to `psl1ght_link_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x80): undefined reference to `psl1ght_unlink_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x88): undefined reference to `psl1ght_chmod_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x90): undefined reference to `psl1ght_rename_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x98): undefined reference to `psl1ght_utime_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xa0): undefined reference to `psl1ght_umask_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xa8): undefined reference to `psl1ght_mkdir_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xb0): undefined reference to `psl1ght_rmdir_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xb8): undefined reference to `psl1ght_closedir_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xc0): undefined reference to `psl1ght_opendir_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xc8): undefined reference to `psl1ght_readdir_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xd0): undefined reference to `psl1ght_readdir_r_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xd8): undefined reference to `psl1ght_rewinddir_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xe0): undefined reference to `psl1ght_seekdir_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xe8): undefined reference to `psl1ght_telldir_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xf0): undefined reference to `psl1ght_isatty_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0xf8): undefined reference to `psl1ght_gettimeofday_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x100): undefined reference to `psl1ght_settimeofday_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x108): undefined reference to `psl1ght_lwmutex_create_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x110): undefined reference to `psl1ght_lwmutex_destroy_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x118): undefined reference to `psl1ght_lwmutex_lock_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x120): undefined reference to `psl1ght_lwmutex_trylock_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x128): undefined reference to `psl1ght_lwmutex_unlock_r'
/usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o:(.toc+0x130): undefined reference to `psl1ght_exit'
collect2: ld returned 1 exit status
make[1]: *** [/usr/src/ps3toolchain/build/psl1ght/samples/video/pngtest/pngtest.elf] Error 1
make: *** [build] Error 2
Any ideas as to what I've screwed up?
-
01-18-2011,07:32 PM
Have you tried compiling other samples? Is that the only library not linking? Did you edit the sample at all? Even the makefile?
-
01-19-2011,12:15 AM
Yes; they all have the same error with not finding references in /usr/local/ps3dev/host/ppu/ppu/lib/lv2-psl1ght.o.
Some of the examples give me an unreferenced error (like this one does) for the main.o object file, but It seems like it just be looking for something in lv2-psl1ght.o.
Did not edit the sample. Tried mucking around with some Makefiles to fix this, but soon realized that probably isn't the issue, so I erased the entire SDK fetched an updated version and reinstalled. Unfortunately, this errors didn't go away.
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|