On Thu, Jan 15, 2004 at 03:04:37PM +0000, Patrick Welche wrote:
> Essentially a build of httpd-cvs on NetBSD-1.6ZG/i386, autoconf 2.59, cvs
> libtool, gcc 3.3.2, goes fine until the final link to -o httpd:
>
> /usr/lib/crt0.o(.text+0x86): In function `___start':
> : undefined reference to `main'
> modules.o(.data+0x0): undefined reference to `core_module'
> modules.o(.data+0x4): undefined reference to `authn_file_module'
> modules.o(.data+0x8): undefined reference to `authn_default_module'
> ...
>
> Have any of you seen this? My first encounter with this starts at:
>
> http://mail.gnu.org/archive/html/libtool/2003-11/msg00120.html
If you remove the "-module" from MOD_LINK in build/rules.mk{,in} as Gary
suggests, then rebuild everything, does that help? It clearly shouldn't
be there in the first place.
joe