AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

2018.02.25 18:08 "[Tiff] I cannot compile my old program using libtiff", by Weichao Wang

Dear all,

while trying to compile an old program I've not changed after the last successful compilation (years ago), I got the error message

/usr/lib/gcc/i686-linux-gnu/5/../../../i386-linux-gnu/crt1.o: In function '_start':

(.text-0x18): undefined reference to 'main'

collect2: error: ld returned 1 exit status

under /usr/lib/i386-linux-gnu I find that crt1.o, crti.o, crtn.o, gcrt1.o etc. have the modification date 15.1.2018. Have some modifications of these files caused this error? What should I do to avoid this error? Any suggestion is welcome.

Weichao