LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-01-2017, 08:57 AM   #1
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
Wine 2.0 error while compiling


Freshly released Wine 2.0 fails to compile ; it never happened to me during last several years of compiling it under current Slackware.

macro.lex.yy.o: In function `.L195':
macro.lex.yy.c.text+0x10e4): undefined reference to `yywrap'
collect2: error: ld returned 1 exit status
winegcc: gcc failed
make[1]: *** [Makefile:288: winhlp32.exe.so] Error 2
make[1]: Leaving directory '/tmp/SBo/wine-2.0/programs/winhlp32'
make: *** [Makefile:21679: programs/winhlp32] Error 2
 
Old 02-01-2017, 09:09 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
See the changes on my git branch at sbo git
Basically, you need a patch to fix build problem with flex
 
Old 02-01-2017, 09:21 AM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
This is the problem. If you the follow the links, you'll find a patch to fix it.

http://www.linuxquestions.org/questi...ml#post5660999

My SlackBuild applies the wine-staging patches, which also seems to solve this:

https://raw.githubusercontent.com/du...ine.SlackBuild
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while compiling .exe file with wine sanatkrtiwari86 Linux - Software 1 12-24-2008 05:03 AM
Error when compiling wine 1.0.0 mcmajik Linux - Software 3 08-02-2008 02:32 PM
Problems Compiling Wine (Error 2) 2Pacalypse Linux - Software 4 12-03-2006 07:29 PM
Error when compiling Wine BrianJ Slackware 9 08-01-2004 06:50 PM
wine compiling and error 2 watashiwaotaku7 Linux - Software 2 12-25-2002 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration