Jump to content

Theos compiling error


ubyt3x

5 posts in this topic

Recommended Posts

Posted

I have both the 10.3 & 12.2 (from https://github.com/DavidSkrundz/sdks) SDK's located inside the sdks folder.

When running make package (install), I get this error that exits the compiling:

clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/theos/makefiles/instance/library.mk:33: /var/root/untispremiumhack/.theos/obj/arm64/UntisPremiumHack.dylib] Error 1
rm /var/root/untispremiumhack/.theos/obj/arm64/Tweak.xm.mm
make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/root/untispremiumhack/.theos/obj/arm64/UntisPremiumHack.dylib] Error 2
make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2
make: *** [/var/theos/makefiles/master/rules.mk:111: UntisPremiumHack.all.tweak.variables] Error 2

RGC7IO5.png

 

My Makefile:

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
#THEOS_PACKAGE_DIR_NAME = debs
PACKAGE_BUILDNAME = iOSGods.com
#DEBUG = 0
FINALPACKAGE = 1
FOR_RELEASE = 1
#GO_EASY_ON_ME = 1

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = UntisPremiumHack
UntisPremiumHack_FILES = Tweak.xm
UntisPremiumHack_FRAMEWORKS = UIKit
UntisPremiumHack_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk


SUBPROJECTS += UntisPremiumHackSettings # To compile your project as a Tweak only, comment out or remove this line.include $(THEOS_MAKE_PATH)/aggregate.mk

 

I'm using the iOSGods template, but the error is also there with the default tweak template.

Any help is appreciated, as I'm new into theos.

Posted

Removed it, thanks. But now I'm stuck with this:

make package
> Making all for tweak UntisPro
==> Linking tweak UntisPro (arm64)…
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libobjc.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libobjc.tbd  
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbd
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//UIKit.framework/UIKit.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//UIKit.framework/UIKit.tbd
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libc++.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libc++.tbd    
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libSystem.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Security.framework/Security.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Security.framework/Security.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Metal.framework/Metal.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Metal.framework/Metal.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CFNetwork.framework/CFNetwork.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CFNetwork.framework/CFNetwork.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//IOSurface.framework/IOSurface.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//IOSurface.framework/IOSurface.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreVideo.framework/CoreVideo.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreVideo.framework/CoreVideo.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//FileProvider.framework/FileProvider.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//FileProvider.framework/FileProvider.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreImage.framework/CoreImage.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreImage.framework/CoreImage.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//OpenGLES.framework/OpenGLES.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//OpenGLES.framework/OpenGLES.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreText.framework/CoreText.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreText.framework/CoreText.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//ImageIO.framework/ImageIO.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//ImageIO.framework/ImageIO.tbd
Undefined symbols for architecture arm64:
  "_CFNotificationCenterAddObserver", referenced from:
      subscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
      initialize() in Tweak.xm.44da8f9b.o
  "_CFNotificationCenterGetLocalCenter", referenced from:
      subscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
      didFinishLaunching(__CFNotificationCenter*, void*, __CFString const*, void const*, __CFDictionary const*) in Tweak.xm.44da8f9b.o
      unsubscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
      initialize() in Tweak.xm.44da8f9b.o
  "_CFNotificationCenterRemoveObserver", referenced from:
      didFinishLaunching(__CFNotificationCenter*, void*, __CFString const*, void const*, __CFDictionary const*) in Tweak.xm.44da8f9b.o
      unsubscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
  "_OBJC_CLASS_$_NSURL", referenced from:
      objc-class-ref in Tweak.xm.44da8f9b.o
  "_OBJC_CLASS_$_UIAlertAction", referenced from:
      objc-class-ref in Tweak.xm.44da8f9b.o
  "_OBJC_CLASS_$_UIAlertController", referenced from:
      objc-class-ref in Tweak.xm.44da8f9b.o
  "_OBJC_CLASS_$_UIApplication", referenced from:
      objc-class-ref in Tweak.xm.44da8f9b.o
  "_UIApplicationDidFinishLaunchingNotification", referenced from:
      subscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
      didFinishLaunching(__CFNotificationCenter*, void*, __CFString const*, void const*, __CFDictionary const*) in Tweak.xm.44da8f9b.o
      unsubscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
      initialize() in Tweak.xm.44da8f9b.o
  "__NSConcreteGlobalBlock", referenced from:
      ___block_literal_global in Tweak.xm.44da8f9b.o
      ___block_literal_global.19 in Tweak.xm.44da8f9b.o
      ___block_literal_global.27 in Tweak.xm.44da8f9b.o
      ___block_literal_global.29 in Tweak.xm.44da8f9b.o
  "___CFConstantStringClassReference", referenced from:
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      ...
  "___NSDictionary0__", referenced from:
      ____Z5setupv_block_invoke in Tweak.xm.44da8f9b.o
      ____Z5setupv_block_invoke_3 in Tweak.xm.44da8f9b.o
  "__dyld_get_image_header", referenced from:
      hasASLR() in Tweak.xm.44da8f9b.o
      calculateAddress(long long) in Tweak.xm.44da8f9b.o
  "__dyld_get_image_vmaddr_slide", referenced from:
      get_slide() in Tweak.xm.44da8f9b.o
      calculateAddress(long long) in Tweak.xm.44da8f9b.o
  "_mach_task_self_", referenced from:
      vm_writeData(long long, unsigned int) in Tweak.xm.44da8f9b.o
  "_objc_getClass", referenced from:
      _logosLocalInit() in Tweak.xm.44da8f9b.o
  "_objc_msgSend", referenced from:
      setup() in Tweak.xm.44da8f9b.o
      ____Z5setupv_block_invoke in Tweak.xm.44da8f9b.o
      ____Z5setupv_block_invoke_3 in Tweak.xm.44da8f9b.o
  "_vm_protect", referenced from:
      vm_writeData(long long, unsigned int) in Tweak.xm.44da8f9b.o
  "_vm_write", referenced from:
      vm_writeData(long long, unsigned int) in Tweak.xm.44da8f9b.o
ld: symbol(s) not found for architecture arm64
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/theos/makefiles/instance/library.mk:33: /var/root/tweaks/untispro/.theos/obj/arm64/UntisPro.dylib] Error 1
make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/root/tweaks/untispro/.theos/obj/arm64/UntisPro.dylib] Error 2
make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2
make: *** [/var/theos/makefiles/master/rules.mk:111: UntisPro.all.tweak.variables] Error 2

 

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • ZakuzakuSlash +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: ZakuzakuSlash By nekosuko
      Bundle ID: jp.nekosuko.zakuzakuslash
      App Store Link: https://apps.apple.com/us/app/zakuzakuslash/id6749934570?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - XP Multiplier
      - Unlimited Gold -> Will increase instead of decrease.
      • 0 replies
    • Piggy Land 3D v1.2.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
        • Like
      • 0 replies
    • Piggy Land 3D v1.2.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
      • 0 replies
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Jailed ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
        • Like
      • 1 reply
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Cheats ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
        • Like
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 APK MOD ] Currency Max
      Mod APK Game Name: Metal Slug Rush
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ringgames.msm

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Agree
        • Like
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Thanks
        • Like
      • 3 replies
    • Metal Slug Rush v1.0.0 [ +9 jailed ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Agree
        • Like
      • 3 replies
    • Pixel Mage: Idle RPG +10 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Pixel Mage: Idle RPG By StreetComplete
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.streetcomplete.pixelmagician

       

      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
        • Thanks
        • Like
      • 0 replies
    • Pixel Mage: Idle RPG +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Pixel Mage: Idle RPG By YONGJIN JO
      Bundle ID: com.streetcomplete.pixelmagician
      App Store Link: https://apps.apple.com/us/app/pixel-mage-idle-rpg/id6741889270?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
        • Agree
        • Winner
        • Like
      • 10 replies
    • Toy Brawlers: Arena Fight +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Toy Brawlers: Arena Fight By Studıo Gamebıt Yazılım Ve Teknoloji Ltd. Şti.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.studiogamebit.toybrawlers

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Winner
      • 0 replies
    • Bullet Boy v41 [ +1 Cheats ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
        • Like
      • 0 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines