This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: duplicate regexec/regcomp functions detected
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>,<cygwin at cygwin dot com>
- Date: Fri, 28 Dec 2001 22:19:16 +1100
- Subject: Re: duplicate regexec/regcomp functions detected
- References: <000d01c18f90$c37bfd30$0e6307d5@BRAMSCHE>
----- Original Message -----
From: "Ralf Habacker" <Ralf.Habacker@freenet.de>
> > >gcc -o test -lpthread main.o [-lcygwin]
> > >
> > >This will result in multiple defined symbols for WinMain (expected
that
> > >main.o contains a main function). You can say don't do this, but
what
> > >about bigger packages like qt. The qt configuring process does
only
> > >allow like the above link line.
> >
> > The above link line makes no sense. It is wrong. It should be
> > corrected.
> >
> May be, but I think you know some combinations that are real. what is
with this ?
>
> Assume main.o needs to be linked to the pcreposix lib.
>
> gcc -o test main.o -lpthread -lpcreposix
Don't use -lpthread. Chris, can we please trash this symlink?
Rob
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/