Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Compiler Issues

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Jan 2008
    Posts
    18
    Rep Power
    0

    Default Compiler Issues

    I know that you must get hundreds of these topics, sorry for bothering you guys.

    I can't seem to get my PSP compiler to work. I posted in the actual thread, but there hasn't been a reply, so, here it is.

    Quote Originally Posted by Addy771 View Post
    Thank you very much for putting together this guide; I was having a lot of trouble with PSPtoolchain, endless install errors.

    I'm having a problem with this though, and I've done a bunch of things to try and solve it. The error I get now is "/lib/build.mak:24: *** missing separator. Stop.".

    This is my makefile
    Code:
    PSPSDK = $(shell psp-config --pspsdk-path)
    TARGET = controller_basic
    OBJS = main.o
    
    INCDIR = 
    CFLAGS = -O2 -G0 -Wall
    CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
    ASFLAGS = $(CFLAGS)
    
    LIBDIR =
    LDFLAGS =
    
    EXTRA_TARGETS = EBOOT.PBP
    PSP_EBOOT_TITLE = Basic controller sample
    
    include $(PSPSDK)/lib/build.mak
    And this is my start.bat
    Code:
    cd C:\pspdev\psp\sdk\samples\controller\basic
    make 
    cmd
    I've added the PATH variables manually already, they weren't working before. It kept adding a space before '/bin' in one of the paths, and that messed it up.


    Any and all help is greatly appreciated.

  2. #2
    DCEmu Old Pro Wally's Avatar
    Join Date
    Oct 2005
    Posts
    1,170
    Rep Power
    75

    Default

    Tried updating the SDK through SVN?

  3. #3
    DCEmu Newbie
    Join Date
    Jan 2008
    Posts
    18
    Rep Power
    0

    Default

    Quote Originally Posted by wally View Post
    Tried updating the SDK through SVN?
    How would I go about doing that?

    And thank you for helping me

  4. #4
    DCEmu Old Pro Wally's Avatar
    Join Date
    Oct 2005
    Posts
    1,170
    Rep Power
    75

    Default

    Im assuming you are using unix or Winblowz.

    type
    svn co svn://svn.ps2dev.org/psp/pspsdk then run the configure or bootstrap script. what ever it is.

    good luck.

    If that doesnt fix it, then reinstall the entire toolchain.

  5. #5
    DCEmu Newbie
    Join Date
    Jan 2008
    Posts
    18
    Rep Power
    0

    Default

    Quote Originally Posted by wally View Post
    Im assuming you are using unix or Winblowz.

    type
    svn co svn://svn.ps2dev.org/psp/pspsdk then run the configure or bootstrap script. what ever it is.

    good luck.

    If that doesnt fix it, then reinstall the entire toolchain.
    I'm not using the toolchain anymore, I'm using the software stickied in this forum(http://www.dcemu.co.uk/vbulletin/showthread.php?t=25564).

  6. #6
    DCEmu Coder
    Join Date
    Aug 2006
    Posts
    571
    Rep Power
    67

    Default

    Quote Originally Posted by Addy771 View Post
    I'm not using the toolchain anymore, I'm using the software stickied in this forum(http://www.dcemu.co.uk/vbulletin/showthread.php?t=25564).
    Any pre-compiled toolkit will be out of date. Many changes have been made to pspsdk, and continue to be made regularly. Most pre-made kits are REALLY out of date - not supporting the slim, for example.

    It's best to set up the toolchain from the script supplied in the repo. If you can't get the tollchain and libraries set up, you're likely to have trouble making PSP specific programs. Note: if you're trying to set up the toolchain via CygWin in Windows, there are and always have been issues with the version of CygWin used. You should read some of the threads on it at the PS2DEV forums.

    The latest tutorial on setting up the toolchain and libraries in linux is found here: http://www.guztech.nl/tutorials/38-psp

  7. #7
    DCEmu Newbie
    Join Date
    Jan 2008
    Posts
    18
    Rep Power
    0

    Default

    I tried many times to get psptoolchain to install.

    Right now, I don't really care which compiler I'm using, as long as I can actually get into compiling.

    I would've installed the psptoolchain on my linux PC, but it requires internet access.

  8. #8
    DCEmu Old Pro Wally's Avatar
    Join Date
    Oct 2005
    Posts
    1,170
    Rep Power
    75

    Default

    Why cant you use the internet on Linux?

    It should "Just work"

  9. #9
    DCEmu Newbie
    Join Date
    Jan 2008
    Posts
    18
    Rep Power
    0

    Default

    Because it is across the house, and I can't move it to where my internet connection is. I do have a wireless router, and the linux PC has a wireless card in it, but it never finds the network. And I know the router works fine, because I connect to it regularly on my PSP for online play.

  10. #10
    DCEmu Old Pro Wally's Avatar
    Join Date
    Oct 2005
    Posts
    1,170
    Rep Power
    75

    Default

    maybe you haven't set linux up properly, or it doesnt support the wireless card.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

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
  •