[Wine] Re: Problems in Compiling MFC

suse wineforum-user at winehq.org
Fri Feb 20 02:24:01 CST 2009


How should I remove winegcc error!!!!!

I' compiling an SDI application in wine, when I give make command, this is error i'm getting.... 

admin at XXX:-./wine/drive_c/MFC>
makewinegcc -c -mno-cygwin -I -o dicom_io_main.o dicom_io_main.c
dicom_io_main.c:10:20: error:config.h:No such file or directory
dicom_io_main.c:In function 'DllMain':
dicom_io_main.c:26: error: 'DLL_WINE_PREATTACH' undeclared (first use in this function)
dicom_io_main.c: error : (Each undeclared identifier is reported only once
dicom_io_main.c:26: error: for each function it appears in.)
winegcc:  gcc failed
make:*** [dicom_io_main.o] Error 2

pls help me ...
i've kept a config.h file in ../system32/MFC>... but stil its giving as file not found!!! [Crying or Very sad]
i also like to know how to solve winegcc error !!! 

eagerly waiting for ur reply

More information about the wine-users mailing list