Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

clang: error: unknown argument: '-install_namelibmsp430.dylib' #1

Open
hazelPhd opened this issue Dec 24, 2019 · 1 comment
Open

clang: error: unknown argument: '-install_namelibmsp430.dylib' #1

hazelPhd opened this issue Dec 24, 2019 · 1 comment

Comments

@hazelPhd
Copy link

When I'm trying to install the head I get this error:

Last 15 lines from /Users/Soos/Library/Logs/Homebrew/msp-ds/01.make: clang++ -c -o DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA/EnergyTraceRunningAverageFilter.o DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA/EnergyTraceRunningAverageFilter.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o DLL430_v3/src/TI/DLL430/logging/Logging.o DLL430_v3/src/TI/DLL430/logging/Logging.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o DLL430_v3/src/TI/DLL430/DeviceDb/Database.o DLL430_v3/src/TI/DLL430/DeviceDb/Database.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o DLL430_v3/src/TI/DLL430/DeviceDb/chipinfo.o DLL430_v3/src/TI/DLL430/DeviceDb/chipinfo.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o DLL430_v3/src/TI/DLL430/DeviceDb/exportxml.o DLL430_v3/src/TI/DLL430/DeviceDb/exportxml.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o DLL430_v3/src/TI/DLL430/DeviceDb/fromxml.o DLL430_v3/src/TI/DLL430/DeviceDb/fromxml.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o DLL430_v3/src/TI/DLL430/DeviceDb/loadxml.o DLL430_v3/src/TI/DLL430/DeviceDb/loadxml.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o DLL430_v3/src/TI/DLL430/DeviceDb/ziparchive.o DLL430_v3/src/TI/DLL430/DeviceDb/ziparchive.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o DLL430_v3/src/TI/DLL430/MSP432/DebugManagerArm.o DLL430_v3/src/TI/DLL430/MSP432/DebugManagerArm.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o DLL430_v3/src/TI/DLL430/MSP432/DeviceHandleArm.o DLL430_v3/src/TI/DLL430/MSP432/DeviceHandleArm.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o DLL430_v3/src/TI/DLL430/warnings/Warnings.o DLL430_v3/src/TI/DLL430/warnings/Warnings.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -c -o ThirdParty/src/pugixml.o ThirdParty/src/pugixml.cpp -include ./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430 -I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA -I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL -I/usr/local/opt/boost/include -DUNIX -DNDEBUG clang++ -fPIC -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -Os -shared -install_namelibmsp430.dylib -o libmsp430.dylib ./DLL430_v3/src/TI/DLL430/EEM/CycleCounter.o ./DLL430_v3/src/DLL430_OldApiV3.o ./DLL430_v3/src/DLL430_capi.o ./DLL430_v3/src/DLL430_dllmain.o ./DLL430_v3/src/TI/DLL430/ArmCpuMemoryAccess.o ./DLL430_v3/src/TI/DLL430/ArmFlashMemoryAccess.o ./DLL430_v3/src/TI/DLL430/ArmRandomMemoryAccess.o ./DLL430_v3/src/TI/DLL430/ArmSpecialFlashMemoryAccess.o ./DLL430_v3/src/TI/DLL430/ClockCalibration.o ./DLL430_v3/src/TI/DLL430/ConfigManager.o ./DLL430_v3/src/TI/DLL430/CpuMemoryAccess.o ./DLL430_v3/src/TI/DLL430/DebugManagerMSP430.o ./DLL430_v3/src/TI/DLL430/DeviceHandleMSP430.o ./DLL430_v3/src/TI/DLL430/DeviceHandleManager.o ./DLL430_v3/src/TI/DLL430/EemMemoryAccess.o ./DLL430_v3/src/TI/DLL430/FetControl.o ./DLL430_v3/src/TI/DLL430/FetControlThread.o ./DLL430_v3/src/TI/DLL430/FetHandle.o ./DLL430_v3/src/TI/DLL430/FetHandleManagerImpl.o ./DLL430_v3/src/TI/DLL430/FileReader.o ./DLL430_v3/src/TI/DLL430/FileReaderIntel.o ./DLL430_v3/src/TI/DLL430/FileReaderTI.o ./DLL430_v3/src/TI/DLL430/FileWriter.o ./DLL430_v3/src/TI/DLL430/FileWriterIntel.o ./DLL430_v3/src/TI/DLL430/FileWriterTI.o ./DLL430_v3/src/TI/DLL430/FlashMemoryAccessBase.o ./DLL430_v3/src/TI/DLL430/FramMemoryAccessBase.o ./DLL430_v3/src/TI/DLL430/FramMemoryAccessFRx9.o ./DLL430_v3/src/TI/DLL430/HalExecBuffered.o ./DLL430_v3/src/TI/DLL430/HalExecCommand.o ./DLL430_v3/src/TI/DLL430/HalExecElement.o ./DLL430_v3/src/TI/DLL430/HalResponse.o ./DLL430_v3/src/TI/DLL430/HidUpdateManager.o ./DLL430_v3/src/TI/DLL430/IoChannel.o ./DLL430_v3/src/TI/DLL430/IoChannelFactory.o ./DLL430_v3/src/TI/DLL430/LockableRamMemoryAccess.o ./DLL430_v3/src/TI/DLL430/MainMemoryAccessBase.o ./DLL430_v3/src/TI/DLL430/MemoryAreaBase.o ./DLL430_v3/src/TI/DLL430/MemoryAreaFactory.o ./DLL430_v3/src/TI/DLL430/MemoryContent.o ./DLL430_v3/src/TI/DLL430/MemoryManager.o ./DLL430_v3/src/TI/DLL430/MessageData.o ./DLL430_v3/src/TI/DLL430/MpuFRx.o ./DLL430_v3/src/TI/DLL430/PinSequence.o ./DLL430_v3/src/TI/DLL430/PollingManager.o ./DLL430_v3/src/TI/DLL430/RandomMemoryAccess.o ./DLL430_v3/src/TI/DLL430/Record.o ./DLL430_v3/src/TI/DLL430/RegisterAccessBase.o ./DLL430_v3/src/TI/DLL430/SpecialMemoryTypes.o ./DLL430_v3/src/TI/DLL430/TinyRandomMemoryAccess.o ./DLL430_v3/src/TI/DLL430/UpdateManagerDummy.o ./DLL430_v3/src/TI/DLL430/UpdateManagerFet.o ./DLL430_v3/src/TI/DLL430/UpdateManagerMSP_FET430.o ./DLL430_v3/src/TI/DLL430/UsbCdcIoChannel.o ./DLL430_v3/src/TI/DLL430/UsbIoChannel.o ./DLL430_v3/src/TI/DLL430/VersionInfo.o ./DLL430_v3/src/TI/DLL430/WatchdogControl.o ./DLL430_v3/src/TI/DLL430/WriteProtection.o ./DLL430_v3/src/TI/DLL430/pch.o ./DLL430_v3/src/TI/DLL430/EM/BreakpointManager/Breakpoint430.o ./DLL430_v3/src/TI/DLL430/EM/BreakpointManager/Breakpoint432.o ./DLL430_v3/src/TI/DLL430/EM/BreakpointManager/BreakpointManager430.o ./DLL430_v3/src/TI/DLL430/EM/BreakpointManager/BreakpointManager432.o ./DLL430_v3/src/TI/DLL430/EM/CycleCounter/CycleCounter430.o ./DLL430_v3/src/TI/DLL430/EM/EemRegisters/EemRegisterAccess430.o ./DLL430_v3/src/TI/DLL430/EM/EemRegisters/EemRegisterAccess432.o ./DLL430_v3/src/TI/DLL430/EM/EmulationManager/EmulationManager430.o ./DLL430_v3/src/TI/DLL430/EM/EmulationManager/EmulationManager430Create.o ./DLL430_v3/src/TI/DLL430/EM/EmulationManager/EmulationManager432.o ./DLL430_v3/src/TI/DLL430/EM/EmulationManager/EmulationManager432Create.o ./DLL430_v3/src/TI/DLL430/EM/Exceptions/Exceptions.o ./DLL430_v3/src/TI/DLL430/EM/Sequencer/Sequencer430.o ./DLL430_v3/src/TI/DLL430/EM/SoftwareBreakpoints/SoftwareBreakpointManager.o ./DLL430_v3/src/TI/DLL430/EM/SoftwareBreakpoints/SoftwareBreakpoints430.o ./DLL430_v3/src/TI/DLL430/EM/StateStorage430/StateStorage430.o ./DLL430_v3/src/TI/DLL430/EM/Trace/Trace430.o ./DLL430_v3/src/TI/DLL430/EM/Trigger/DataAddressTrigger432.o ./DLL430_v3/src/TI/DLL430/EM/Trigger/DataTrigger432.o ./DLL430_v3/src/TI/DLL430/EM/Trigger/DataValueTrigger432.o ./DLL430_v3/src/TI/DLL430/EM/Trigger/Trigger430.o ./DLL430_v3/src/TI/DLL430/EM/Trigger/Trigger432.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/AddressCondition430.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/AddressCondition432.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/AddressRangeCondition430.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/DataAddressCondition432.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/DataRangeCondition430.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/DataValueCondition430.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/DataValueCondition432.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/RegisterCondition430.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/SoftwareTriggerCondition430.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/TriggerCondition430.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/TriggerConditionManager430.o ./DLL430_v3/src/TI/DLL430/EM/TriggerCondition/TriggerConditionManager432.o ./DLL430_v3/src/TI/DLL430/EM/TriggerManager/TriggerConfigurator430.o ./DLL430_v3/src/TI/DLL430/EM/TriggerManager/TriggerManager430.o ./DLL430_v3/src/TI/DLL430/EM/TriggerManager/TriggerManager432.o ./DLL430_v3/src/TI/DLL430/EM/VariableWatch/VariableWatch430.o ./DLL430_v3/src/TI/DLL430/EM/VariableWatch/WatchedVariable430.o ./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA/EnergyTraceJstateParser.o ./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA/EnergyTraceManager.o ./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA/EnergyTraceProcessor.o ./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA/EnergyTraceProcessorId7.o ./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA/EnergyTraceProcessorId8.o ./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA/EnergyTraceRunningAverageFilter.o ./DLL430_v3/src/TI/DLL430/logging/Logging.o ./DLL430_v3/src/TI/DLL430/DeviceDb/Database.o ./DLL430_v3/src/TI/DLL430/DeviceDb/chipinfo.o ./DLL430_v3/src/TI/DLL430/DeviceDb/exportxml.o ./DLL430_v3/src/TI/DLL430/DeviceDb/fromxml.o ./DLL430_v3/src/TI/DLL430/DeviceDb/loadxml.o ./DLL430_v3/src/TI/DLL430/DeviceDb/ziparchive.o ./DLL430_v3/src/TI/DLL430/MSP432/DebugManagerArm.o ./DLL430_v3/src/TI/DLL430/MSP432/DeviceHandleArm.o ./DLL430_v3/src/TI/DLL430/warnings/Warnings.o ./ThirdParty/src/pugixml.o -L./ThirdParty/lib64 -L/usr/local/opt/boost/lib -lboost_filesystem -lboost_system -lbsl430 -lboost_date_time -lboost_chrono -lboost_thread-mt -framework CoreFoundation -framework IOKit -lhidapi clang: error: unknown argument: '-install_namelibmsp430.dylib' make: *** [all] Error 1

Any idea how to fix it?

Thank you.

@tgtakaoka
Copy link
Owner

Sorry for the late response, since I didn't maintain this project at all.
But as long as I tried on

  • Macmini4,1
  • macOS 10.13.6

The command brew install --HEAD -v msp-ds finished without error. The error message

clang: error: unknown argument: '-install_namelibmsp430.dylib'

looks suspicious to me.It seems something weird happened on while brew/make working. Can you retry the whole process after cleaning up?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants