Hi,
I can't link in any version of the WINE libraries after version 20001202 without getting a linker error: undefined reference to main in function _start.
I compile WINE with these options: ./configure --without-x --without-curses --disable-debug --disable-trace.
Any ideas???
thanks, Gilroy Billard mailto:gilroy@trakonic.com Software Developer Trakonic Inc. PH: 1-902-450-0922 FX: 1-902-450-0939 1-877-419-3887 http://www.trakonic.com
"Gilroy" == Gilroy Billard gilroy@trakonic.com writes:
Gilroy> Hi, I can't link in any version of the WINE libraries after Gilroy> version 20001202 without getting a linker error: undefined Gilroy> reference to main in function _start.
Gilroy> I compile WINE with these options: ./configure --without-x Gilroy> --without-curses --disable-debug --disable-trace.
Gilroy> Any ideas???
Did you try with winemaker?
Bye
winemaker? no I didn't know there was such a thing. I will take a look at it though. thanks
-----Original Message----- From: wine-devel-admin@winehq.com [mailto:wine-devel-admin@winehq.com]On Behalf Of Uwe Bonnes Sent: Monday, June 25, 2001 1:20 PM To: gilroy@trakonic.com Cc: Wine-Devel@Winehq.Com Subject: Re: undefined reference to main in _start
"Gilroy" == Gilroy Billard gilroy@trakonic.com writes:
Gilroy> Hi, I can't link in any version of the WINE libraries after Gilroy> version 20001202 without getting a linker error: undefined Gilroy> reference to main in function _start.
Gilroy> I compile WINE with these options: ./configure --without-x Gilroy> --without-curses --disable-debug --disable-trace.
Gilroy> Any ideas???
Did you try with winemaker?
Bye -- Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
On Mon, 25 Jun 2001, Gilroy Billard wrote:
winemaker? no I didn't know there was such a thing. I will take a look at it though. thanks
Winemaker generates Makefiles to compile windows source with Winelib. But I don't think this is what you want to do, is it?
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ We are Pentium of Borg. You will be approximated. Division is futile.
Francois Gouget wrote:
On Mon, 25 Jun 2001, Gilroy Billard wrote:
winemaker? no I didn't know there was such a thing. I will take a look at it though. thanks
Winemaker generates Makefiles to compile windows source with Winelib. But I don't think this is what you want to do, is it?
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ We are Pentium of Borg. You will be approximated. Division is futile.
i'm very surprised by how much wine is running for me....I do NOT know if it was RH ( as I'm trying Debian unstable at moment ) or just me...but i'm running things I don't recall working before &/or mabye the latest /greateste is just better than earlier ones I'd tried.....
anyway goldisk works flawlessly so far in wine which is very nice....can't get sonic foundryes acid music yet but oh well not critical.....I tried to install flash 5.0....the installer 'tried' to start but bomber....plus ill check database .....
many things worked i was pleasantly surprised......very nice!
thanks wine team this is great stuff.....
tres merci lee -====
No, it is not.
Basically, I want to use wine_main and link the WINE source libraries into my project, for example, libmsvfw32.so, libwine.so, etc. This is what I did in the past and it worked fairly well. However, 20001202 and greater versions of WINE also require libntdll.so. This is fine too, but now I get an error "crt1.o undefined reference to main in _start".
-----Original Message----- From: Francois Gouget [mailto:fgouget@free.fr] Sent: Monday, June 25, 2001 3:12 PM To: Gilroy Billard Cc: Uwe Bonnes; Wine-Devel@Winehq.Com Subject: RE: undefined reference to main in _start
On Mon, 25 Jun 2001, Gilroy Billard wrote:
winemaker? no I didn't know there was such a thing. I will take a look at it though. thanks
Winemaker generates Makefiles to compile windows source with Winelib. But I don't think this is what you want to do, is it?
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ We are Pentium of Borg. You will be approximated. Division is futile.
On Mon, 25 Jun 2001, Gilroy Billard wrote:
No, it is not.
Basically, I want to use wine_main and link the WINE source libraries into my project, for example, libmsvfw32.so, libwine.so, etc. This is what I did in the past and it worked fairly well. However, 20001202 and greater versions of WINE also require libntdll.so. This is fine too, but now I get an error "crt1.o undefined reference to main in _start".
-----Original Message----- From: Francois Gouget [mailto:fgouget@free.fr] Sent: Monday, June 25, 2001 3:12 PM To: Gilroy Billard Cc: Uwe Bonnes; Wine-Devel@Winehq.Com Subject: RE: undefined reference to main in _start
On Mon, 25 Jun 2001, Gilroy Billard wrote:
winemaker? no I didn't know there was such a thing. I will take a look at it though. thanks
Winemaker generates Makefiles to compile windows source with Winelib. But I don't think this is what you want to do, is it?
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ We are Pentium of Borg. You will be approximated. Division is futile.
Maybe I am misunderstanding something, but that sounds like a winelib application you are working on, and that is what winemaker does best, in my experience. Don't be mislead by "windows source", think rather "c-like code you have the source to that wants to make some calls to the windows API" (it can also call any other API you care to give it the headers and libraries for, including libc).
Winelib programs changed radically some time in December 2000 - I think for the better - in that you can now simply import a dll in the .spec file and the wine toolchain starting with winemaker takes care of LoadLibrary/GetProcAddress, but they build, start and link differently too.
I'd say give winemaker a try. Maybe you will have to hand-hack the Makefile a bit, but winemaker understands beter than I can explain how to make winelib apps.
I guess you could take winedbg as an example winelib app.
Lawson --- Just because it works for me, doesn't mean I know what I'm doing. ---cut here---
________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj.