Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Oct 2002 16:13:45 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        The Gupta Age <thegage@kashmir.etowns.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: KDE 3.0 broken in current??
Message-ID:  <3DA4B829.62EAB7D0@mindspring.com>
References:  <20021009063738.J33703-100000@kashmir.etowns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
The Gupta Age wrote:
> Hi,
> I was trying to compile kde3 on a recent current. When the compilation
> reaches ksysguardd within ksysguard within kdebase3 it fails with the
> following error:
> 
> gmake[4]: Entering directory
> `/usr/ports/x11/kdebase3/work/kdebase-3.0.3/ksysguard/ksysguardd/FreeBSD'
> source='netdev.c' object='netdev.o' libtool=no \
> depfile='.deps/netdev.Po' tmpdepfile='.deps/netdev.TPo' \
> depmode=gcc3 /bin/sh ../../../admin/depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I../../.. -DKSYSGUARDDRCFILE="\"\""
> -I./../../CContLib -I./..  -pthread -DQT_THREAD_SUPPORT
> -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include
> -D_GETOPT_H -D_THREAD_SAFE  -Wall  -c `test -f netdev.c || echo
> './'`netdev.c
> In file included from netdev.c:23:
> /usr/include/sys/socket.h:170: syntax error before "u_char"

KDE is broken; it's assuming promisucous headers.

Workaround:

	mv netdev.c netdev.c.broken
	echo "#include <sys/types.h>" > netdev.c
	cat netdev.c.broken >> netdev.c

Probably, this should be handled by sending a patch back to the KDE
folks, whose servers were dead and being repaired yesterday.  You
could also make a port path that patched netdev.c, as an interim
fix (include the header before including the <sys/socket.h> header).

Unfortunately, It still has not been 72 hours for the download, so
I still do not have the KDE sources available locally.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DA4B829.62EAB7D0>