AwesomeIndustry / SIMLessPNRGateway

[Public version] iMessage phone number registration on Android devices, without a separate SIM card!
50 stars 6 forks source link

unable to make PNRSender: undefined symbols for architecture arm64 #4

Closed Supposedly-Sam closed 11 months ago

Supposedly-Sam commented 1 year ago

ld: warning: ignoring file /home/sam/theos/lib/libmryipc.dylib, building for iOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x40 0x69 0x6E 0x74 0x65 0x72 0x66 0x61 0x63 0x65 0x20 0x4D 0x52 0x59 0x49 0x50 ) Undefined symbols for architecture arm64: "_OBJCCLASS$MRYIPCCenter", referenced from: objc-class-ref in Tweak.x.019e5e8c.o ld: symbol(s) not found for architecture arm64 clang-11: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: [/home/sam/theos/makefiles/instance/library.mk:52: /home/sam/SIMLessPNRGateway/pnrsender/.theos/obj/debug/arm64/PNRSender.dylib] Error 1 make[2]: [/home/sam/theos/makefiles/instance/library.mk:52: /home/sam/SIMLessPNRGateway/pnrsender/.theos/obj/debug/arm64/PNRSender.dylib] Error 2 make[1]: *** [/home/sam/theos/makefiles/instance/library.mk:37: internal-library-all] Error 2 make: *** [/home/sam/theos/makefiles/master/rules.mk:152: PNRSender.all.tweak.variables] Error 2

AwesomeIndustry commented 1 year ago

Just noticed your working dir is in /home/--are you trying to build on linux?

Supposedly-Sam commented 1 year ago

yeah, im using wsl

Supposedly-Sam commented 1 year ago

Should I try to build this on my mac?

AwesomeIndustry commented 1 year ago

Yeah, that'll probably work better if you have access to a mac. I'm working on setting it up in WSL right now too

AwesomeIndustry commented 1 year ago

Huh, just installed it in WSL (Ubuntu 20.04.2 LTS) and it compiled just fine after installing MRYIPC in Theos. What WSL version are you using?

Supposedly-Sam commented 1 year ago

Ubuntu 22.04.1 LTS

Supposedly-Sam commented 1 year ago

what version of MRYIPC are you using (did you git clone MRYIPC and copy from there)

AwesomeIndustry commented 1 year ago

Yeah, I just downloaded the latest version

Supposedly-Sam commented 1 year ago

Couldn't you just upload the pnrsender deb as a release now that you don't need to modify the code with your phonenumber?

AwesomeIndustry commented 1 year ago

Oh, I thought I'd already uploaded it to releases. Should be fixed now

Supposedly-Sam commented 1 year ago

I hadn't checked

AwesomeIndustry commented 1 year ago

That's really strange--I just installed Ubuntu 22.04.2 LTS in WSL and I'm still not getting any compilation errors. Do you have WSL 2 turned on?

Supposedly-Sam commented 1 year ago

Yes