libtiff not compiling

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
cosmito
Posts: 307
Joined: Sun Mar 04, 2007 4:26 am
Location: Portugal
Contact:

libtiff not compiling

Post by cosmito »

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: Select all

$ 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?
Neovanglist
Site Admin
Posts: 72
Joined: Sat May 22, 2004 9:29 pm
Location: Copenhagen, Denmark
Contact:

Post by Neovanglist »

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
Post Reply