Cannot build Wine 4.14 on Debian 9

Questions about Wine on Linux
Post Reply
adolfintel
Newbie
Newbie
Posts: 2
Joined: Sat Aug 17, 2019 7:54 am

Cannot build Wine 4.14 on Debian 9

Post by adolfintel » Sat Aug 17, 2019 7:57 am

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: 2762
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: Cannot build Wine 4.14 on Debian 9

Post by Bob Wya » Sat Aug 17, 2019 3:23 pm

@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: 12674
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot build Wine 4.14 on Debian 9

Post by dimesio » Sat Aug 17, 2019 5:02 pm

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: 2
Joined: Sat Aug 17, 2019 7:54 am

Re: Cannot build Wine 4.14 on Debian 9

Post by adolfintel » Tue Aug 20, 2019 12:32 am

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 » Thu Aug 29, 2019 2:17 pm

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 » Sun Sep 29, 2019 2:26 pm

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.

Post Reply