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

List:       kde-devel
Subject:    Re: Newbie requests help with compile error
From:       Anders Lund <anders.lund () lund ! tdcadsl ! dk>
Date:       2002-12-01 19:32:00
[Download RAW message or body]

On Sunday 01 December 2002 19:26, Chris Arrowood wrote:
> I am running into the error below while compiling the cvs HEAD version of
> kdebase.  This is my first time trying to compile KDE so I am pretty sure
> this error is something I have set up incorrectly.  Any help would be
> appreciated.
>
> /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
> -I. -I. -I../.. -I/home/kde-devel/src/kde/include
> -I/home/kde-devel/src/qt/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2
> -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT
> -DQT_NO_ASCII_CAST -D_GNU_SOURCE  -c -o nic.lo `test -f 'nic.cpp' || echo
> './'`nic.cpp
> nic.cpp: In function `NICList* findNICs()':
> nic.cpp:234: `struct sockaddr' has no member named `sa_len'
> nic.cpp:239: `struct sockaddr' has no member named `sa_len'


looks like you are missing some headers, maybe socket.h

Here, it is from the glibc-devel package:
[anders@pluto kaddressbook]$ rpm -qf /usr/include/sys/socket.h
glibc-devel-2.2.5-16mdk

-anders
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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