Errors when compiling with Winelib

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Errors when compiling with Winelib
Apprentice
Member # 9013
Profile #0
Sorry, I accidentally created a new topic here instead of appending it to a thread. Could someone delete this?

[ Tuesday, June 19, 2007 11:47: Message edited by: Miramor ]
Posts: 43 | Registered: Tuesday, June 19 2007 07:00
Apprentice
Member # 9013
Profile #1
Yep it was something obvious, make is using winegcc instead of wineg++. And the settings in Makefile look right, wineg++ for CPP files... How do I change this?

[ Tuesday, June 19, 2007 18:51: Message edited by: Miramor ]
Posts: 43 | Registered: Tuesday, June 19 2007 07:00
Apprentice
Member # 4231
Profile #2
As far as make knows, townout.c is a c file, not a cpp file.

[ Wednesday, June 20, 2007 19:58: Message edited by: Octavo ]

--------------------
Lifetime Spiderweb Gamer
and Fan of Classic Style Graphics
Posts: 42 | Registered: Saturday, April 10 2004 07:00
Apprentice
Member # 9013
Profile #3
Hmm, apparently I ran winemaker in the wrong directory. Damn clumsy fingers.

So now I get this:

make: *** No rule to make target `windows.so', needed by `all'. Stop.

... Apparently this is an issue with the contents of the makefile. Anyone know what I have to put in there to get it to work?
Posts: 43 | Registered: Tuesday, June 19 2007 07:00
Apprentice
Member # 4231
Profile #4
That's not exactly a problem with your Makefile. What that means is it can't find the shared object (like a DLL on Windows) that is called windows.so. I'm guessing that that's something winelib is supposed to be providing?

--------------------
Lifetime Spiderweb Gamer
and Fan of Classic Style Graphics
Posts: 42 | Registered: Saturday, April 10 2004 07:00
Apprentice
Member # 9013
Profile #5
Wine does not and should not provide "windows.so". I've also gotten the same message for "blades.so"...
Posts: 43 | Registered: Tuesday, June 19 2007 07:00
Apprentice
Member # 4231
Profile #6
Ah, I see. Then perhaps it is a file that is supposed to be compiled out of your files and indeed you do need a target for it, but I don't know what you'd need to do to make it.

--------------------
Lifetime Spiderweb Gamer
and Fan of Classic Style Graphics
Posts: 42 | Registered: Saturday, April 10 2004 07:00