http://bugs.winehq.org/show_bug.cgi?id=13690
Summary: failed to crosscompile dbghelp.dll (dogfood) Product: Wine Version: 1.0-rc3 Platform: PC OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: dbghelp AssignedTo: wine-bugs@winehq.org ReportedBy: wine.dev@web.de
For regex_t, REG_NOSUB, REG_ICASE: error: '*****' undeclared
For regexec, regcomp, regfree: implicit declaration of function '*****'
Some more errors, due to the problems above
http://bugs.winehq.org/show_bug.cgi?id=13690
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2008-06-05 15:10:48 --- Detlef, I don't understand your crosscompile bug reports at all. What application are you running? How are you running it? Where can I download it? What failure do you see? Can you attach the entire console output?
This is the same level of detail we require from all bug posters. I'm tempted to close these invalid, so please provide more data.
http://bugs.winehq.org/show_bug.cgi?id=13690
--- Comment #2 from Detlef Riekenberg wine.dev@web.de 2008-06-05 17:19:46 --- (In reply to comment #1)
Detlef, I don't understand your crosscompile bug reports at all.
Our downloadable Packages are outdated: http://sourceforge.net/project/showfiles.php?group_id=6241&package_id=11...
Paul Millar build Win32 Packages ( http://quisquiliae.physics.gla.ac.uk/cross/results/?C=M;O=D ) with the modified mingw32 toolchain.
Since Wine changed the build process and the modified mingw32 toolchain is no longer updated, I checked, what we have now for dogfood testing. (Using PE dlls from Wine in Wine and in Windows)
Using "make -k" works, but detecting a PE build problem is more difficult to detect.
http://bugs.winehq.org/show_bug.cgi?id=13690
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dylan.ah.smith@gmail.com
--- Comment #3 from Dylan Smith dylan.ah.smith@gmail.com 2008-09-06 11:52:38 --- I was able to compile dbghelp.dll with the following steps. 1. Download mingw-libgnurx-2.5.1-src.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=73...
I haven't looked at the source code for the package, but the idea is we want some package that implements the regex functions used.
2. Untar, configure, build, and install. Modify the commands based on how your system is setup. tar -xf mingw-libgnurx-2.5.1-src.tar.gz cd mingw-libgnurx-2.5.1 ./configure --prefix=/usr/local/i386-mingw32 --host=i386-mingw32 make sudo make install
3. Reconfigure your wine cross compile build, and make sure that it finds regex.h
4. Compiling dbghelp.dll will still give you an error on the linking command, but should be able to compile the object files (e.g. making source.o & symbol.o didn't work before).
So what still needs to be done is to make sure libregex.a is used for linking, so either add regex to the IMPORTS at the top of the Makefile.
This needs to be done because regex is normally a part of the GNU C library, but it isn't a part of mingw.
5. Run make in dlls/dbghelp and it should compile dbghelp.dll.
I don't know what the we should do to avoid this issue, but hopefully I have at least identified the problem for you and shown you a workaround.
It seems like we need to either avoid using regex functions from the GNU Library, add an implementation of these to the ports, or warn of the missing regex on the build then use precompiler conditions to avoid using functions in regex.h and give a runtime error/warning explaining the problem.
I hope that helps.
http://bugs.winehq.org/show_bug.cgi?id=13690
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=13690
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #4 from Jerome Leclanche adys.wh@gmail.com 2010-08-03 23:59:06 --- Any update on this bug?
http://bugs.winehq.org/show_bug.cgi?id=13690
--- Comment #5 from Jerome Leclanche adys.wh@gmail.com 2010-08-04 01:04:23 --- (testing bugzilla, please ignore this comment)
http://bugs.winehq.org/show_bug.cgi?id=13690
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Austin English austinenglish@gmail.com 2010-08-04 01:33:33 --- Compiles fine in wine-1.3.0-111-g3bc110d.
http://bugs.winehq.org/show_bug.cgi?id=13690
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2010-08-20 12:38:22 --- Closing bugs fixed in 1.3.1.