Results 1 to 10 of 10
  1. #1
    EmuTalk Member mojo's Avatar
    Join Date
    Jul 2003
    Posts
    153

    Problem in compiling ver 0.5

    I tried to compile the src but I ended up with this msg:

    mojo@ubuntu:~/Desktop/mupen64_src-0.5$ ./configure
    *** Couldn't compile test program.
    *** Couldn't find a working C compiler!

    I find this problem very weird, I look through the script, it seems to me just to test out whether you have 'gcc' or not, if not it will use 'cc' instead. I am using Ubuntu Breezy Alpha 3, I checked carefully that my system has 'gcc-4.0' compiler installed. Firstly I thought it's gcc-4.0 fault, I installed the gcc-3.4 and gcc-3.3 but the problem still remains. Anyone has any idea?

    System: Dell GX280 SFF
    OS: 1. Windows XP Pro SP2
    2. Ubuntu Edgy
    3. MacOS X Tiger x86 10.4.8 Jess SSE3 Patched
    CPU: Intel Pentium 4 3.4 Ghz 1MB L2 cache
    Video: Dell OEM ATI X300 SE 128MB Low Profile
    Audio: AC97 On-board
    Optical: Dell OEM DVD/CD+/-RW & Floppy Drive Slimline
    HDD: 400GB 10,000RPM 16MB cache SATA150
    Net: Broadcom 100/1000 Mbps built-in


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    Moderator Hacktarux's Avatar
    Join Date
    Nov 2001
    Location
    France
    Posts
    1,174
    I though there was always at least a "gcc" symlink to call the compiler on linux... is it "cc" on your system ?

    i'll try to fix it, meanwhile, the easy fix for you is to edit the configure script and search these lines :
    Code:
    check_cc
    if [ "$?" -ne "0" ]; then
      echo "*** Couldn't find a working C compiler!"
      exit 1
    fi
    comment the exit line

    Then open the Makefile and replace gcc by cc

  3. #3
    EmuTalk Member mojo's Avatar
    Join Date
    Jul 2003
    Posts
    153
    Quote Originally Posted by Hacktarux
    I though there was always at least a "gcc" symlink to call the compiler on linux... is it "cc" on your system ?

    i'll try to fix it, meanwhile, the easy fix for you is to edit the configure script and search these lines :
    Code:
    check_cc
    if [ "$?" -ne "0" ]; then
      echo "*** Couldn't find a working C compiler!"
      exit 1
    fi
    comment the exit line

    Then open the Makefile and replace gcc by cc
    Ok, it works now, Great help. Thx.
    Last edited by mojo; September 7th, 2005 at 10:13.
    System: Dell GX280 SFF
    OS: 1. Windows XP Pro SP2
    2. Ubuntu Edgy
    3. MacOS X Tiger x86 10.4.8 Jess SSE3 Patched
    CPU: Intel Pentium 4 3.4 Ghz 1MB L2 cache
    Video: Dell OEM ATI X300 SE 128MB Low Profile
    Audio: AC97 On-board
    Optical: Dell OEM DVD/CD+/-RW & Floppy Drive Slimline
    HDD: 400GB 10,000RPM 16MB cache SATA150
    Net: Broadcom 100/1000 Mbps built-in

  4. #4
    Moderator Hacktarux's Avatar
    Join Date
    Nov 2001
    Location
    France
    Posts
    1,174
    Quote Originally Posted by mojo
    Ok, it works now, Great help. Thx.
    Ok i helped you but you didn't answer my question about your compiler, is it "cc" ? it'd be better if i could fix it for next release

  5. #5
    EmuTalk Member mojo's Avatar
    Join Date
    Jul 2003
    Posts
    153
    No, my is not 'cc'
    System: Dell GX280 SFF
    OS: 1. Windows XP Pro SP2
    2. Ubuntu Edgy
    3. MacOS X Tiger x86 10.4.8 Jess SSE3 Patched
    CPU: Intel Pentium 4 3.4 Ghz 1MB L2 cache
    Video: Dell OEM ATI X300 SE 128MB Low Profile
    Audio: AC97 On-board
    Optical: Dell OEM DVD/CD+/-RW & Floppy Drive Slimline
    HDD: 400GB 10,000RPM 16MB cache SATA150
    Net: Broadcom 100/1000 Mbps built-in

  6. #6
    Moderator Hacktarux's Avatar
    Join Date
    Nov 2001
    Location
    France
    Posts
    1,174
    Then, tell me what is it....

  7. #7
    EmuTalk Member mojo's Avatar
    Join Date
    Jul 2003
    Posts
    153
    Quote Originally Posted by Hacktarux
    Then, tell me what is it....
    it's 'gcc' on my system if I install the dummy 'gcc' package. If I dun install that dummy package, it's just 'gcc-3.3' or 'gcc-4.0'. There is no 'cc' command or 'cc' alias.
    System: Dell GX280 SFF
    OS: 1. Windows XP Pro SP2
    2. Ubuntu Edgy
    3. MacOS X Tiger x86 10.4.8 Jess SSE3 Patched
    CPU: Intel Pentium 4 3.4 Ghz 1MB L2 cache
    Video: Dell OEM ATI X300 SE 128MB Low Profile
    Audio: AC97 On-board
    Optical: Dell OEM DVD/CD+/-RW & Floppy Drive Slimline
    HDD: 400GB 10,000RPM 16MB cache SATA150
    Net: Broadcom 100/1000 Mbps built-in

  8. #8
    EmuTalk Member ciruZ's Avatar
    Join Date
    Nov 2003
    Location
    /root
    Posts
    220
    mojo: You should do an "export CC=gcc-3.3" on Ubuntu or install the gcc-Package which is a symlink on the used gcc version. Anyway, Mupen64 should respect $CC if set (if it doesn't yet).

  9. #9
    EmuTalk Member
    Join Date
    Aug 2005
    Location
    Poland
    Posts
    26
    Did you remember to do an
    env-update && source /etc/profile after each install of gcc?

  10. #10
    EmuTalk Member mojo's Avatar
    Join Date
    Jul 2003
    Posts
    153
    No, I didn't do any env-update, but isn't it auto-done for u in Ubuntu?
    System: Dell GX280 SFF
    OS: 1. Windows XP Pro SP2
    2. Ubuntu Edgy
    3. MacOS X Tiger x86 10.4.8 Jess SSE3 Patched
    CPU: Intel Pentium 4 3.4 Ghz 1MB L2 cache
    Video: Dell OEM ATI X300 SE 128MB Low Profile
    Audio: AC97 On-board
    Optical: Dell OEM DVD/CD+/-RW & Floppy Drive Slimline
    HDD: 400GB 10,000RPM 16MB cache SATA150
    Net: Broadcom 100/1000 Mbps built-in

Similar Threads

  1. Help!!! Problem with Direct64 0.5 ALPHA
    By mochabcha in forum Plugins
    Replies: 5
    Last Post: March 20th, 2005, 14:24
  2. TR64 OpenGL plugin ver 0.5 release
    By icepir8 in forum TR64
    Replies: 30
    Last Post: December 19th, 2003, 16:38
  3. Replies: 5
    Last Post: March 30th, 2003, 01:33
  4. TR64-Ogl plugin ver 0.5 src
    By icepir8 in forum TR64
    Replies: 9
    Last Post: June 13th, 2002, 02:41
  5. New TR64 OpenGl ver 0.5
    By icepir8 in forum TR64
    Replies: 9
    Last Post: June 5th, 2002, 22:21

Posting Permissions

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