Forum: Official NEOCD/PS2 Forums - The official messageboard to the NeoCD/SDL port to the PlayStation2.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Compiling NEOCD
  

Results 1 to 7 of 7
  1. #1 Compiling NEOCD 
    Fisher's Avatar
    Fisher is offline Member
    Join Date
    Jun 2011
    Location
    Alegrete - RS, Brazil
    Posts
    53
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    I'm just having trouble while trying to compile NEOCD.
    I get an ERROR collect: ld returned 1 exit status.
    A bit before this error it says: ld cannot find -lx68k.
    x68k.o is on the path, any clues of what is wrong?
    I'm using the same virtual machine I use to compile OPL, I think I got it from some were around here.
    Reply With Quote  

  2. #2  
    Fisher's Avatar
    Fisher is offline Member
    Join Date
    Jun 2011
    Location
    Alegrete - RS, Brazil
    Posts
    53
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Anyone??
    Reply With Quote  

  3. #3  
    SP193's Avatar
    SP193 is offline The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,992
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    232
    From what I know about GCC, that line is used to link your project to the "x68k" library.

    That probably means that you have to either get a binary copy of that library or compile it yourself, and place it in the right place (Usually in the compiler's library folder).
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

  4. #4  
    Fisher's Avatar
    Fisher is offline Member
    Join Date
    Jun 2011
    Location
    Alegrete - RS, Brazil
    Posts
    53
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Pretty weird!!
    I have the source code of this object, and it's being compiled.
    Just the linker cannot find it (I think).
    I'll try again later, see if the same error happens in a different VM.
    Reply With Quote  

  5. #5  
    SP193's Avatar
    SP193 is offline The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,992
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    232
    No no no. I don't mean that the linker is trying to link with the compiled object ("x68k.o" in your case).

    I meant to say that it's trying to link against a compiler library, probably named "x68k.lib".
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

  6. #6  
    KarasQ is offline Member
    Join Date
    Feb 2009
    Location
    Poland
    Posts
    35
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    4
    Indeed, ld cannot find -lx68k means there is no libx68k.a or libx68k.lib in standard and provided locations, so you have to compile this library before, to finish linking process. Could you please write the version of source code or give the link? I checked Makefile of version 0.6c and there is no any -lx68k, but there is -lcpu_68k, so you probably try to compile outdated source code.
    Reply With Quote  

  7. #7  
    Fisher's Avatar
    Fisher is offline Member
    Join Date
    Jun 2011
    Location
    Alegrete - RS, Brazil
    Posts
    53
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Sorry for the long delay.
    I'm just enjoying some little vacations, and I'm not doing anything usefull (well, quite).
    I think you're right. It's difficult to say with sure right now wich version I was trying to compile, but I remember to have downloaded v0.5.
    When I arrive home I'll take a look. Wish I can count with your support to learn a lot of things and do something usefull to all of us.
    Many thanks!
    Reply With Quote  

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