Results 1 to 3 of 3

Thread: Error when compiling "test"

                  
   
  1. #1

    Default Error when compiling "test"

    Why kgsws's test file for MOHH exploit (from sdk folder) not compiling? I only modified main.c to load mp3 file. I also included audio libs in the makefile (wrong?) and write includes in sdk.h.

    BUT I GET MANY ERRORS:
    Spoiler!
    That means, that some libs are unacessible!

    Here is my main.c:
    Spoiler!
    Here is my sdk.h:
    Spoiler!
    Here is my makefile:
    Spoiler!
    Last edited by U3-Robot; August 14th, 2009 at 17:30.

  2. #2
    PSP User Saracchini's Avatar
    Join Date
    Dec 2006
    Location
    Bristol - UK
    Posts
    293
    Rep Power
    65

    Default

    It is a long time since i dont program to PSP, but those are linker errors.
    The only libs that you are linking in your makefile are -lpspaudio and-lpspmp3. I believe that there are more to you add in LIBS to compile and PSP project, because the compiler didnt found the implementations of basic functions like "sprintf" ,"sceUtilityLoadModule" and so on.

  3. #3

    Default

    Quote Originally Posted by Saracchini View Post
    It is a long time since i dont program to PSP, but those are linker errors.
    The only libs that you are linking in your makefile are -lpspaudio and-lpspmp3. I believe that there are more to you add in LIBS to compile and PSP project, because the compiler didnt found the implementations of basic functions like "sprintf" ,"sceUtilityLoadModule" and so on.
    Now I have that libs: LIBS = -lpspgu -lpng -lz -lm -lpspaudio -lpspmp3

    But it still doesn't work.

    Btw, I am registered on this forums, ONLY because kgsws registered here too and he can help me. So.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Compiling Mame4All
    By Guaripolo in forum Chuis's Dev & Discussion Forum
    Replies: 0
    Last Post: August 5th, 2007, 16:33
  2. error compiling tiffsdk1.1
    By emitrom in forum DCEmu Gaming & General Discussion Forum
    Replies: 1
    Last Post: November 1st, 2006, 17:12
  3. Compiling MAME4ALL for Dreamcast with DCDev R2 ISO
    By marton in forum DCEmu Homebrew, Emulation, Hacking and Development Forum
    Replies: 17
    Last Post: May 11th, 2006, 13:47
  4. Need help with compiling code to run on the PSP
    By Raiser in forum DCEmu Homebrew, Emulation, Hacking and Development Forum
    Replies: 6
    Last Post: July 29th, 2005, 18:16
  5. Tutorial #2: Compiling your first SDL game
    By MetaFox in forum DCEmu Homebrew, Emulation, Hacking and Development Forum
    Replies: 13
    Last Post: May 5th, 2005, 13:09

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •