Hi,
I am not able to link one of my program using g++, so looking forward for some help.
I am having a library(util.lib) and dll(util.dll) file.
I am trying to link my program to the dll and getting undefined reference error where
as the same thing works if I try in linux environment.
when I t
At 05:57 AM 5/27/2004, you wrote:
>Hi,
>
>I am not able to link one of my program using g++, so looking forward for some help.
>
>I am having a library(util.lib) and dll(util.dll) file.
>
>I am trying to link my program to the dll and getting undefined reference error where
>as the same thing work
Guys
I am linking a simple C++ program with an external library using
g++ -W -Wall -ansi -pedantic -I/usr/local/include -L /usr/local/lib
-lcppunit prog.cxx
The linker is giving me a lot of undefined references.
However when I connect using telnet to RH Linux box the program runs OK.
I looked up t
> Guys
> I am linking a simple C++ program with an external library using
> g++ -W -Wall -ansi -pedantic -I/usr/local/include -L /usr/local/lib
> -lcppunit prog.cxx
>
> The linker is giving me a lot of undefined references.
> However when I connect using telnet to RH Linux box the program runs OK.
From: Elfyn McBratney[SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 2:19 PM
> To: cygwin; Manu Anand
> Subject: Re: g++ linking probs
>
> > Guys
> > I am linking a simple C++ program with an external library using
> > g++ -W -Wall -ansi
> /home/Administrator/work/cxx/tests/Employee.cpp:72: undefined reference to
> `CppUnit::TestCase::TestCase[not-in-charge](std::basic_string std::char_traits, std::allocator >)'
>
>
/cygdrive/c/TEMP/ccL6jx4L.o(.text$_ZN7CppUnit16TestSuiteBuilderI12EmployeeTe
>
stE7addTestEPNS_4TestE+0x1c):/home/Adm
ary 20, 2003 2:32 PM
> To: cygwin; Manu Anand
> Subject: Re: g++ linking probs
>
> > /home/Administrator/work/cxx/tests/Employee.cpp:72: undefined reference
> to
> > `CppUnit::TestCase::TestCase[not-in-charge](std::basic_string > std::char_traits, std::allocator
> Hi
> I have libcppunit.la and libcppunit.a
> That'll be static,right??
>
> How do I link it then?
> -Manu
>
Like so
g++ -W -Wall -ansi -pedantic -I/usr/local/include -L /usr/local/lib
libcppunit.a prog.cxx
But it's static so it won't make any difference. Sorry I'm all out!
> > > /home/Adminis
/ Manu Anand <[EMAIL PROTECTED]> wrote:
| Guys
| I am linking a simple C++ program with an external library using
| g++ -W -Wall -ansi -pedantic -I/usr/local/include -L /usr/local/lib
| -lcppunit prog.cxx
Try throwing -lcppunit _after_ prog.cxx
/Andy
--
The eye of the beholder rests on the
> / Manu Anand <[EMAIL PROTECTED]> wrote:
> | Guys
> | I am linking a simple C++ program with an external library using
> | g++ -W -Wall -ansi -pedantic -I/usr/local/include -L /usr/local/lib
> | -lcppunit prog.cxx
>
> Try throwing -lcppunit _after_ prog.cxx
>
> /Andy
I can't believe I didn
Thursday, February 20, 2003 2:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: g++ linking probs
>
> / Manu Anand <[EMAIL PROTECTED]> wrote:
> | Guys
> | I am linking a simple C++ program with an external library using
> | g++ -W -Wall -ansi -pedantic -I/usr/loca
/ "Elfyn McBratney" <[EMAIL PROTECTED]> wrote:
|> / Manu Anand <[EMAIL PROTECTED]> wrote:
|> | Guys
|> | I am linking a simple C++ program with an external library using
|> | g++ -W -Wall -ansi -pedantic -I/usr/local/include -L /usr/local/lib
|> | -lcppunit prog.cxx
|>
|> Try throwing -lcppunit _a
Hi,
I link a program to a shared library (which I created before). From the
library I just use one class. The linking seems to work. However the
final executable seems to be corrupt. It just starts and stops without
an error message. However even print statements which are in the code
are not
[EMAIL PROTECTED] wrote:
> gdb: unknown target exception 0xc135 at 0x7c974ed1
It's not corrupt in any way, 0xc135 is simply STATUS_DLL_NOT_FOUND.
If you run it outside of Cygwin from a regular command prompt you will
see a popup message about missing DLL. You just need to adjust your
PA
On Thu, Jun 05, 2008 at 01:31:17PM -0700, Brian Dessent wrote:
>[EMAIL PROTECTED] wrote:
>
>> gdb: unknown target exception 0xc135 at 0x7c974ed1
>
>It's not corrupt in any way, 0xc135 is simply STATUS_DLL_NOT_FOUND.
>If you run it outside of Cygwin from a regular command prompt you will
>s
Dear all,
we have successfully ported an application framework (based on CORBA) to
Windows using Cygwin last year. This porting works properly under
Windows XP, but we ran into some problems when we tried to use it under
Windows 7 (32-bits) not long ago.
While compiling ACE/TAO (Initial part
On Mon, 2011-04-11 at 13:44 -0400, Tomas Staig wrote:
> First I'll state that this is most probably not BLODA (unless some
> default program that comes with W7 provokes it),
FWIW, Windows Defender is a default component of recent versions of
Windows, including Win7, and is BLODA.
Yaakov
--
P
Yaakov (Cygwin/X) wrote:
On Mon, 2011-04-11 at 13:44 -0400, Tomas Staig wrote:
First I'll state that this is most probably not BLODA (unless some
default program that comes with W7 provokes it),
FWIW, Windows Defender is a default component of recent versions of
Windows, including Win7
18 matches
Mail list logo