[Pianod] Autoconf round 4

Perette Barella perette at barella.org
Sat Feb 23 14:55:41 PST 2013


I've fixed the compile to add -std=c99 for GCC, added locating the libcrypt.a, and fixed locating libbsd.a.  I think I've fixed fgetln, the other two are still outstanding.

Let me know...

Perette

--
Perette Barella • perette at barella.org • 585-286-1312
176 Middlesex Road, Rochester NY 14610

On 2013年02月23日, at 17:22, Peter Li wrote:

> There are still some missing includes in various places:
> make[3]: Entering directory `/home/peter/Downloads/pianod-113/src/libfootball'
> c99 -DHAVE_CONFIG_H -I. -I../..  -Iinclude -I../..   -g -O2 -MT libfootball_a-fb_event.o -MD -MP -MF .deps/libfootball_a-fb_event.Tpo -c -o libfootball_a-fb_event.o `test -f 'fb_event.c' || echo './'`fb_event.c
> fb_event.c: In function ‘fb_read_input’:
> fb_event.c:353:3: warning: implicit declaration of function ‘fgetln’ [-Wimplicit-function-declaration]
> make[3]: Entering directory `/home/peter/Downloads/pianod-113/src/libezxml'
> c99 -DHAVE_CONFIG_H -I. -I../..    -DEZXML_NOMMAP=1 -g -O2 -MT libezxml_a-ezxml.o -MD -MP -MF .deps/libezxml_a-ezxml.Tpo -c -o libezxml_a-ezxml.o `test -f 'ezxml.c' || echo './'`ezxml.c
> ezxml.c: In function ‘ezxml_proc_inst’:
> ezxml.c:307:9: warning: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration]
> make[3]: Entering directory `/home/peter/Downloads/pianod-113/src'
> c99 -DHAVE_CONFIG_H -I. -I..  -Iinclude -I..   -g -O2 -MT pianod-command.o -MD -MP -MF .deps/pianod-command.Tpo -c -o pianod-command.o `test -f 
> <...>
> mv -f .deps/pianod-player.Tpo .deps/pianod-player.Po
> c99 -DHAVE_CONFIG_H -I. -I..  -Iinclude -I..   -g -O2 -MT pianod-query.o -MD -MP -MF .deps/pianod-query.Tpo -c -o pianod-query.o `test -f 'query.c' || echo './'`query.c
> query.c: In function ‘send_genres’:
> query.c:68:3: warning: implicit declaration of function ‘strcasestr’ [-Wimplicit-function-declaration]
> So, other than the above implicit declarations, I think the only other problems I had were CC=c99 and the missing -lcrypt.
> 
> 
> 
> On 02/23/2013 12:56 PM, Perette Barella wrote:
>> I had another bash at confiscating today, and added some additional tests (IPv6, MSG_NOSIGNAL vs SO_NOSIGPIPE), and updated the C files to actually read all the autconf-generated config.h.
>> 
>> Problem reports appreciated.  If all is quiet, I'm going to assume all is well and commit this to source control the 24th.
>> 
>> Incidentally, if anyone ever needs to do this kind of thing... I recommend "Autotools: A Practitioner's Guide to..." by John Calcote as a fantastic book to bring you up to speed.
>> 
>> Perette
>> 
>> _______________________________________________
>> Pianod mailing list
>> Pianod at lists.deviousfish.com
>> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com
> 
> _______________________________________________
> Pianod mailing list
> Pianod at lists.deviousfish.com
> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20130223/e76be177/attachment-0002.htm>


More information about the Pianod mailing list