public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* RE: problems linking
@ 2004-04-30  4:32 Vikas Gandhi
  2004-04-30  6:32 ` George Mardale
  0 siblings, 1 reply; 6+ messages in thread
From: Vikas Gandhi @ 2004-04-30  4:32 UTC (permalink / raw)
  To: George Mardale; +Cc: pthreads-win32

Please give all your details 
which compiler are u using ?????
If I remember currently u can also make all the test during build itself
that too with no issues.

Please give more details what are u trying to do. Mail yr program also.

--Vikas

-----Original Message-----
From: George Mardale [mailto:gix@delsyne.ro] 
Sent: Thursday, April 29, 2004 4:35 PM
To: Vikas Gandhi
Cc: pthreads-win32@sources.redhat.com
Subject: Re: problems linking

Hi,

I tested one example (valid1.c), but the errors are still the same.
Any other ideas?

Thanks,
George.

----- Original Message -----
From: "Vikas Gandhi" <VGandhi@quark.co.in>
To: "George Mardale" <gix@delsyne.ro>
Cc: <pthreads-win32@sources.redhat.com>
Sent: Thursday, April 29, 2004 7:52 AM
Subject: RE: problems linking


> Have u been able to compile the tests that come along with pthreads-win32.
I
> am pretty sure that u'll get your answers there itself.
>
> --Vikas
>
> -----Original Message-----
> From: pthreads-win32-owner@sources.redhat.com
> [mailto:pthreads-win32-owner@sources.redhat.com] On Behalf Of George
Mardale
> Sent: Wednesday, April 28, 2004 9:29 PM
> To: pthreads-win32@sources.redhat.com
> Subject: problems linking
>
> Hi,
>
> I am having a problem using "POSIX threads for win32" binaries.
>
> I am porting to wince an unix application which uses posix threads. The
> compilation works fine, but the linking phase fails (I use pthreadVCE.lib
> for linking). The message is:
> ... unresolved external symbol __imp_pthread_cond_wait referenced in ...
>
> I looked inside pthreadVCE.lib and it seems to have a function called
> __imp__pthread_cond_wait. So, there is an extra "_" appearing.
> Can you please point me to a solution to fix this problem?
>
> Best regards,
> George.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems linking
  2004-04-30  4:32 problems linking Vikas Gandhi
@ 2004-04-30  6:32 ` George Mardale
       [not found]   ` <40930DE0.6040609@callisto.canberra.edu.au>
  0 siblings, 1 reply; 6+ messages in thread
From: George Mardale @ 2004-04-30  6:32 UTC (permalink / raw)
  To: Vikas Gandhi; +Cc: pthreads-win32

Hi again,

I managed to solve the problem. Thanks to Ross Johnson for pointing out the
correct approach. I use eVC++ and I used the prebuilt binaries, which I
thouhght were for wince, but they weren't.

After recompiling the wince port of pthreads-win32 (+ setting the proper
#define-s), it worked...

Thanks again for your support, guys.
Best regards,
George.

----- Original Message -----
From: "Vikas Gandhi" <VGandhi@quark.co.in>
To: "George Mardale" <gix@delsyne.ro>
Cc: <pthreads-win32@sources.redhat.com>
Sent: Friday, April 30, 2004 7:30 AM
Subject: RE: problems linking


> Please give all your details
> which compiler are u using ?????
> If I remember currently u can also make all the test during build itself
> that too with no issues.
>
> Please give more details what are u trying to do. Mail yr program also.
>
> --Vikas
>
> -----Original Message-----
> From: George Mardale [mailto:gix@delsyne.ro]
> Sent: Thursday, April 29, 2004 4:35 PM
> To: Vikas Gandhi
> Cc: pthreads-win32@sources.redhat.com
> Subject: Re: problems linking
>
> Hi,
>
> I tested one example (valid1.c), but the errors are still the same.
> Any other ideas?
>
> Thanks,
> George.
>
> ----- Original Message -----
> From: "Vikas Gandhi" <VGandhi@quark.co.in>
> To: "George Mardale" <gix@delsyne.ro>
> Cc: <pthreads-win32@sources.redhat.com>
> Sent: Thursday, April 29, 2004 7:52 AM
> Subject: RE: problems linking
>
>
> > Have u been able to compile the tests that come along with
pthreads-win32.
> I
> > am pretty sure that u'll get your answers there itself.
> >
> > --Vikas
> >
> > -----Original Message-----
> > From: pthreads-win32-owner@sources.redhat.com
> > [mailto:pthreads-win32-owner@sources.redhat.com] On Behalf Of George
> Mardale
> > Sent: Wednesday, April 28, 2004 9:29 PM
> > To: pthreads-win32@sources.redhat.com
> > Subject: problems linking
> >
> > Hi,
> >
> > I am having a problem using "POSIX threads for win32" binaries.
> >
> > I am porting to wince an unix application which uses posix threads. The
> > compilation works fine, but the linking phase fails (I use
pthreadVCE.lib
> > for linking). The message is:
> > ... unresolved external symbol __imp_pthread_cond_wait referenced in ...
> >
> > I looked inside pthreadVCE.lib and it seems to have a function called
> > __imp__pthread_cond_wait. So, there is an extra "_" appearing.
> > Can you please point me to a solution to fix this problem?
> >
> > Best regards,
> > George.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems linking
       [not found]   ` <40930DE0.6040609@callisto.canberra.edu.au>
@ 2004-05-03  6:25     ` George Mardale
  0 siblings, 0 replies; 6+ messages in thread
From: George Mardale @ 2004-05-03  6:25 UTC (permalink / raw)
  To: pthreads-win32

Hi Ross,

Thanks for your recommendations... I will try to follow them...

As of your assumption, you were right. I really thought the 'CE' in
pthreadVCE.lib came from winCE :-). Thanks for clarifying this also.

Best regards,
George.

----- Original Message -----
From: "Ross Johnson" <rpj@callisto.canberra.edu.au>
To: "George Mardale" <gix@delsyne.ro>
Sent: Saturday, May 01, 2004 5:39 AM
Subject: Re: problems linking


> George,
>
> Thanks for confirming that the WinCE build works OK. As I said, I have
> no way of testing this version myself.
>
> Since you're building the library from source, can I recommend grabbing
> the sources from CVS (if you aren't already), since these include one or
> two bug fixes that aren't in the snapshot yet. Details for anonymous CVS
> downloading are on the project web page:
>
> http://www.sources.redhat.com/pthreads-win32/
>
> Would I be correct in thinking that you thought the 'CE' in
> pthreadVCE.lib meant WinCE? That never occurred to me. It actually
> indicates that this is the version built using C++ Exceptions. See the
> README and FAQ files for the whole history of the naming of prebuilt
> libraries and the issues relating to using C++ exceptions, Structured
> exceptions, or plain C set/longjmp in the context of POSIX threads and
> it's portability amongst Pthreads implementations.
>
> The recommended version is plain C. This is the one that will be built
> from source unless you go to the trouble of setting an additional
> compile time macro.
>
> Regards.
> Ross
>
> George Mardale wrote:
>
> >Hi again,
> >
> >I managed to solve the problem. Thanks to Ross Johnson for pointing out
the
> >correct approach. I use eVC++ and I used the prebuilt binaries, which I
> >thouhght were for wince, but they weren't.
> >
> >After recompiling the wince port of pthreads-win32 (+ setting the proper
> >#define-s), it worked...
> >
> >Thanks again for your support, guys.
> >Best regards,
> >George.
> >
> >

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems linking
  2004-04-29  4:57 Vikas Gandhi
@ 2004-04-29 11:05 ` George Mardale
  0 siblings, 0 replies; 6+ messages in thread
From: George Mardale @ 2004-04-29 11:05 UTC (permalink / raw)
  To: Vikas Gandhi; +Cc: pthreads-win32

Hi,

I tested one example (valid1.c), but the errors are still the same.
Any other ideas?

Thanks,
George.

----- Original Message -----
From: "Vikas Gandhi" <VGandhi@quark.co.in>
To: "George Mardale" <gix@delsyne.ro>
Cc: <pthreads-win32@sources.redhat.com>
Sent: Thursday, April 29, 2004 7:52 AM
Subject: RE: problems linking


> Have u been able to compile the tests that come along with pthreads-win32.
I
> am pretty sure that u'll get your answers there itself.
>
> --Vikas
>
> -----Original Message-----
> From: pthreads-win32-owner@sources.redhat.com
> [mailto:pthreads-win32-owner@sources.redhat.com] On Behalf Of George
Mardale
> Sent: Wednesday, April 28, 2004 9:29 PM
> To: pthreads-win32@sources.redhat.com
> Subject: problems linking
>
> Hi,
>
> I am having a problem using "POSIX threads for win32" binaries.
>
> I am porting to wince an unix application which uses posix threads. The
> compilation works fine, but the linking phase fails (I use pthreadVCE.lib
> for linking). The message is:
> ... unresolved external symbol __imp_pthread_cond_wait referenced in ...
>
> I looked inside pthreadVCE.lib and it seems to have a function called
> __imp__pthread_cond_wait. So, there is an extra "_" appearing.
> Can you please point me to a solution to fix this problem?
>
> Best regards,
> George.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: problems linking
@ 2004-04-29  4:57 Vikas Gandhi
  2004-04-29 11:05 ` George Mardale
  0 siblings, 1 reply; 6+ messages in thread
From: Vikas Gandhi @ 2004-04-29  4:57 UTC (permalink / raw)
  To: George Mardale; +Cc: pthreads-win32

Have u been able to compile the tests that come along with pthreads-win32. I
am pretty sure that u'll get your answers there itself.

--Vikas

-----Original Message-----
From: pthreads-win32-owner@sources.redhat.com
[mailto:pthreads-win32-owner@sources.redhat.com] On Behalf Of George Mardale
Sent: Wednesday, April 28, 2004 9:29 PM
To: pthreads-win32@sources.redhat.com
Subject: problems linking

Hi,

I am having a problem using "POSIX threads for win32" binaries.

I am porting to wince an unix application which uses posix threads. The
compilation works fine, but the linking phase fails (I use pthreadVCE.lib
for linking). The message is:
... unresolved external symbol __imp_pthread_cond_wait referenced in ...

I looked inside pthreadVCE.lib and it seems to have a function called
__imp__pthread_cond_wait. So, there is an extra "_" appearing.
Can you please point me to a solution to fix this problem?

Best regards,
George.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* problems linking
@ 2004-04-28 15:59 George Mardale
  0 siblings, 0 replies; 6+ messages in thread
From: George Mardale @ 2004-04-28 15:59 UTC (permalink / raw)
  To: pthreads-win32

Hi,

I am having a problem using "POSIX threads for win32" binaries.

I am porting to wince an unix application which uses posix threads. The
compilation works fine, but the linking phase fails (I use pthreadVCE.lib
for linking). The message is:
... unresolved external symbol __imp_pthread_cond_wait referenced in ...

I looked inside pthreadVCE.lib and it seems to have a function called
__imp__pthread_cond_wait. So, there is an extra "_" appearing.
Can you please point me to a solution to fix this problem?

Best regards,
George.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-05-03  6:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-30  4:32 problems linking Vikas Gandhi
2004-04-30  6:32 ` George Mardale
     [not found]   ` <40930DE0.6040609@callisto.canberra.edu.au>
2004-05-03  6:25     ` George Mardale
  -- strict thread matches above, loose matches on Subject: below --
2004-04-29  4:57 Vikas Gandhi
2004-04-29 11:05 ` George Mardale
2004-04-28 15:59 George Mardale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).