Subject: Help with libtool
To: None <tech-pkg@netbsd.org>
From: Murray Armfield <murray@river-styx.org>
List: tech-pkg
Date: 03/05/2002 16:54:38
Hi Folks,
	I'm trying to build a package which I can do fine without libtool, but when 
I libtoolise it, the linking fails with the error

/usr/lib/crt0.o: In function `___start':
/usr/lib/crt0.o(.text+0xb8): undefined reference to `main'
gmake[1]: *** 
[/disks/ld0/Development/pkgsrc/textproc/xerces-c-current/work/xerces-c-src1_6_0/lib/libxerces-c1_6_0.so] 
Error 1
gmake[1]: Target `ALL' not remade because of errors.
gmake[1]: Leaving directory 
`/disks/ld0/Development/pkgsrc/textproc/xerces-c-current/work/xerces-c-src1_6_0/obj'

Can anyone help me with what libtool is doing here?

Regards,
	Murray Armfield