Homebrew [Tutorial] Setting up Pegaswitch and Preparing for Homebrew

wiired24

Developer
Developer
Joined
Sep 3, 2013
Messages
1,119
Trophies
1
Age
29
Location
Dev_Home
XP
3,500
Country
United States
For anyone else experiencing this error

Makefile:58: recipe for target 'build/test/test_malloc.nro.so' failed
make: *** [build/test/test_malloc.nro.so] Error 127

I found the solution. I was in fact missing lld even when I thought it was installed. To be on the safe side make sure that you compile and install LLD from source. For some reason the upstream package didn't seem to install it. You can follow these instructions to build and install LLD manually. http://lld.llvm.org/
 
  • Like
Reactions: machinoman
D

Deleted User

Guest
i agree with you but honestly I followed a tut already posted. In the days to come I imagine there will be a need for a dedicated tut though. The thing that puzzles me though is I remember it going fairly painless. I suppose I will need a test box to see what's causing issues. So far I am able to do the flog time trigger and the hello world nro posted without issue so I can confirm working but no clue on what causes issues. I know I generally have my firewall off and never needed to add any ports to my router...when I get home I will check my windows build#

build 15063.726 64bit Windows 10 Home
 
Last edited by ,
  • Like
Reactions: ShadowOne333

machinoman

Well-Known Member
Member
Joined
Feb 12, 2011
Messages
322
Trophies
0
XP
611
Country
United States
For anyone else experiencing this error

Makefile:58: recipe for target 'build/test/test_malloc.nro.so' failed
make: *** [build/test/test_malloc.nro.so] Error 127

I found the solution. I was in fact missing lld even when I thought it was installed. To be on the safe side make sure that you compile and install LLD from source. For some reason the upstream package didn't seem to install it. You can follow these instructions to build and install LLD manually. http://lld.llvm.org/

i just saw you post this and its 24% installed, glad to know it will help!

EDIT: I ran into one more snag after this for not installing lz4 correctly. I resolved it by doing this:

sudo apt install python-pip
pip install lz4

If this was mentioned elsewhere, sorry. I am lazy to look around and lz4 was too short to search.
 
Last edited by machinoman,

machinoman

Well-Known Member
Member
Joined
Feb 12, 2011
Messages
322
Trophies
0
XP
611
Country
United States
No answer ?

PegaSwitch works with any version below 3.0.1, I believe. Rohan (through PegaSwitch) only works with 3.0.0. In my opinion, there really are no downsides to upgrading to 3.0.0, using Pokken. People say if they wait, lower firmwares may also have an exploit, but I don't understand this notion. Lower firmwares are compatible with less games, and an exploit already exists for 3.0.0. I cannot think of a reason to stay below 3.0.0, besides waiting for Pokken's price to go down. Some even prefer to stay at 1.0.0, but I think that is mostly for show. I cannot think of a single device that is best exploited at its launch version.
 

wiired24

Developer
Developer
Joined
Sep 3, 2013
Messages
1,119
Trophies
1
Age
29
Location
Dev_Home
XP
3,500
Country
United States
If anyone is having issues installing the package "lz4" via Pip.
Make sure you have the python-dev package installed.

Code:
sudo apt-get install python-dev
 

veekay

Well-Known Member
Member
Joined
Jan 30, 2008
Messages
227
Trophies
1
XP
807
Country
United States
So, apparently my main issue is I'm so used to working as root/su that when I got to the git clone for pegaswitch it was going in the wrong location.

Running the commands as a normal user and everything worked fine.

I ended up just throwing together a dedicated Ubuntu machine before figuring out the su mistake.
 
  • Like
Reactions: Masterwin

Kerbangman

Well-Known Member
Member
Joined
Sep 19, 2016
Messages
525
Trophies
0
Age
62
XP
700
Country
I had problems entering the bash alias so made an alias file.

gedit ~/.bash_aliases

enter this line and save

alias pegaswitch='cd ~/pegaswitch; sudo node start.js'
 

Randall Stevens

Not a fan of stupid people
Member
Joined
Oct 5, 2003
Messages
99
Trophies
0
Location
Alderaan (post war)
XP
526
Country
Hong Kong
What ever happened to this hacking shit working on any firmware, UP TO 3.0...? I'm not rebuying Pokken, which is a shite game, when the earlier firmwares are exploitable as well...

Why don't you rent it? Sign up for a free 30 day GameFly, update, return game, done.

Just did this myself and I'm all set. Membership cancelled, no $$ spent.
 

Thirty3Three

Musician Member
Banned
Joined
Mar 22, 2013
Messages
3,956
Trophies
0
Location
Wherever you want me, baby.
XP
2,605
Country
United States
Why don't you rent it? Sign up for a free 30 day GameFly, update, return game, done.

Just did this myself and I'm all set. Membership cancelled, no $$ spent.
Can't check my mailbox. I can't get mail. I mean, if it's on redbox, sure. I'll check and see. But why is it 3.0 only when other firmwares are vulnerable?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    you go bro
    +1
  • BakerMan @ BakerMan:
    i know, i know, i'm late
  • Sicklyboy @ Sicklyboy:
    @BigOnYa, I'll rip a bag off my Volcano to that, brother
    +2
  • a_username_that_is_cool @ a_username_that_is_cool:
    DDDS . Dual Developer Dedede System :)
    +1
  • BakerMan @ BakerMan:
    also happy birthday @Xdqwerty
    +1
  • BigOnYa @ BigOnYa:
    Is it me you're looking for?
  • MysticStarlight @ MysticStarlight:
    'Cause I wonder where you are
  • MysticStarlight @ MysticStarlight:
    wait I got the lyrics mixed up
    +1
  • BigOnYa @ BigOnYa:
    And I wonder what you do...Lol
  • BigOnYa @ BigOnYa:
    Its all good, I'm here to talk to you.
  • BigOnYa @ BigOnYa:
    Hello
  • BigOnYa @ BigOnYa:
    I've been playing fallout4 all day, I went into a elevator and it kept going, never stopped, waited 5 minutes, must of been a bug. How bout you, whatcha do today?
    +1
  • MysticStarlight @ MysticStarlight:
    I'm wondering why a stray tuxedo cat has a cloudy eye
  • MysticStarlight @ MysticStarlight:
    I've been playing TOTK all day also
    +1
  • MysticStarlight @ MysticStarlight:
    Oh you reminded me of those elevator nightmares
  • BigOnYa @ BigOnYa:
    Awesome game, fun how they force you to build, but you can build as you want
  • MysticStarlight @ MysticStarlight:
    It is super fun, I actually prefer it over BoTW
    +1
  • BigOnYa @ BigOnYa:
    The guy holding the sign always cracked me up, esp when you fail, and it falls
  • MysticStarlight @ MysticStarlight:
    Ah yes, that guy lol. I still need to find all his signs. The game has a lot to do though so I don't know what to finish first
  • MysticStarlight @ MysticStarlight:
    I'm 120 hours in and am still like 44.4% done
    +1
  • BigOnYa @ BigOnYa:
    Good times. Building is starting to get good around now for you. You making me want to make run thru again.
  • BigOnYa @ BigOnYa:
    Ok good chatting, enjoy your gaming, and avoid the lightning, or put your sword away. Good night.
    Veho @ Veho: https://i.imgur.com/E1U7Nlt.mp4 +1