<trilader> Hi, are there known compilation problems with lmms 0.4.13
and gcc 4.7.0? I got an error with the SynSubAddFx plugin.
<Orpheon> uhh
<Orpheon> no
<Orpheon> I'd like to see that error
<Orpheon> can you paste it somewhere?
<trilader> yeah
<trilader> system info: http://pastebin.com/VHM4wZSa
<trilader> part of build log with error: http://pastebin.com/EXnUdhpJ
---
I disconnected
---
<trilader> Orpheon: did you get the info before you left and rejoined
a while ago?
<Orpheon> oh yeah
<Orpheon> just didn't look at it
<Orpheon> looking now
<trilader> ok, i can also send you the whole build log if you need it
<Orpheon> hmm
<Orpheon> no
<Orpheon> I have never seen this before
<Orpheon> I can give you a compiled ZASF lib, if you want
<trilader> well if it works elsewhere with gcc 4.7 it might as well be
a gentoo specific bug
<Orpheon> do you know anything about unlink?
<Orpheon> like, do you happen to know whether it's a built-in C++ command?
<Orpheon> because ZASF doesn't define it
<trilader> i have no idea where its coming from but it works on the
same system with gcc 4.5.4
<Orpheon> uh, what
<Orpheon> ok
<Orpheon> this is far beyond me then
<Orpheon> are there any warnings or similar stuff happening before this error?
<trilader> hmm well a quick google search shows that unlink is a
function in unistd.h
<trilader> that is the only error reported by the build system before
aborting. i don't know if there are more
<Orpheon> ok
<Orpheon> looking through the ZASF source shows nothing of such an include
<Orpheon> maybe this is a mistake that got hidden with the old gcc
<Orpheon> or something
<gurrag> why does LMMS drop so many notes
<gurrag> i.e. when CPU usage is high
<Orpheon> try adding #include <unistd.h> in
src/plugins/zynaddsubfx/RemoteZynAddSubFX.cpp
<Orpheon> gurrag, no idea
<trilader> ok
<Orpheon> wait no, forget the first src
<Orpheon> just lmms/plugins/etc..
<trilader> didn't help
<Orpheon> oh, I'm an idiot
<Orpheon> in LocalZynAddSubFX.cpp
<Orpheon> of course
<trilader> i am trying something else first.
<trilader> but if that does not work i'll try that
<trilader> ok, that did the trick. it works now
<Orpheon> ok
<Orpheon> the whole compilation?
<Orpheon> or did something else jump in the way?
<trilader> the plugin was the only thing left to do, everythin else is done
<trilader> cmake reports 100%
<Orpheon> and does it work?
<trilader> i'll test with the package system now
<trilader> well playing some demo songs works
<Orpheon> try fiddling around with some ZASF controls
<trilader> looks ok to me, but i don't know much about it
<Orpheon> ok
<Orpheon> great
<Orpheon> I'll notify the devs of this
<trilader> ok, cool


TL,DR:
When using g++ 4.7 on gentoo, this guy had an error about a
non-declared function "unlink()" in a ZASF file. Adding an "#include
<unistd.h>" there fixed it.
This should probably get fixed in the source as well.

-- 
Orpheon


PS: Could someone please update the title of the IRC? It's still
announcing the fact that lmms 0.4.10 is out, which is 3 subversions
behind.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to