Fwd: wingcc link problem
vberon at mecano.gme.usherb.ca
Thu Nov 3 18:12:29 CST 2005
Le jeu 03/11/2005 à 18:21, Vincent Béron a écrit :
> Le jeu 03/11/2005 à 15:53, Vitaly Lipatov a écrit :
> > В сообщении от 16 Октябрь 2005 18:51 Dimi Paun написал(a):
> > > On Sun, October 16, 2005 9:05 am, Vitaly Lipatov said:
> > > > Please take attention, is it bug or I use winegcc incorrectly?
> > >
> > > Yes, this seems to be a bug.
> > What we can do with this problem?
> > I can't compile any program...
> > I can't figure what thing needs fixes:
> > In function `__wine_spec_nt_header':
> > : undefined reference to `__wine_spec_exe_entry'
> > doublegl.exe-wRtEBe.spec.o(.init+0x1): undefined reference to
> > `__wine_spec_init_ctor'
> > collect2: ld returned 1 exit status
> winegcc hasn't been updated to know about winecrt0, and pass it
> implicitely to gcc via -lwinecrt0.
Stupid me... that's not the problem.
Have you installed (make install) your wine, or are you running from
inside your build tree? I get the same error when I'm missing
libwinecrt0.a in the -L paths.
More information about the wine-devel