Error Compiling usbhostfs

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
mEo
Posts: 6
Joined: Fri Aug 04, 2006 9:17 am
Location: Hong Kong
Contact:

Error Compiling usbhostfs

Post by mEo »

Hi,

I just downloaded the latest usbhostfs via svn and attempted to build it, in order to use remotejoy, but it didn't work. Instead, I got this error:
After issuing make -f Makefile.oe release:

Code: Select all

psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-builtin-printf -D_PSP_FW_VERSION=271   -c -o main.o main.c
main.c:496: error: conflicting types for ‘command_xchg’
usbhostfs.h:368: error: previous declaration of ‘command_xchg’ was here
main.c:677: error: conflicting types for ‘usb_connected’
usbhostfs.h:366: error: previous declaration of ‘usb_connected’ was here
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/meo/pspremotejoy/psplinkusb/psplinkusb/usbhostfs'
make: *** [all] Error 2
Can someone please help me with this? I have the latest toolchain, as far as I am aware; I only compiled it last week via svn.

mEo
jsharrad
Posts: 100
Joined: Thu Oct 20, 2005 3:06 am

Post by jsharrad »

I had that problem also, just change the types in the header file to match what are in the source.
Post Reply