From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Kranzkowski Subject: Re: conversd-saupp-1.62a Date: Fri, 13 Feb 2015 19:09:50 +0000 Message-ID: <20150213190950.GA437@ds20.borg.net> References: <1422692681.5081.9.camel@freemail.gr> <54CDB20F.8040201@trinnet.net> Reply-To: dl8bcu@dl8bcu.de Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-hams-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8" To: Paul Lewis Cc: linux-hams@vger.kernel.org On Fri, Feb 13, 2015 at 02:53:17PM +0000, Paul Lewis wrote: >=20 > Hello all Hi Paul! > I am trying to install conversd-saupp-1.62a.20090622.tar.gz > on a new Ubuntu 14.4.1 system >=20 > 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. >=20 > Just not able to create the directories and install the binaries usin= g > the following command. > Anyone have a solution please - may apply to the make install-all as > well >=20 > make install-bin > gcc -O2 -s -Wall -Wstrict-prototypes -DWANT_LOG -DFORKPTY > -DOWNER=3D\"daemon\" -DGID=3D\"daemon\" > -DCONF_DIR=3D\"/usr/local/conversd-saupp/etc\" > -DDATA_DIR=3D\"/usr/local/conversd-saupp/var\" -DCONVERSHOST=3D\"loca= lhost\" > -DSETLOGNAMES -DHAVE_LIBREADLINE -DHAVE_READLINE_READLINE_H \ > convers.c ba_stub.o -o convers -lreadline -lncurses > convers.c: In function =C3=A2do_log=C3=A2: > 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 t= o fix convers.c: a) insert a line reading #include 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); } =20 This should do the trick. 73 Thorsten DL8BCU > 73 de Paul G4APL >=20 > -- > 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 --=20 | Thorsten Kranzkowski Internet: dl8bcu@dl8bcu.de = | | Mobile: ++49 170 1876134 Snail: Kiebitzstr. 14, 49324 Melle, Ge= rmany | | Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130= =2E8.19] | -- To unsubscribe from this list: send the line "unsubscribe linux-hams" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html