Next Generation Emulation banner
1 - 6 of 6 Posts

· Registered
Joined
·
2 Posts
Discussion Starter · #1 ·
Hi,

I'm running on Linux and having a problem with the USB plugin libUSBnull.so. I edited Pcsx2.cfg to use the above mentioned file as the USB plugin, but PCSX2 (v0.7) fails to load it: When I launch PCSX2, I get an error message saying

Could Not Load USB Plugin 'Plugins/libUSBnull.so': Plugins/libUSBnull.so: undefined symbol: LoadConfig
Then I get to the configuration screen where I am to select a USB plugin, but since there apparently is a problem loading that plugin I can't select one.

On the command line I don't get other error messages than
Plugins/libUSBnull.so: undefined symbol: LoadConfig
and
Gtk-CRITICAL **: file gtkcombo.c: line 849 (gtk_combo_set_popdown_strings): assertion `strings != NULL' failed.
The reason for the latter is probably that the USB plugin dropdown list on the configuration screen is empty.

I tried both the pre-compiled USB plugin that comes with the Linux version of PCSX2 and also compiled it myself. The result has always been the same.

Any ideas of what I could do? Basically I don't need USB so a method to override the whole USB thing would solve my problem. Thanks in advance!
 

· Registered
Joined
·
9 Posts
Hello,

same problem here. I also tried the previous version pcsx2-0.6. But this was even worse. I also tried to port the USB-Plugin from 0.6 to 0.7. No success. I also tried to compile it locally. Did not work. I solved a few errors, that were reported by the compiler. But it was just too much and too complicated, because I don't know the project and I am only an amateur on coding in C. Seems that some Windows-specific elements are included in the Linux headers.
Now last and perhaps even least I tried it with the latest version of wine. And look. After successful configuration I started up for the first time. Well, I could not test, wether actually running a game will work, because I don't got any here at the moment, but I am optimistic.

Mr. Anderson

PS: Well. It's a bit... freaky, isn't it? Simulating a Windows in order to emulate a PS2. Myabe there is an emulator running on the PS2?
 

· Registered
Joined
·
17 Posts
I don't know why you didn't success to rebuilt it...
On my linux box I don't have any problem for doing it.

You may have not all the development tools (gtk header,etc...) for doing this!!

You should ask the author to rebuild this plugin or I can post a rebuilt of it of it is not against the rules

PS: I know... I know.... very bad english
 

· Registered
Joined
·
9 Posts
Thanks for your reply. Now I know, it must be possible to compile under Linux.

How can I find out which development tools I need? There is no configure script, so I looked up in the Makefile and in the code whether to find a useful hint. Either I just did not see it or there is no hint what might be missing. When compiling just the first file (Counters) I get immediately this error:
Code:
In file included from ../Common.h:155,
                 from ../Counters.c:22:
../Misc.h:40: error: parse error before "hW"
../Misc.h:41: error: parse error before "hW"
So I took a look at this file:
Code:
[...]
40 void ListPatches (HWND hW);
41 int ReadPatch (HWND hW, char fileName[1024]);
[...]
Ok, there is a problem with HWND. HWND is not defined in any of the downloaded files and it is not part of the standard API. I asked a friend which library might be missing. He said, that it seems to be part of a Win32 library. ...maybe it exists also under GNU/Linux? It seems, there is no other possibility. But which library is it?

edit: I just remember the time when I wrote some tiny programs in C. I think HWND is a window handle, isn't it? So it should be part of gtk, right?

edit2: I kind of fixed this prob by adding the line
typedef int HWND
on top of Misc.h. Now some files are compiled. But then I get an error telling me, that ix86-32/GoldRec/grec.a is not found. I looked there myself. It it really not there. Should it be? This problem does not concern the API. Is this caused by my work-around?
 

· Registered
Joined
·
9 Posts
As it seems there is no linux-equivalent for HWND at all. So I looked at the latest CVS-file. And surprise:
Code:
#ifdef __WIN32__
void ListPatches (HWND hW);
int ReadPatch (HWND hW, char fileName[1024]);
@chatt: I suppose you used a CVS-Snapshot that is newer than the downloadable sources at www.pcsx2.net

edit: in ix86-32/GoldRec/ I had to run the Makefile. This produced the grec.a. Now everything compiled. Only the PlugIns were missing. I copied them from the binary package. But well, it does not work. So I will look for another PlugIn.

edit2: Alright, I just compiled the USB linuz-PlugIn. Seems to work fine so far. First start without using wine.
 
1 - 6 of 6 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top