Re: [Wlug] Linker error: DSO missing from command line
John> So what if you just putt the following into the src/Makefile.am file: John> AM_LDFLAGS = \ John> -lm John> I put it after the AM_CPPFLAGS definition up top. Seemed to do what I John> needed, but I haven't setup an Ubuntu 16.04 test VM yet to confirm. So I spun up a droplet on Digital Oceon running Ubuntu 16.04 and with the above change, and the following steps, I got it to compile.... # apt-get update # apt-get install gcc libhamlib-dev make libgtk-dev libgtkextra-dev libglib2.0-dev libgtk2.0-dev # wget http://download.savannah.gnu.org/releases/xlog/xlog-2.0.14beta.tar.gz # tar xzf xlog-2.0.14beta.tar.gz # cd xlog-2.0.14beta/ # vi src/Makefile.am - added in AM_LDFLAGS = -lm # ./configure # make and it did it. I'd like to say I'm really impressed at how there are NO compile warnings at all. Nice clean coding! But if you could get more detailed error messages from those reporting problems compiling, that would be a big help as well. Thanks, John
participants (1)
-
John Stoffel