trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

Re: [trinity-devel] Can't login with KDM

From: /dev/ammo42 <mickeytintincolle@...>
Date: Sat, 19 Nov 2011 03:30:10 +0100
Le Fri, 18 Nov 2011 11:58:32 -0800 (PST),
Darrell Anderson <humanreadable@...> a écrit :

> > OK, looks like someone is going to have to create a CMake
> > patch to add
> > libcrypt detection in order for this to work.  Problem
> > is the partial GIT
> > migration and KDE-->TDE make it quite difficult for me
> > to do at this time.
> > 
> > Serghei, do you think you could whip something up based on
> > the 3.5.13
> > sources?
> 
> I did not include the full log but I now noticed these error messages
> a few dozen lines up in the log:
> 
> /dev/shm/kdebase/kdm/backend/client.c: In function 'Verify':
> /dev/shm/kdebase/kdm/backend/client.c:742: warning: passing argument
> 1 of 'strlen' makes pointer from integer without a
> cast /usr/include/string.h:397: note: expected 'const char *' but
> argument is of type 'int' /dev/shm/kdebase/kdm/backend/client.c:742:
> warning: passing argument 1 of '__builtin_strcmp' makes pointer from
> integer without a cast /dev/shm/kdebase/kdm/backend/client.c:742:
> note: expected 'const char *' but argument is of type
> 'int' /dev/shm/kdebase/kdm/backend/client.c:742: warning: passing
> argument 1 of 'strlen' makes pointer from integer without a
> cast /usr/include/string.h:397: note: expected 'const char *' but
> argument is of type 'int' /dev/shm/kdebase/kdm/backend/client.c:742:
> warning: passing argument 1 of '__builtin_strcmp' makes pointer from
> integer without a cast /dev/shm/kdebase/kdm/backend/client.c:742:
> note: expected 'const char *' but argument is of type
> 'int' /dev/shm/kdebase/kdm/backend/client.c:742: warning: passing
> argument 1 of '__builtin_strcmp' makes pointer from integer without a
> cast /dev/shm/kdebase/kdm/backend/client.c:742: note: expected 'const
> char *' but argument is of type
> 'int' /dev/shm/kdebase/kdm/backend/client.c:742: warning: passing
> argument 1 of '__builtin_strcmp' makes pointer from integer without a
> cast /dev/shm/kdebase/kdm/backend/client.c:742: note: expected 'const
> char *' but argument is of type 'int'
C89 assumes a return type of int when an undeclared function is
called, so these warnings were to be expected and are related with
crypt() not being detected by CMake.
> 
> Darrell
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-devel-unsubscribe@... For additional
> commands, e-mail: trinity-devel-help@... Read
> list messsages on the Web archive:
> http://trinity-devel.pearsoncomputing.net/ Please remember not to
> top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>