delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Sun, 27 Apr 2003 11:47:20 -0700 |
To: | Elfyn McBratney <elfyn-cygwin AT exposure DOT org DOT uk> |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: Creating DLLs doesn't work normally.. |
Message-ID: | <20030427184720.GA32276@triplehelix.org> |
References: | <20030427094538 DOT GA29573 AT triplehelix DOT org> <007f01c30cc6$1255d9e0$f76d86d9 AT ellixia> |
Mime-Version: | 1.0 |
In-Reply-To: | <007f01c30cc6$1255d9e0$f76d86d9@ellixia> |
User-Agent: | Mutt/1.5.4i |
From: | joshk AT triplehelix DOT org (Joshua Kwan) |
X-Spam-Status: | No, hits=-38.8 required=4.5 |
tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, | |
QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, | |
USER_AGENT_MUTT | |
version=2.53 | |
X-Spam-Level: | |
X-Spam-Checker-Version: | SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) |
--cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 27, 2003 at 03:04:21PM +0100, Elfyn McBratney wrote: > If you remove the '-soname' linker flag, change `-o soname.so' to `-o > soname.dll' and move '-lm' to the end, you should be alright. joshk AT ringo:~/think++/plugins/osc> g++ -Wall -pedantic -ffast-math -g -ggdb= -I../../src -I../.. -DPLUGIN_BUILD -shared -o static.dll static.cpp In file included from static.cpp:10: =2E./../src/think.h:18:15: warning: anonymous variadic macros were introduc= ed in C99 /cygdrive/c/DOCUME~1/joshk/LOCALS~1/Temp/ccso0GNu.o(.text+0x7c): In functio= n `module_init': /home/joshk/think++/plugins/osc/static.cpp:38: undefined reference to `thPl= ugin::SetDesc(char const*)' /cygdrive/c/DOCUME~1/joshk/LOCALS~1/Temp/ccso0GNu.o(.text+0x143): In functi= on `module_callback': /home/joshk/think++/plugins/osc/static.cpp:56: undefined reference to `thNo= de::SetArg(char const*, float*, int)' collect2: ld returned 1 exit status No soap... if I link against the rest of the project, of course it will work, but that's not what should be happening.... Regards, Josh --=20 New PGP public key: 0x27AFC3EE --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+rCW4T2bz5yevw+4RAj+LAJ46Zg11FBJDYFXPfdTmSO9J9tWb5ACghB5V W+Uad/vqryw6mTpEYILZJUA= =VLQo -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |