Re: Oleview: undefined references

2006-06-21 Thread James Hawkins
On 6/21/06, Andrew Talbot <[EMAIL PROTECTED]> wrote: Excellent. Thanks, Mike. I shall submit a patch to add $(LIBUNICODE) to the EXTRALIBS line. I personally think we should change the strlenW to lstrlenW. lstrlenW is win32, and doesn't require $(LIBUNICODE). Plus, we use it pretty much eve

Re: Oleview: undefined references

2006-06-21 Thread Andrew Talbot
Excellent. Thanks, Mike. I shall submit a patch to add $(LIBUNICODE) to the EXTRALIBS line. -- Andy.

Re: Oleview: undefined references

2006-06-21 Thread Mike McCormack
Andrew Talbot wrote: Sorry, yes: compilation breaks if the -Wwrite-strings flag is specified. If you configure with: CFLAGS="-Wwrite-strings" ./configure the configure script will not add -O2, which means inline function won't be inlined. The problem seems to be that oleview isn't linked

Re: Oleview: undefined references

2006-06-21 Thread Andrew Talbot
James Hawkins wrote: > I'm guessing you mean -Wwrite-strings. I don't know the answer to the > question, but we should probably be using lstrlenW instead. > Sorry, yes: compilation breaks if the -Wwrite-strings flag is specified. Thanks, -- Andy.

Re: Oleview: undefined references

2006-06-21 Thread James Hawkins
On 6/21/06, Andrew Talbot <[EMAIL PROTECTED]> wrote: Does anyone know why details.c and tree.c might have undefined references to the unicode string functions, such as strlenW()? My guess is that there might be something wrong with the Makefile.in. Compilation breaks if the -Write-string

Oleview: undefined references

2006-06-21 Thread Andrew Talbot
Does anyone know why details.c and tree.c might have undefined references to the unicode string functions, such as strlenW()? My guess is that there might be something wrong with the Makefile.in. Compilation breaks if the -Write-strings flag is specified. Thanks, -- Andy.

Re: Undefined references

2005-10-06 Thread Robert Lunnon
On Thursday 06 October 2005 23:15, Robert Lunnon wrote: > On Wednesday 05 October 2005 22:49, Alexandre Julliard wrote: > > Robert Lunnon <[EMAIL PROTECTED]> writes: > > > Yes, fixed that but the linker still insists on including main() in the > > > shared library. If I remove libwinecrt0.a from th

Re: Undefined references

2005-10-06 Thread Robert Lunnon
On Wednesday 05 October 2005 22:49, Alexandre Julliard wrote: > Robert Lunnon <[EMAIL PROTECTED]> writes: > > Yes, fixed that but the linker still insists on including main() in the > > shared library. If I remove libwinecrt0.a from the link then the link > > goes OK and nm shows no references to m

Re: Undefined references

2005-10-05 Thread Alexandre Julliard
Robert Lunnon <[EMAIL PROTECTED]> writes: > Yes, fixed that but the linker still insists on including main() in the > shared > library. If I remove libwinecrt0.a from the link then the link goes OK and nm > shows no references to main() in the shared library. Perhaps wine should have > differe

Re: Undefined references

2005-10-05 Thread Robert Lunnon
On Wednesday 05 October 2005 21:44, Alexandre Julliard wrote: > Robert Lunnon <[EMAIL PROTECTED]> writes: > > Yes, thats the way I see it, from what I can see winegcc is being called > > with -shared but is not emitting -shared in the subsequent gcc command > > and includes libwinecrt0.a which wou

Re: Undefined references

2005-10-05 Thread Alexandre Julliard
Robert Lunnon <[EMAIL PROTECTED]> writes: > Yes, thats the way I see it, from what I can see winegcc is being called with > -shared but is not emitting -shared in the subsequent gcc command and > includes libwinecrt0.a which would be wrong for linking a shared library. > Seems winegcc is broke

Re: Undefined references

2005-10-05 Thread Robert Lunnon
On Wednesday 05 October 2005 21:09, Alexandre Julliard wrote: > Robert Lunnon <[EMAIL PROTECTED]> writes: > > Under solaris I get some undefined references popping up from yesterdays > > cvs (that I'm not used to seeing). > > Undefined

Re: Undefined references

2005-10-05 Thread Robert Lunnon
On Wednesday 05 October 2005 21:09, Alexandre Julliard wrote: > Robert Lunnon <[EMAIL PROTECTED]> writes: > > Under solaris I get some undefined references popping up from yesterdays > > cvs (that I'm not used to seeing). > > Undefined

Re: Undefined references

2005-10-05 Thread Alexandre Julliard
Robert Lunnon <[EMAIL PROTECTED]> writes: > Under solaris I get some undefined references popping up from yesterdays cvs > (that I'm not used to seeing). > Undefined first referenced > symbol in

Re: Undefined references

2005-10-05 Thread Robert Lunnon
On Wednesday 05 October 2005 07:27, Robert Lunnon wrote: > Under solaris I get some undefined references popping up from yesterdays > cvs (that I'm not used to seeing). > Undefined first referenced > symbol in file

Undefined references

2005-10-04 Thread Robert Lunnon
Under solaris I get some undefined references popping up from yesterdays cvs (that I'm not used to seeing). Undefined first referenced symbol in file GetStartupInfoA ../../dlls/libwinecrt0.a(exe_main.o) GetModuleHa