Compiling problems with _sio_control.

General Programming help in C, C++ or ASM, Compiling / Debugging, and R3000A Central Processing Unit (CPU) information
Post Reply
User avatar
oli.exe
What is PSXDEV?
What is PSXDEV?
Posts: 2
Joined: Feb 05, 2017
PlayStation Model: SCPH-7502
Contact:

Compiling problems with _sio_control.

Post by oli.exe » February 5th, 2017, 1:35 am

Hey guys,
First, I am Oli - a new guy here, been pretty active in PSP homebrew scene and started lurking here and all around good old playstation development for more than year and finally decided to hop on it and register ;)

I have a bit of a trouble compiling Jihad's SEND.EXE and few serial samples from psyq since I want to experiment a little bit with my new psxserial -> usb cable I made yesterday. Always ends up with the same problem:
Image
Running on Win XP, with fresh psyq downloaded from here.

what am I missing ? I will appreciate any help :)
thanks.
Dev laptop: Lattitude X200, Pentium III 800MHz, 256MB RAM, 32GB HDD, 2000/XP Pro
Main PSX system: SCPH-7502 Modded + SCPH-1180 Dualshock + Serial Cable to PC
Others: 3x SCPH-7502, SCPH-9002, 1x SCPH-102 (Serial Mod, Smaller MB), 2x SCPH-102

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » February 5th, 2017, 3:23 am

Looks like you're missing a file or something isn't defined correctly.
It could also be that you require libcomb.lib and libcomb.h.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
oli.exe
What is PSXDEV?
What is PSXDEV?
Posts: 2
Joined: Feb 05, 2017
PlayStation Model: SCPH-7502
Contact:

Post by oli.exe » February 5th, 2017, 3:32 am

Matt wrote:Looks like you're missing a file or something isn't defined correctly.
It could also be that you require libcomb.lib and libcomb.h.
Thanks :)
But libcomb.lib, libcomb.h seems to be in place. Makefile is the one supplied with the examples.
Any other ideas ?

EDIT: Got that fixed, my psyq.ini config file was indeed not configured as it should. Sorry about the post.
Dev laptop: Lattitude X200, Pentium III 800MHz, 256MB RAM, 32GB HDD, 2000/XP Pro
Main PSX system: SCPH-7502 Modded + SCPH-1180 Dualshock + Serial Cable to PC
Others: 3x SCPH-7502, SCPH-9002, 1x SCPH-102 (Serial Mod, Smaller MB), 2x SCPH-102

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » February 5th, 2017, 3:48 am

oli.exe wrote:
Matt wrote:Looks like you're missing a file or something isn't defined correctly.
It could also be that you require libcomb.lib and libcomb.h.
EDIT: Got that fixed, my psyq.ini config file was indeed not configured as it should. Sorry about the post.
Ah yeah, that would do it :)
No problem at all!

As a note, another way to fix it without editing PSYQ.INI is to just add -LLIBCOMB.LIB to your MAKEFILE.
Of course, you'd need to copy the LIB to your working directory otherwise it will fail to locate it.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests