forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

libtiff not compiling

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
cosmito



Joined: 04 Mar 2007
Posts: 314
Location: Portugal

PostPosted: Sun Aug 05, 2007 1:09 am    Post subject: libtiff not compiling Reply with quote

Hi

I've checkout the source from svn://svn.ps2dev.org/ps2/trunk/libtiff and after typing "make" i've got the following errors

Code:
$ make
ee-gcc -D_EE -O2 -G0 -Wall -msingle-float -I/usr/local/ps2dev/ps2sdk/ee/include
-I/usr/local/ps2dev/ps2sdk/common/include -I. -I -c tif_aux.c -o tif_aux.o
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/crt0.o(.text+0x48): In function `_star
t':
src/crt0.s:64: undefined reference to `_stack'
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/crt0.o(.text+0x4c):src/crt0.s:64: unde
fined reference to `_stack'
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/crt0.o(.text+0x50):src/crt0.s:65: unde
fined reference to `_stack_size'
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/crt0.o(.text+0x54):src/crt0.s:65: unde
fined reference to `_stack_size'
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/crt0.o(.text+0x84):src/crt0.s:76: unde
fined reference to `_heap_size'
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/crt0.o(.text+0x88):src/crt0.s:76: unde
fined reference to `_heap_size'
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/crt0.o(.text+0xd4):src/crt0.s:106: und
efined reference to `_ps2sdk_args_parse'
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/crt0.o(.text+0xdc):src/crt0.s:110: und
efined reference to `_ps2sdk_libc_init'
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/crt0.o(.text+0x134): In function `_exi
t':
src/crt0.s:150: undefined reference to `main'
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/crt0.o(.text+0x154):src/crt0.s:163: un
defined reference to `_ps2sdk_libc_deinit'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x94): In function `TIFFDefaultTransferF
unction':
tif_aux.c: undefined reference to `_TIFFmalloc'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0xd4):tif_aux.c: undefined reference to
`_TIFFmalloc'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x11c):tif_aux.c: undefined reference to
 `_TIFFfree'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x12c):tif_aux.c: undefined reference to
 `_TIFFfree'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x13c):tif_aux.c: undefined reference to
 `_TIFFfree'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x154):tif_aux.c: undefined reference to
 `_TIFFmemcpy'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x15c):tif_aux.c: undefined reference to
 `_TIFFmalloc'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x174):tif_aux.c: undefined reference to
 `_TIFFmemcpy'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x1f4):tif_aux.c: undefined reference to
 `powf'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x22c):tif_aux.c: undefined reference to
 `floorf'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x28c): In function `TIFFDefaultRefBlack
White':
tif_aux.c: undefined reference to `_TIFFmalloc'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x35c): In function `TIFFVGetFieldDefaul
ted':
tif_aux.c: undefined reference to `TIFFVGetField'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x564):tif_aux.c: undefined reference to
 `TIFFError'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x648):tif_aux.c: undefined reference to
 `_TIFFmalloc'
/cygdrive/j/temp/wnovo/cccneIj3.o(.text+0x7e4):tif_aux.c: undefined reference to
 `_TIFFmalloc'
collect2: ld returned 1 exit status
make: *** [tif_aux.o] Error 1


Any hints?
Back to top
View user's profile Send private message Visit poster's website
Neovanglist
Site Admin


Joined: 22 May 2004
Posts: 72
Location: Copenhagen, Denmark

PostPosted: Sun Aug 05, 2007 2:11 am    Post subject: Reply with quote

You needed LIBTIFF set... but I've commited a fix to SVN now so that having LIBTIFF set is not required for compilation.
_________________
Regards,
Neovanglist
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group