[Pianod] Autoconf round 3
Peter Li
chinasaurli at gmail.com
Sat Feb 23 14:19:19 PST 2013
Wait, I'm sorry; totally off base. The crypt error below on FC17 is in
linking, so it's just the -lcrypt missing; otherwise working.
Very sorry,
P
On 02/23/2013 01:14 PM, Peter Li wrote:
> Dies pretty quickly on FC17 due to trying to use current gcc to
> compile. I had to do:
>
> CC=c99 ./configure
>
> To get a usable Makefile.
>
> It then gets pretty far but dies on crypt.h:
>
> c99 -g -O2 -ljson -o pianod pianod-command.o pianod-logging.o
> pianod-pianod.o pianod-pianoextra.o pianod-player.o pianod-query.o
> pianod-response.o pianod-seeds.o pianod-settings.o
> pianod-support.o pianod-users.o libwaitress/libwaitress.a
> libpiano/libpiano.a libfootball/libfootball.a libezxml/libezxml.a
> -lfaad -lmad -lao -lgnutls -lgcrypt -lpthread -lm
> pianod-users.o: In function `encrypt_password':
> /home/peter/Downloads/pianod-113/src/users.c:153: undefined
> reference to `crypt'
> pianod-users.o: In function `authenticate_user':
> /home/peter/Downloads/pianod-113/src/users.c:234: undefined
> reference to `crypt'
> collect2: error: ld returned 1 exit status
>
> It doesn't help to comment out #ifdef HAVE_CRYPT_H, so I think this is
> the old problem with libpiano/crypt.h getting included instead of the
> system one?
>
>
>
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20130223/237b872d/attachment-0003.htm>
More information about the Pianod
mailing list