-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building on Ubuntu 16.04 #34
Comments
It looks like this is because the fltk library has changed, defining a new 'set_active' function, which clashes with a function from upstream fldigi. There's then a second linking problem involving libcrypto that I haven't dug into. I got it to build with this hacky patch. The proper solution would probably be to rebase and update the version of fldigi we are modifying. But that's unlikely to happen as dl-fldigi doesn't really have a maintainer right now. diff --git a/m4/build.m4 b/m4/build.m4
index 3a191f7..eff5609 100644
--- a/m4/build.m4
+++ b/m4/build.m4
@@ -25,7 +25,7 @@ $INTL_CFLAGS $PTW32_CFLAGS $BFD_CFLAGS -pipe -Wall -fexceptions $OPT_CFLAGS $DEB
# LDADD
FLDIGI_BUILD_LDADD="$PORTAUDIO_LIBS $FLTK_LIBS $X_LIBS $SNDFILE_LIBS $SAMPLERATE_LIBS \
$PULSEAUDIO_LIBS $HAMLIB_LIBS $PNG_LIBS $CURL_LIBS $XMLRPC_LIBS $INTL_LIBS $PTW32_LIBS $BFD_LIBS $EXTRA_LIBS \
-$SSL_LIBS"
+$SSL_LIBS -lcrypto"
# CPPFLAGS
FLARQ_BUILD_CPPFLAGS="-I\$(srcdir) -I\$(srcdir)/include -I\$(srcdir)/fileselector \
diff --git a/src/include/icons.h b/src/include/icons.h
index dc37e22..75918b3 100644
--- a/src/include/icons.h
+++ b/src/include/icons.h
@@ -43,6 +43,7 @@ const char* get_icon_label_text(Fl_Widget* w);
void free_icon_label(Fl_Menu_Item* item);
void free_icon_label(Fl_Widget* w);
+#define set_active fldigi_set_active
void set_active(Fl_Menu_Item* item, bool v);
void set_active(Fl_Widget* w, bool v);
I haven't tried running it. |
@danielrichman patch works at ubuntu 16.04.2 LTS Tom SP9UOB |
I am having similar issues but the patch doesn't work for me. it looks like there is something wrong with the double_speed_test function but I haven't managed to work out how to resolve. |
@verox-syrion as you have it working, is it possible you would make and distribute a binary? |
W dniu 2017-05-19 o 11:37, Tony Yates pisze:
@verox-syrion <https://github.com/verox-syrion> as you have it
working, is it possible you would make and distribute a binary?
Sure. But I can do this on sunday.
Tom. SP9UOB
…--
Tomasz Brol
Członek Zarządu
Syrion sp z o.o. Boczna 10, 44-240 Żory +48 32 7231053
|
Amazing, much appreciated. I have spent days trying so many ways of getting
this on 16.04
…On 19 May 2017 at 10:56, verox-syrion ***@***.***> wrote:
W dniu 2017-05-19 o 11:37, Tony Yates pisze:
>
> @verox-syrion <https://github.com/verox-syrion> as you have it
> working, is it possible you would make and distribute a binary?
>
Sure. But I can do this on sunday.
Tom. SP9UOB
--
Tomasz Brol
Członek Zarządu
Syrion sp z o.o. Boczna 10, 44-240 Żory +48 32 7231053
<+48%2032%20723%2010%2053>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#34 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAu-V8hXWY-6BXqFTz4EOu41441-tvF8ks5r7WdXgaJpZM4JB4sZ>
.
|
Hello. Getting same error when trying to compile on my gentoo laptop. Provided patch did not work for me. Looking forward to getting this resolved so I can use dl-fldigi for my balloon :) |
I think basically there are a number of dependencies that have not
maintained compatibility. I created a virtual machine of Ubuntu 14.04 and
it installed as per the instructions without problem.
I have also thought about building a docker container linked to a pulse
audio container to try and resolve this. If I get anywhere I will report
back.
…On 21 May 2017 at 19:54, danhosler ***@***.***> wrote:
Hello. Getting same error when trying to compile on my gentoo laptop.
Provided patch did not work for me. Looking forward to getting this
resolved so I can use dl-fldigi for my balloon :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#34 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAu-Vy2Z8BdDCyjJvdiUl38YYAhDH1uSks5r8IhVgaJpZM4JB4sZ>
.
|
i will be available to test whatever you come up with |
W dniu 2017-05-19 o 14:31, Tony Yates pisze:
Amazing, much appreciated. I have spent days trying so many ways of
getting
this on 16.04
I've just came back from business trip. Will post compiled binary later
today.
…
On 19 May 2017 at 10:56, verox-syrion ***@***.***> wrote:
> W dniu 2017-05-19 o 11:37, Tony Yates pisze:
> >
> > @verox-syrion <https://github.com/verox-syrion> as you have it
> > working, is it possible you would make and distribute a binary?
> >
> Sure. But I can do this on sunday.
>
> Tom. SP9UOB
>
> --
> Tomasz Brol
> Członek Zarządu
> Syrion sp z o.o. Boczna 10, 44-240 Żory +48 32 7231053
> <+48%2032%20723%2010%2053>
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
>
<#34 (comment)>,
or mute
> the thread
>
<https://github.com/notifications/unsubscribe-auth/AAu-V8hXWY-6BXqFTz4EOu41441-tvF8ks5r7WdXgaJpZM4JB4sZ>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASaacVEsleiJUMUCbR2S341-_yfxh7T9ks5r7YuLgaJpZM4JB4sZ>.
--
Tomasz Brol
Członek Zarządu
Syrion sp z o.o. Boczna 10, 44-240 Żory +48 32 7231053
|
I believe some of the forks -- https://github.com/hexameron/dl-fldigi and https://github.com/jamescoxon/dl-fldigi especially - have a lot of new commits that bring compatibility with latest ubuntu among other things. |
Tony,
Here is complete archive which can be compiled on ubuntu 16.04. There is
also binary in it.
http://sp9uob.verox.pl/pliki/dl-fldigi-3.1-ubnt.tar.bz2
2017-05-19 11:37 GMT+02:00 Tony Yates <notifications@github.com>:
… @verox-syrion <https://github.com/verox-syrion> as you have it working,
is it possible you would make and distribute a binary?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#34 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ASaacTltnSsVbcHcsEJNpYewlPRlXpiFks5r7WLlgaJpZM4JB4sZ>
.
|
Hi I'm trying to build dl-fldigi on Ubuntu 16.04, I'm certain I've gotten all dependencies installed and am following this guide to installing:
https://ukhas.org.uk/projects:dl-fldigi:build-ubuntu
I have successfully compiled on a Raspberry Pi but my Ubuntu install drops out with this
Makefile:2407: recipe for target 'dl_fldigi-newinstall.o' failed
make[2]: *** [dl_fldigi-newinstall.o] Error 1
make[2]: Leaving directory '/home/james/csdr/dl-fldigi/src'
Makefile:984: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/james/csdr/dl-fldigi/src'
Makefile:469: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
The text was updated successfully, but these errors were encountered: