Re: undefined reference to LAPACKE_***

2017-11-20 Thread Csaba Raduly
Hi Zekios, On Sat, Nov 18, 2017 at 7:20 PM, Constantinos Zekios wrote: > Hi Csaba, > so I am using a cmake and it is of the format: > > set(LAPACK_LIB "/usr/lib/liblapack.so") > set(LAPACK_LIB "/usr/lib/liblapacke.so") > set(BLAS_LIB "/usr/lib/libblas.so") for my ubuntu system, > > which I chang

Re: undefined reference to LAPACKE_***

2017-11-18 Thread Marco Atzeri
On 18/11/2017 17:24, Constantinos Zekios wrote: Hello everybody!  I recently installed cygwin trying to compile my cpp code (it is build under linux) under windows. I am using LAPACKE (the c wrapper to run all the lapack libraries) in my code, but it seems that I am not able to install the p

Re: undefined reference to LAPACKE_***

2017-11-18 Thread Constantinos Zekios
Hi Csaba,  so I am using a cmake and it is of the format: set(LAPACK_LIB "/usr/lib/liblapack.so") set(LAPACK_LIB "/usr/lib/liblapacke.so") set(BLAS_LIB "/usr/lib/libblas.so") for my ubuntu system, which I changed it to: set(LAPACK_LIB "/usr/lib/liblapack.a") set(BLAS_LIB "/usr/lib/libblas.a") f

Re: undefined reference to LAPACKE_***

2017-11-18 Thread René Berber
On 11/18/2017 10:24 AM, Constantinos Zekios wrote: >  I recently installed cygwin trying to compile my cpp code (it is build > under linux) under windows. I am using LAPACKE (the c wrapper to run all > the lapack libraries) in my code, but it seems that I am not able to > install the packages in c

Re: undefined reference to LAPACKE_***

2017-11-18 Thread Csaba Raduly
Hi Constantinos, On Sat, Nov 18, 2017 at 5:24 PM, Constantinos Zekios wrote: > Hello everybody! > > I recently installed cygwin trying to compile my cpp code (it is build > under linux) under windows. I am using LAPACKE (the c wrapper to run all the > lapack libraries) in my code, but it seems th

Re: "undefined reference to `_JNI_CreateJavaVM'"

2010-02-18 Thread Larry Hall (Cygwin)
On 02/18/2010 03:50 PM, Gary wrote: On Thu, Feb 18, 2010 at 11:47:13AM -0500, Larry Hall (Cygwin) wrote: On 02/18/2010 05:43 AM, Gary wrote: I've basically followed along with what is written at http://www.inonit.com/cygwin/jni/invocationApi/ (built an import library, passed ld the "-L. -ljvm"

Re: "undefined reference to `_JNI_CreateJavaVM'"

2010-02-18 Thread Gary
On Thu, Feb 18, 2010 at 11:47:13AM -0500, Larry Hall (Cygwin) wrote: > On 02/18/2010 05:43 AM, Gary wrote: > >I've basically followed along with what is written at > >http://www.inonit.com/cygwin/jni/invocationApi/ (built an import > >library, passed ld the "-L. -ljvm" parameters, and so on). One

Re: "undefined reference to `_JNI_CreateJavaVM'"

2010-02-18 Thread Larry Hall (Cygwin)
On 02/18/2010 05:43 AM, Gary wrote: I've basically followed along with what is written at http://www.inonit.com/cygwin/jni/invocationApi/ (built an import library, passed ld the "-L. -ljvm" parameters, and so on). One difference is that gcc no longer supports -mno-cygwin, but I'm not convinced t

Re: undefined reference to `___real__Znwj'

2010-01-20 Thread Dave Korn
On 18/12/2009 20:01, Dave "What part of PCYMTNQREAIYR isn't obvious? ;-)" Korn wrote: > The problem is a bug in the linker, so you'll need to check out binutils > from sourceware.org cvs and apply the attached > weaksyms-vs-undefs-order-of-ref-fix-take-2.diff patch. I misunderstood this probl

Re: undefined reference to `___real__Znwj'

2009-12-18 Thread Dave "What part of PCYMTNQREAIYR isn't obvious? ;-)" Korn
jojelino wrote: > thanks for replying. i needed it! > in fact, there is no need to change whole problematic cygwin source code to > fix aliasing problem.. > for me, just getting rid of '-Werror' from makefile.in resolves the problem. > it just complains for some lines of warning :) Yeah, and ju

Re: undefined reference to `___real__Znwj'

2009-12-18 Thread jojelino
thanks for replying. i needed it! in fact, there is no need to change whole problematic cygwin source code to fix aliasing problem.. for me, just getting rid of '-Werror' from makefile.in resolves the problem. it just complains for some lines of warning :) "Dave "What part of PCYMTNQREAIYR isn't o

Re: undefined reference to `___real__Znwj'

2009-12-18 Thread Dave "What part of PCYMTNQREAIYR isn't obvious? ;-)" Korn
jojelino wrote: >> make -j 10 because of speed gain. > and it complains.. which i reported it. > so i got >> cd i686-pc-cygwin/winsup > and >make again. > and it complains when it comes to cygserver.exe > > this could be answer for your question? I was just curious how you got as far as b

Re: undefined reference to `___real__Znwj'

2009-12-17 Thread jojelino
oh my.. this is exact step i used. compile gcc with latest git reprository i used >./configure --prefix=/usr/local/cc --enable-newlib-mb --enable-newlib-iconv > --enable-newlib-multithread to build cygwin. (it would be good to clarify i got from cvs. so cygwin 1.7.2) >make -j 10 because of speed

Re: undefined reference to `___real__Znwj'

2009-12-17 Thread Dave Korn
jojelino wrote: > tested with gcc version 4.5.0 20091217 (experimental) (GCC) You're going to have to describe the exact steps to reproduce this problem. As far as I can see the winsup directory doesn't come anywhere close to building with 4.5.0 at the moment, so I don't understand what exactly

Re: undefined reference to `___real__Znwj'

2009-12-17 Thread Dave Korn
jojelino wrote: > i'm using GNU nm (GNU Binutils) 2.20.51.20091023 Right, that should be up-to-date enough. I'll post more when I've managed to reproduce the problem. > "Dave Korn" http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwi

Re: undefined reference to `___real__Znwj'

2009-12-17 Thread jojelino
i'm using GNU nm (GNU Binutils) 2.20.51.20091023 "Dave Korn" wrote in message news:4b2a8f0f.7060...@gmail.com... > jojelino wrote: >> tested with gcc version 4.5.0 20091217 (experimental) (GCC) > >> cygwin0.dll have __real__z* symbol... > >> /tmp/winsup/i686-pc-cygwin/winsup/cygwin/libcygwin.a(_

Re: undefined reference to `___real__Znwj'

2009-12-17 Thread Dave Korn
jojelino wrote: > tested with gcc version 4.5.0 20091217 (experimental) (GCC) > cygwin0.dll have __real__z* symbol... > /tmp/winsup/i686-pc-cygwin/winsup/cygwin/libcygwin.a(_cygwin_crt0_common.o):_cyg > win_crt0_common.cc:(.data+0x0): undefined reference to `___real__Znwj' > /tmp/winsup/i686-pc-c

Re: undefined reference to '_cfmakeraw'

2008-09-12 Thread Christopher Faylor
On Fri, Sep 12, 2008 at 04:37:19PM -0400, Christopher Faylor wrote: >On Fri, Sep 12, 2008 at 12:49:47PM -0500, Andrew Bouchard wrote: >> undefined reference to '_cfmakeraw' > >A google search implies that you probably need to install the >libncurses-devel package. Actually, I should have known muc

Re: undefined reference to '_cfmakeraw'

2008-09-12 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Andrew Bouchard wrote: > undefined reference to '_cfmakeraw' cfmakeraw, while available on Linux glibc, is not available on Cygwin. But the glibc manual tells us exactly what it does: http://www.gnu.org/software/libc/manual/html_node/Noncanonical-I

Re: undefined reference to '_cfmakeraw'

2008-09-12 Thread Christopher Faylor
On Fri, Sep 12, 2008 at 12:49:47PM -0500, Andrew Bouchard wrote: > undefined reference to '_cfmakeraw' A google search implies that you probably need to install the libncurses-devel package. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.co

Re: undefined reference to '_cfmakeraw'

2008-09-12 Thread Andrew Bouchard
(1) Just to be sure, I went back and installed al of the cygwin packages available through the setup.exe file. It's still installing, and it looks like it will be for some time, but I already went through the list that I was able to find and made sure I had them all. (2) I did run a './conf

Re: undefined reference to '_cfmakeraw'

2008-09-12 Thread [EMAIL PROTECTED]
On Fri, Sep 12, 2008 at 5:49 PM, Andrew Bouchard <[EMAIL PROTECTED]> wrote: > I am trying to run cygwin and install a program called Moast, which requires > the Linux-style environment that cygwin provides to run. At least that what > it says - I'm a mechanical engineer by training, so I have to ad

RE: RE: undefined reference to `_msgDebug' in GCC

2008-02-05 Thread Phil Betts
Anik Pal wrote on Tuesday, February 05, 2008 3:12 PM:: > Phil, > Thanks for the info you provided. I'm not conversant with GCC. > I remove the path for regular library like libm.a, and all the paths > specified in posix , now my linker option is as follows > > -L/cygdrive/f/geolog6.6.1/lib -lcgg

RE: RE: undefined reference to `_msgDebug' in GCC

2008-02-05 Thread Anik Pal
-Original Message- From: Anik Pal [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 05, 2008 8:17 PM To: 'cygwin@cygwin.com' Subject: RE: RE: undefined reference to `_msgDebug' in GCC     -Original Message- From: Anik Pal [mailto:[EMAIL PROTECTED] Sent: Tuesd

RE: undefined reference to `_msgDebug' in GCC

2008-02-04 Thread Phil Betts
Anik Pal wrote on Saturday, February 02, 2008 9:05 AM:: > I am trying to using a library in my code whose default compiler is > MSVCRT. When I try to compile that code in cygwin GCC environment I > get the following errors > > F:/geolog6.6.1/lib/libgeolog6.a(fileprintf.o):C:/development/ptc:(.tex

Re: Undefined reference to _regcmp and _regex

2007-11-21 Thread Corinna Vinschen
On Nov 21 17:42, Anik Pal wrote: > Hello All, > I was porting my application code to windows from solaris environment using > cygwin, while compiling goes ok at linking phase I get the following error. > > /home/Administrator/glds/build/Sgl/tables.c:1744: undefined reference to > `_regcmp' > >

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Frederich, Eric P21322
> From: Igor Peshansky > Sent: Tuesday, June 26, 2007 2:05 PM > To: Frederich, Eric P21322 > Cc: cygwin@cygwin.com > Subject: RE: undefined reference to `__imp___iob' > > Where exactly are you using -mno-cygwin in the above? > Igor Whoops, I gave you the out

Re: undefined reference to `__imp___iob'

2007-06-26 Thread Christopher Faylor
On Tue, Jun 26, 2007 at 01:52:01PM -0400, Frederich, Eric P21322 wrote: >> From: Igor Peshansky >> Sent: Tuesday, June 26, 2007 1:31 PM >> To: Frederich, Eric P21322 >> Subject: RE: undefined reference to `__imp___iob' >> >> > Does everything you say hol

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Dave Korn
On 26 June 2007 19:05, Igor Peshansky wrote: >> /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x1d8): >> more undefined references to `__imp___iob' follow >> collect2: ld returned 1 exit status >> make: *** [someProgram.exe] Error 1 > > Where exactly are you us

Re: undefined reference to `__imp___iob'

2007-06-26 Thread Brian Dessent
"Frederich, Eric P21322" wrote: > If it (mixing msys/mingw and cygwin libraries) is "not encouraged" or > "not supported", then I just won't do it and I'll either start using > Msys for everything or start keeping two copies of the Windows libraries > around. It's not supported, correct. But usi

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Igor Peshansky
obody wants more spam. Thanks. > > Subject: RE: undefined reference to `__imp___iob' > > > > > Does everything you say hold true even if I compile with > > > the -mno-cygwin option? > > > > Not everything, but how were we to know you were using -mno-cygwin? >

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Frederich, Eric P21322
> From: Igor Peshansky [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 26, 2007 1:31 PM > To: Frederich, Eric P21322 > Cc: cygwin@cygwin.com > Subject: RE: undefined reference to `__imp___iob' > > > Does everything you say hold true even if I compile with > &g

Re: undefined reference to `__imp___iob'

2007-06-26 Thread Brian Dessent
"Frederich, Eric P21322" wrote: > Wow, now I'm more confused. > If using -mno-cygwin is the same as using msys/mingw, then why would I > need luck to link against a msys/mingw library? Me too. If you're indeed using -mno-cygwin then there should be no problem linking with a native library. I th

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Frederich, Eric P21322
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent > Sent: Tuesday, June 26, 2007 1:25 PM > To: cygwin@cygwin.com > Subject: Re: undefined reference to `__imp___iob' > > "Frederich, Eric P21322" wr

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Igor Peshansky
On Tue, 26 Jun 2007, Frederich, Eric P21322 wrote: > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent > > Sent: Tuesday, June 26, 2007 12:22 PM > > To: [EMAIL PROTECTED] <http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks. > &

Re: undefined reference to `__imp___iob'

2007-06-26 Thread Brian Dessent
"Frederich, Eric P21322" wrote: > Apparently I'm confused. I thought that when I compile with -mno-cygwin > it was the same as using msys/mingw. It is. You were just lucky that it happened to link successfully and not crash. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-si

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Frederich, Eric P21322
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent > Sent: Tuesday, June 26, 2007 12:22 PM > To: cygwin@cygwin.com > Subject: Re: undefined reference to `__imp___iob' > > "Frederich, Eric P21322" wrote: > > > Are there

Re: undefined reference to `__imp___iob'

2007-06-26 Thread Brian Dessent
"Frederich, Eric P21322" wrote: > Are there any tips to compile compatible libraries with msys / cygwin? > Is it even possible? > Am I missing a gcc option? No, it's not possible. Cygwin libraries use the Cygwin runtime. MinGW/MSYS libraries use the Microsoft (MSVCRT) runtime. These are two in

Re: undefined reference to `_getline' in linking

2007-03-13 Thread Eric Blake
Kristian Hermansen gmail.com> writes: > administrator ubuntu-khermans-desk:/tmp$ i586-mingw32msvc-gcc > getline-test.c /tmp/ccCRN0HZ.o:getline-test.c:(.text+0x5f): undefined > reference to `_getline' > collect2: ld returned 1 exit status > > > I filed a bug with Ubuntu, as I am unsure if this

Re: undefined reference to `_getline' in linking

2007-03-13 Thread Brian Dessent
Kristian Hermansen wrote: > [EMAIL PROTECTED]:/tmp$ cat getline-test.c > #include > > int main() { > FILE *fp; > char *line = NULL; > size_t len = 0; > fp = fopen("/etc/motd", "r"); > getline(&line,&len,fp); > } > [EMAIL PROTECTED]:/tmp$ i586-mingw32msvc-gcc > getline-test.c /tmp/ccCRN

Re: undefined reference to `_libintl_gettext' with g++/c++

2005-07-20 Thread Brian Dessent
Mark Paulus wrote: > I have several binaries in a project, and most of the binaries > compile. However, one binary fails with a whole series of the > above error: > > g++ -L../lib -o dselect basecmds.o baselist.o basetop.o bindings.o > curkeys > .o main.o methkeys.o methlist.o method.

Re: undefined reference to [EMAIL PROTECTED]', why?

2005-07-15 Thread Gerrit P. Haase
Dave, So why does the compiler creats a reference to [EMAIL PROTECTED] or is it the linker who wants to resolve CAPI_INSTALLED with @0 attached. Has the definition of APIENTRY has changed between the mfr's build from which the import library came and the build from which you generated your

Re: undefined reference to [EMAIL PROTECTED]', why?

2005-07-01 Thread Gerrit P. Haase
Gerrit P. Haase wrote: Dave, So why does the compiler creats a reference to [EMAIL PROTECTED] or is it the linker who wants to resolve CAPI_INSTALLED with @0 attached. Has the definition of APIENTRY has changed between the mfr's build from which the import library came and the build from

RE: undefined reference to [EMAIL PROTECTED]', why?

2005-07-01 Thread Dave Korn
Original Message >From: Gerrit P. Haase >Sent: 30 June 2005 21:09 > Ok, I try to build a Cygwin application that requires CAPI functions > which are installed with the drivers for an ISDN card, the DLL is named > capi2032.dll, I have an import library which comes from the manufacturer > AV

Re: undefined reference to [EMAIL PROTECTED]', why?

2005-06-30 Thread Gerrit P. Haase
Gerrit P. Haase wrote: Sure, I could edit my .def file and create an import library that contains the symbol names as expected by the linker, however I want to know why this happens. No, I cannot, or at least if I do so the symbols cannot be resolved at runtime. Gerrit -- =^..^= -- Unsubsc

Re: undefined reference to `_WinMain@16'

2004-06-20 Thread Alex Vinokur
"Alex Vinokur" wrote in message news:[EMAIL PROTECTED] > > Windows 2000 > CYGWIN_NT-5.0 1.5.10-3 (0.116/4/2) > gcj (GCC) 3.3.1 (cygming special) > > > - Java code : File HelloWorld.java : BEGIN - > public class HelloWorld > { > public sta

Re: Undefined reference to _WinMain@16

2003-12-17 Thread Roy Clemmons
I fixed this problem by adding a dummy winmain to xmlparse.c int __declspec(nothrow) __stdcall WinMain(int a, int b, char* c, int d); int __declspec(nothrow) __stdcall WinMain(int a, int b, char* c, int d) { return 0; } Don't know the repercussions - if any. Roy - Original Message

Re: undefined reference to _shmget

2003-11-03 Thread Corinna Vinschen
On Mon, Nov 03, 2003 at 12:32:24AM +0200, Eliana Stavrou wrote: > Hi to you all, > > I'm using the latest version of the cygwin and I'm having some problems > when compiling this program using gcc: Cygwin has no builtin XSI shared memory support so far. Corinna -- Corinna Vinschen

Re: undefined reference to `_getline'

2003-10-24 Thread Christopher Faylor
On Fri, Oct 24, 2003 at 01:05:02AM -0400, Robb, Sam wrote: >>I suppose that in all of your searching you never came across the >>concept that cygwin uses newlib and that cygwin does not export every >>single thing from newlib? That means that there are some things >>defined in headers which are no

Re: undefined reference to `_getline'

2003-10-23 Thread Brian Dessent
"Robb, Sam" wrote: > Grumble. Looking through the archives shows that > getline() isn't exported: > > http://www.cygwin.com/ml/cygwin/2003-06/msg01328.html > > Can't understand how I missed this on my first search. > > cgf, et al - is there a reason why getline and getdelim > aren't exported,

RE: undefined reference to `_getline'

2003-10-23 Thread Robb, Sam
> I suppose that in all of your searching you never came across the > concept that cygwin uses newlib and that cygwin does not export every > single thing from newlib? That means that there are some > things defined in headers which are not actually available in cygwin. No, I understand that - I

Re: undefined reference to `_getline'

2003-10-23 Thread Christopher Faylor
On Fri, Oct 24, 2003 at 12:45:08AM -0400, Robb, Sam wrote: >>Yes - I found this almost immediately. My concern is that it *looks* >>like getline() is available, but it isn't. > >... and, it looks like the same situation for pread() in > >Grump. I suppose that in all of your searching you never

RE: undefined reference to `_getline'

2003-10-23 Thread Robb, Sam
> Yes - I found this almost immediately. My concern is > that it *looks* like getline() is available, but it > isn't. ... and, it looks like the same situation for pread() in Grump. -Samrobb -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwi

RE: undefined reference to `_getline'

2003-10-23 Thread Robb, Sam
> > In porting soem code to run under Cygwin, I ran > > into a problem finding getline(). The following > > code snippet demonstrates the problem: > > getline() is a glibc-ism, a nonstandard GNU extension. It's > not listed anywhere that I can see at >

Re: undefined reference to `_getline'

2003-10-23 Thread Brian Dessent
"Robb, Sam" wrote: > In porting soem code to run under Cygwin, I ran > into a problem finding getline(). The following > code snippet demonstrates the problem: getline() is a glibc-ism, a nonstandard GNU extension. It's not listed anywhere that I can see at

Re: undefined reference to 'class::function' error

2003-10-09 Thread Kai Xu \(Kevin\)
ROTECTED]> > To: "Kai Xu (Kevin)" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, October 10, 2003 10:57 AM > Subject: Re: undefined reference to 'class::function' error > > > > Kevin, > > > > Please don't Cc:

Re: undefined reference to 'class::function' error

2003-10-09 Thread Igor Pechtchanski
CTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, October 10, 2003 10:57 AM > Subject: Re: undefined reference to 'class::function' error > > > > Kevin, > > > > Please don't Cc: me, I read the list (I set the Reply-To: for a reason). > >

Re: undefined reference to 'class::function' error

2003-10-09 Thread Igor Pechtchanski
u need further help on similar issues, please try a C/C++ user support list/newsgroup or read an intro to programming book. Igor > - Original Message - > From: "Igor Pechtchanski" <[EMAIL PROTECTED]> > To: "Kai Xu (Kevin)" <[EMAIL PROTECTED]> >

Re: undefined reference to 'class::function' error

2003-10-09 Thread Kai Xu \(Kevin\)
ld be some problem here. Kevin - Original Message - From: "Igor Pechtchanski" <[EMAIL PROTECTED]> To: "Kai Xu (Kevin)" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 11:53 PM Subject: Re: undefined reference to '

Re: undefined reference to 'class::function' error

2003-10-09 Thread Igor Pechtchanski
On Thu, 9 Oct 2003, Kai Xu (Kevin) wrote: > I guess I can only post a example of the errors here, as the main program is > about 2k lines and compiler doesn't tell where the error occurs. > > I am not good at c++ and this is not my program, so please let me know > if I am not posting the right thi

Re: undefined reference to 'class::function' error

2003-10-09 Thread Kai Xu \(Kevin\)
TED]> To: "Kai Xu (Kevin)" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 11:05 PM Subject: Re: undefined reference to 'class::function' error > On Thu, 9 Oct 2003, Kai Xu (Kevin) wrote: > > > Hi there, > > > > I

Re: undefined reference to 'class::function' error

2003-10-09 Thread Igor Pechtchanski
On Thu, 9 Oct 2003, Kai Xu (Kevin) wrote: > Hi there, > > I guess this is a very simple question, but I searched all the achieves and > internet and just can not find a answer. I know little about c++ and UNIX, > so please bear with me. The problem is like this: > > I need to use someone else's c+

Re: undefined reference to _WinMain@16

2003-08-28 Thread Gerrit P. Haase
Hallo Joshua, Am Donnerstag, 28. August 2003 um 19:09 schriebst du: > Hello > I am trying to build the expat lib (1.95.6) on Cygwin 1.3.22, and I keep > seeing the above error during the 'make' step. From what I've read on the > mailing list, it's a linking problem, but I'm no developer. I nee

Re: undefined reference to _WinMain@16

2003-08-28 Thread Elfyn McBratney
Joshua Lokken wrote: > Hello > > I am trying to build the expat lib (1.95.6) on Cygwin 1.3.22, and I keep > seeing the above error during the 'make' step. Do you have a special need to to build your own version? (expat 1.95.6 is available via the Cygwin mirror system; just install it via setup.e

Re: undefined reference to '_...

2003-06-08 Thread Gerrit P. Haase
Hallo Hans, Am Sonntag, 8. Juni 2003 um 19:22 schriebst du: > Hi folks, > I'm trying to port a collection of unix applications to cygwin, and in doing > so, I'm having a hard time to get the stuff to link. > It's a bunch of fortran and c sources, that call each other wildly. some > mains are in

Re: undefined reference to '_...

2003-06-08 Thread Hans Horn
Andrew Markebo wrote: | Just give it a try and put "the library" one more time in the linker | command, at the end. | | /A Andrew, you are right, repeating the list of internal libs back-to-back gcc -ofoo foomain.o -L../lib -lfoo1 -lfoo2 -lfoo1 -lfoo2 -lg2c -lc -lgsl -lm does the tri

Re: undefined reference to ___assert, _impure_ptr, etc.

2003-03-31 Thread Igor Pechtchanski
On Mon, 31 Mar 2003, Brian Warner wrote: > Hi, > > I'm using Cygwin for compiling the Xerces-C library for MinGW. My program > used the gcc 3.2, and there were no problem, but now I use the gcc 3.2.2 for > my program, so I need to recompile the Xerces-X library too. But the gcc > 3.2.2 doesn't exi

RE: undefined reference to `_libiconv_open'

2003-02-12 Thread Igor Pechtchanski
warning: initialization makes integer from pointer > without a > cast > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: > cannot fi > nd -libconv > collect2: ld returned 1 exit status > make: *** [test] Error 1 > > > -Original Message- >

RE: undefined reference to `_libiconv_open'

2003-02-12 Thread jklcom
-libconv collect2: ld returned 1 exit status make: *** [test] Error 1 -Original Message- From: David Robinow [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 4:22 AM To: "jklcom" Subject: RE: undefined reference to `_libiconv_open' "jklcom" <[E

Re: undefined reference to `__getreent'

2003-01-24 Thread Takayoshi Shimizu
This is a rather old subject, but there seem to be no replies yet. I encountered the same problem recently, and have just escaped from that. The compile option "-D__linux__" is the cause. There are some header files which use __linux__ in them. But cygwin environment (that corresponds to __CYGWI

Re: undefined reference to __pei386_runtime_relocator

2002-11-29 Thread egor duda
Hi! Friday, 29 November, 2002 Alan Hourihane [EMAIL PROTECTED] wrote: AH> I'm using the new --enable-runtime-pseudo-reloc parameter to ld and AH> finding that nothing links and ld blurts out AH> ertr03.o(.rdata+0x0): undefined reference to AH> `__pei386_runtime_relocator' AH> Is there s

Re: Undefined reference to '__gxx_personality_v0' when linking

2002-11-27 Thread James Shaw
> Calm down. Use g++ to compile C++ files. > That's the solution. > cgf Ah! How obvious. Many thanks, James __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Unsubscribe info: http://cygwi

Re: Undefined reference to '__gxx_personality_v0' when linking

2002-11-27 Thread Christopher Faylor
On Wed, Nov 27, 2002 at 09:55:44PM -0800, James Shaw wrote: >It appears every C++ project has the above undefined reference when >linking: __gxx_personality_v0 > >I tried to find an answer on deja, but as far as I can tell gcc 3.x >isn't ready for prime time, at least on cygwin. What a strange con

Re: Undefined reference to '__gxx_personality_v0' when linking

2002-11-27 Thread James Shaw
Hi again, Minutes after sending off my last mail, I've at least figured out a workaround, the obvious. I added: int __gxx_personality_v0; to a project. Now it links and runs. I know, not great, but at least I can continue working. However, I still would like to know if this is normal or if I'

RE: undefined reference to `__gxx_personality_sj0'

2002-02-24 Thread Ross Smith
> From: Dan Kyhl [mailto:[EMAIL PROTECTED]] > > yes maybe. > I installed and compiled gcc 3.03, but I get this error both > with 2.95.3 > and 3.03. > Maybe my different paths are not setup up correctly! I got the same error after installing gcc 303. It turned out that the static libstdc++ was s

RE: undefined reference to `__gxx_personality_sj0'

2002-02-22 Thread Dan Kyhl
Hi, yes maybe. I installed and compiled gcc 3.03, but I get this error both with 2.95.3 and 3.03. Maybe my different paths are not setup up correctly! Dan - Dan K. Kyhl Advisory I/T Specialist IBM Global Services, Sortemosevej 21, DK-3450 Allerød, Denmark Internet: [E

RE: undefined reference to `__gxx_personality_sj0'

2002-02-21 Thread Danny Smith
> From: "Dan Kyhl" > To: cygwin at cygwin dot com > Date: Wed, 20 Feb 2002 11:13:47 +0100 > Hi, > I get a lot of these (and some others) and suppose that I'm missing a library. > I'm already using -lc -lstdc++ as is used in Linux. > So what am I missing here? GCC 3.x. It sounds like you