Indeed, I visited the page you cite while trying to pin down this problem.
However, I am fairly certain that in my case it is a weird side effect, not
a root cause: I get that message when compiling my Clojure file if I try to
call a function which is defined later in the file. If I move the
If you can create a small, reproducible test case (that does not require
Leiningen), please file a ticket.
On Monday, August 3, 2015 at 9:27:47 AM UTC-5, James Elliott wrote:
Indeed, I visited the page you cite while trying to pin down this problem.
However, I am fairly certain that in my
Wow, that is a challenge, Alex! I would have no idea how to even compile a
project without Leiningen. If I ever am not using 200% of my free time working
on these projects, I may try to research that. I am afraid it may be some time,
though. I was just hoping this was a known issue with know
On Monday, August 3, 2015 at 9:27:47 AM UTC-5, James Elliott wrote:
Indeed, I visited the page you cite while trying to pin down this problem.
However, I am fairly certain that in my case it is a weird side effect, not
a root cause: I get that message when compiling my Clojure file if I try
On Monday, August 3, 2015 at 9:47:10 AM UTC-5, James Elliott wrote:
Wow, that is a challenge, Alex! I would have no idea how to even compile a
project without Leiningen. If I ever am not using 200%
I think you can do this with compile
https://clojuredocs.org/clojure.core/compile and then
Yay, this is the kind of insight I was hoping for! ^_^
On Monday, August 3, 2015 at 9:49:17 AM UTC-5, Mars0i wrote:
Ah--if that's the problem, it sounds familiar. Try doing 'lein clean'
before 'lein compile' and see whether you get the same error. That's
assuming you have
You can just use the clojure.core/compile function to compile. There is a
simple example at http://clojure.org/compilation.
I have not seen or experienced a linkage error like this before and I'm not
aware of any ticket like this. Generally a linkage error indicates you are
seeing the wrong
Thanks, Alex, I will give this a try the next time I run into this. Given a
little distance from the problem, and the insights that you and Mars0i have
been sharing, I have a clearer picture of what was going on at compile
time. I suspect the problem is something along these lines: Leiningen
I don't have anything helpful to say, but: I've often gotten a useful
stacktrace from compile-time errors using 'lein compile' with :gen-class.
Not always. Sometimes I have to use the guess-and-comment-out method. So
I think that whatever's happening is not just an issue with compilation of