Forum: Open Source & Homebrew Jailbreak - If you are looking for news and helpful information on PS3 topics like open source and homebrew jailbreak solutions then PSX-Scene should be your first stop. You can stay up to date on topics such as PSGroove and PSFreedom plus much more.


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: problems compiling psgroove for teensy2.0
  

Results 1 to 2 of 2
  1. #1 problems compiling psgroove for teensy2.0 
    bal8784 is offline Registered User
    Join Date
    Nov 2010
    Posts
    3
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    I am having problems compiling psgroove on ubuntu 9.10 from both evilsperm, and psgrooves github. I get the following errors when setting the Makefile.psgroove to Teensy 2.0 settings:

    Compiling C: psgroove.c
    avr-gcc -c -mmcu=atmega32u4 -I. -gdwarf-2 -DF_CPU=16000000UL -DF_CLOCK=16000000UL -DBOARD=BOARD_TEENSY -D USB_DEVICE_ONLY -D FIXED_CONTROL_ENDPOINT_SIZE=8 -D USE_FLASH_DESCRIPTORS -D MEMSPACE_FLASH=0 -D MEMSPACE_EEPROM=1 -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=./psgroove.lst -Ilufa-lib/trunk/ -std=c99 -MMD -MP -MF .dep/psgroove.o.d psgroove.c -o psgroove.o
    psgroove.c: In function ‘SetupHardware’:
    psgroove.c:136: warning: implicit declaration of function ‘clock_prescale_set’
    psgroove.c:136: error: ‘clock_div_1’ undeclared (first use in this function)
    psgroove.c:136: error: (Each undeclared identifier is reported only once
    psgroove.c:136: error: for each function it appears in.)
    make[1]: *** [psgroove.o] Error 1
    make[1]: Leaving directory `/hermes'
    make: *** [all] Error 2



    It seems to work fine when I use the settings for a Teensy 1.0 or 2.0++

    Any ideas on what i am missing?
    Last edited by bal8784; 12-30-2010 at 07:18 PM.
    Reply With Quote  

  2. #2  
    bal8784 is offline Registered User
    Join Date
    Nov 2010
    Posts
    3
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    So I managed to get it working and compiled and loaded it to my teensy 2.0 and its working correctly.

    Heres the solution I used incase anyone else is interested:

    On ubuntu 9.10
    Modify /usr/lib/avr/include/avr/power.h to include this line to the other list of "defined" AVRs:
    || defined(__AVR_ATmega32U4__) \
    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
  •