Cannot build Wine 4.14 on Debian 9

Questions about Wine on Linux
Locked
adolfintel
Newbie
Newbie
Posts: 3
Joined: Sat Aug 17, 2019 7:54 am

Cannot build Wine 4.14 on Debian 9

Post by adolfintel »

I just downloaded the source code of Wine 4.14 but it doesn't want to build (4.13 builds just fine). This is the error that I'm getting: undefined reference to __acrt_iob_func

I can't seem to find anything about it.

Thanks in advance
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Cannot build Wine 4.14 on Debian 9

Post by Bob Wya »

@adolfintel

That's way, way too little information for anyone to be able to help you.

We'd need (bare minimum):
  • The compiler version (I presume gcc?) you are using
  • gold or bfd linker?
  • A full build log + all the commands you've used
wine-vanilla:4.14 builds fine for me, on Gentoo.

Thanks
Bob
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot build Wine 4.14 on Debian 9

Post by dimesio »

FWIW, both the wine-devel-4.14 and wine-staging-4.14 packages for Debian 9 built without any problems on the OBS. They were built with mingw, so if you weren't, try that.
adolfintel
Newbie
Newbie
Posts: 3
Joined: Sat Aug 17, 2019 7:54 am

Re: Cannot build Wine 4.14 on Debian 9

Post by adolfintel »

Sorry for the late reply,
the problem was caused by the gcc version being too old.
dpobanz
Level 1
Level 1
Posts: 6
Joined: Sat Aug 03, 2013 7:47 pm

Re: Cannot build Wine 4.14 on Debian 9

Post by dpobanz »

What version of gcc was too old? What version works? I am getting this same error message (undefined reference to __acrt_iob_func) on Linux Mint using gcc v7.4.0. and also with version 8.3.0.
dpobanz
Level 1
Level 1
Posts: 6
Joined: Sat Aug 03, 2013 7:47 pm

Re: Cannot build Wine 4.14 on Debian 9

Post by dpobanz »

The problem I had was that MinGW was not installed. I am not aware of anything else changing, making it so I could no longer compile wine from source and I know I did not remove MinGW for whatever that is worth.
Locked