[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Kdebase-1.1.2 compile error on FreeBSD
From:       Kevin Lo <kevlo () wahoo ! com ! tw>
Date:       1999-09-27 7:24:18
[Download RAW message or body]

Hi,

I solved that problem myself :-)  In kdm/session.c, I changed line 1094
#if defined(Lynx) || defined(SCO) && !defined(SCO_USA) ||
!defined(HAVE_CRYPT_H
to
#if defined(Lynx) || defined(SCO) && !defined(SCO_USA)

- Kevin

Kevin Lo wrote:

> Hi,
>
> I downloaded kdebase-1.1.2 source and compiled it on FreeBSD 3.3-RELEASE.
> But I got error messages while compiling it, see below:
>
> ...
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde/include
> -I/usr/local/qt/includ
> e  -I/usr/X11R6/include    -O2 -Wall -c session.c
> session.c: In function `crypt':
> session.c:1095: argument `s1' doesn't match prototype
> /usr/include/unistd.h:121: prototype declaration
> session.c:1095: argument `s2' doesn't match prototype
> /usr/include/unistd.h:121: prototype declaration
> gmake[3]: *** [session.o] Error 1
> gmake[3]: Leaving directory `/usr/local/kdebase-1.1.2/kdm'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/local/kdebase-1.1.2/kdm'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/local/kdebase-1.1.2'
> gmake: *** [all-recursive-am] Error 2
>
> Would anyone know how to solve this problem, thanks in advance.
> P.S. I'm using gcc 2.7.2.3.
>
> - Kevin

--                                                                  `""""""'
Kevin Lo                                     "Use the Internet to    |    |
kevlo@wahoo.com.tw                           it's fullest potential" OO--)|
kevlo@FreeBSD.org                                             \__   (_    |
kevlo@kde.org                                                     /\ |____|
http://www.freebsd.org/~kevlo                                    (=(_><   \

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic