2 things with the new library system

Steven Edwards steven_ed4153 at yahoo.com
Thu Mar 27 14:13:53 CST 2003


1. I'm getting this error in the current cvs - patch is at the end of the message

isolation at PH33R /g/src/wine-dev/wine/libs/wine
$ make
dllwrap --def ./wine.def -o libwine.dll config.o debug.o errno.o ldt.o loader.o
 -L../../libs/port -lwine_port  -lmsvcrt
libwine.exp(.edata+0xa4):fake: undefined reference to `wine_errno_location'
libwine.exp(.edata+0xcc):fake: undefined reference to `wine_h_errno_location'
C:\mingw\bin\dllwrap.exe: C:\mingw\bin\gcc exited with status 1
make: *** [libwine.dll] Error 1

2. I can build wrc, winebuild, widl and etc but when I go to run these programs they are bitching
about not being able to fund NULL. It seems that dllwrap and gcc dont like having our dlls not
have a library name in the .def file. If I add

LIBRARY libwine_unicode.dll or
LIBRARY libwine.dll 

to the proper file then all is great. My question is will this break Unix? with a .so or will LD
just not care about this?



cvs diff -u wine.def 
Index: wine.def
===================================================================
RCS file: /home/wine/wine/libs/wine/wine.def,v
retrieving revision 1.1
diff -u -r1.1 wine.def
--- wine.def	23 Mar 2003 00:28:53 -0000	1.1
+++ wine.def	27 Mar 2003 20:09:55 -0000
@@ -27,7 +27,6 @@
     wine_dll_unload
     wine_dlopen
     wine_dlsym
-    wine_errno_location
     wine_get_config_dir
     wine_get_cs
     wine_get_ds
@@ -37,7 +36,6 @@
     wine_get_server_dir
     wine_get_ss
     wine_get_user_name
-    wine_h_errno_location
     wine_ldt_alloc_entries
     wine_ldt_alloc_fs
     wine_ldt_copy

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com



More information about the wine-devel mailing list