Problem with winelib
Dear Wine Developers Team, I am using the wine for porting windows applications under linux. This is a very powerful tool for doing this job thank you very much for providing us a such tool. Here i am getting problem with winelib when i trying to build the notepad application with the given guidelines in winelib user guide i had made the changes to Makefile you are specifying but i got another error msg like [nagarjunab(a)ibi212 notepad2]$ vim Makefile [nagarjunab(a)ibi212 notepad2]$ make wrc -I. -forsrc.res rsrc.rc winegcc -mwindows -mno-cygwin -o notepad2.exe.so dialog.o main.o rsrc.res -lodbc32 -lole32 -loleaut32 -lwinspool -luuid dialog.o(.text+0x1a5): In function `DIALOG_StringMsgBox': : undefined reference to `wnsprintfW' collect2: ld returned 1 exit status winegcc: gcc failed. make: *** [notepad2.exe.so] Error 2 This is the error i am getting so please let me know what is the problem and what i have to do for avoiding this problem. I am expecting a fast response from you. Thanks in advance. --------------------------------- Regards, Nagarjuna Bandi , Infobrain Technologies Pvt. Ltd. | My Home Sarovar Plaza | Hyderabad | India. --------------------------------- Explore your hobbies and interests. Click here to begin.
"Juan Lang" <juan.lang(a)gmail.com> wrote:
dialog.o(.text+0x1a5): In function `DIALOG_StringMsgBox': : undefined reference to `wnsprintfW'
That looks like a typo to me. It should just be wnsprintf.
That's not a typo, just a missing shlwapi import in the Makefile. -- Dmitry.
On Dec 20, 2007 1:42 AM, Nagarjuna Bandi <nagarjunabandi(a)yahoo.co.in> wrote:
Here i am getting problem with winelib when i trying to build the notepad application with the given guidelines in winelib user guide i had made the changes to Makefile you are specifying but i got another error msg like This is the error i am getting so please let me know what is the problem and what i have to do for avoiding this problem.
I am expecting a fast response from you.
Also keep in mind that unless you need to directly call a native linux api, doing a winelib port does not gain you anything over just running the stock windows binary. Thanks -- Steven Edwards "There is one thing stronger than all the armies in the world, and that is an idea whose time has come." - Victor Hugo
participants (4)
-
Dmitry Timoshkov -
Juan Lang -
Nagarjuna Bandi -
Steven Edwards