felix91gr / csdjournal Goto Github PK
View Code? Open in Web Editor NEWA Swift wrapper around Linux's `systemd-sdjournal` header
A Swift wrapper around Linux's `systemd-sdjournal` header
...
Linking ./.build/x86_64-unknown-linux/debug/langserver-swift
/usr/bin/ld.gold: error: /home/rlovelett/Source/langserver-swift/.build/x86_64-unknown-linux/debug/LanguageServer.build/main.swift.o: multiple definition of 'csd_journal_print'
/usr/bin/ld.gold: /home/rlovelett/Source/langserver-swift/.build/x86_64-unknown-linux/debug/BaseProtocol.build/Types/Request.swift.o: previous definition here
clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
<unknown>:0: error: link command failed with exit code 1 (use -v to see invocation)
error: terminated(1): /home/rlovelett/Source/swift-source/rlovelett-installation/usr/bin/swift-build-tool -f /home/rlovelett/Source/langserver-swift/.build/debug.yaml main output:
You get this error if you have two source files, e.g., main.swift
and Request.swift
, that both import CSDJournal
and make reference to csd_journal_print
.
I'm 99% sure this is due to the fact that shim.h
is not just a header file but also includes the function implementation (which is why it fails at link time).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.