Quantcast

mingw build is broken (winegcc configuration phase)

classic Classic list List threaded Threaded
2 messages Options
David Ostrovsky David Ostrovsky
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

mingw build is broken (winegcc configuration phase)

Hi Kendy,

the last winegcc changes break mingw build.
I can isolate the problem:

winegcc -m32 -o conftest.exe -g -O2 conftest.c
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -ladvapi32
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -luser32
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -lkernel32
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -lntdll
collect2: ld returned 1 exit status
winegcc: gcc failed

and with -nodefaultlibs option:

winegcc -nodefaultlibs -m32 -o conftest.exe -g -O2 conftest.c
conftest.exe-o6GAKs.spec.o: In function `__wine_spec_nt_header':
(.data+0x28): undefined reference to `__wine_spec_exe_entry'
conftest.exe-o6GAKs.spec.o: In function `__wine_spec_pe_header':
(.init+0x11006): undefined reference to `__wine_spec_init_ctor'
collect2: ld returned 1 exit status
winegcc: gcc failed

Should we have a workaround for it: fall back to the zip creation?
--without-winegcc has currently no effect, though.

Ciao
David
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
David Ostrovsky David Ostrovsky
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

mingw build fixed now -- was Re: mingw build is broken (winegcc configuration phase)

On 28.07.2012 10:09, David Ostrovsky wrote:
> the last winegcc changes break mingw build.
solved my problem. Upgraded wine repo:

# cat /etc/zypp/repos.d/Emulators\:Wine.repo
[Emulators_Wine]
name=Wine (openSUSE_12.1)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_12.1/ 

gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_12.1/repodata/repomd.xml.key 

enabled=1

and then
zypper ref ; zypper up
and all is fine.

Regards
David
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Loading...