From: Thorsten Kranzkowski <dl8bcu@dl8bcu.de>
To: Paul Lewis <paul@skywaves.demon.co.uk>
Cc: linux-hams@vger.kernel.org
Subject: Re: conversd-saupp-1.62a
Date: Fri, 13 Feb 2015 19:09:50 +0000 [thread overview]
Message-ID: <20150213190950.GA437@ds20.borg.net> (raw)
In-Reply-To: <viRt6JJd$g3UFw1b@skywaves.demon.co.uk>
On Fri, Feb 13, 2015 at 02:53:17PM +0000, Paul Lewis wrote:
>
> Hello all
Hi Paul!
> I am trying to install conversd-saupp-1.62a.20090622.tar.gz
> on a new Ubuntu 14.4.1 system
>
> and getting the following error. Anyone got any ideas how to over
> comethis.
> Still lot of warnings in the make, which I ignore as the binaries are
> created.
>
> Just not able to create the directories and install the binaries using
> the following command.
> Anyone have a solution please - may apply to the make install-all as
> well
>
> make install-bin
> gcc -O2 -s -Wall -Wstrict-prototypes -DWANT_LOG -DFORKPTY
> -DOWNER=\"daemon\" -DGID=\"daemon\"
> -DCONF_DIR=\"/usr/local/conversd-saupp/etc\"
> -DDATA_DIR=\"/usr/local/conversd-saupp/var\" -DCONVERSHOST=\"localhost\"
> -DSETLOGNAMES -DHAVE_LIBREADLINE -DHAVE_READLINE_READLINE_H \
> convers.c ba_stub.o -o convers -lreadline -lncurses
> convers.c: In function âdo_logâ:
> convers.c:255:3: warning: format not a string literal and no format
> arguments [-Wformat-security]
> fprintf(stderr, fmt);
Strictly speaking, it'a a warning, not an error. But anyway, you need to
fix convers.c:
a) insert a line reading
#include <stdarg.h>
at the beginning (where the other includes are).
b) make the function do_log (around line 255) look like this:
int do_log(int level, const char *fmt, ...) {
va_list argp;
if (level > 2)
return 0;
va_start(argp, fmt);
vfprintf(stderr, fmt, argp);
va_end(argp);
return fflush(stderr);
}
This should do the trick.
73 Thorsten DL8BCU
> 73 de Paul G4APL
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
| Thorsten Kranzkowski Internet: dl8bcu@dl8bcu.de |
| Mobile: ++49 170 1876134 Snail: Kiebitzstr. 14, 49324 Melle, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19] |
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-02-13 19:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-31 8:24 Soundmodem problems Apostolos Kefalas
2015-02-01 4:56 ` David Ranch
2015-02-13 14:53 ` conversd-saupp-1.62a Paul Lewis
2015-02-13 19:09 ` Thorsten Kranzkowski [this message]
2015-02-13 19:18 ` conversd-saupp-1.62a Paul Lewis
2015-02-13 23:59 ` conversd-saupp-1.62a Paul Lewis
2015-02-14 11:12 ` conversd-saupp-1.62a Thorsten Kranzkowski
2015-02-14 12:15 ` conversd-saupp-1.62a Paul Lewis
2015-02-14 13:54 ` conversd-saupp-1.62a Thorsten Kranzkowski
2015-02-14 14:47 ` conversd-saupp-1.62a Paul Lewis
2015-02-14 13:18 ` conversd-saupp-1.62a Paul Lewis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150213190950.GA437@ds20.borg.net \
--to=dl8bcu@dl8bcu.de \
--cc=linux-hams@vger.kernel.org \
--cc=paul@skywaves.demon.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.