control-center won't compile on Solaris 2.7



I'm having difficulty getting control-center to compile on Solaris 2.7. 
Make errors out with this message:

ld: warning: file ../../control-center/.libs/libcapplet.so: attempted
multiple inclusion of file
Undefined                       first referenced
 symbol                             in file
getline                             lister.o
ld: fatal: Symbol referencing errors. No output written to
.libs/theme-selector-capplet
collect2: ld returned 1 exit status
make[3]: *** [theme-selector-capplet] Error 1
make[3]: Leaving directory
`/home/ginn/gnu-tools/download/gnome/control-center-1.2.1/capplets/theme-switcher'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/ginn/gnu-tools/download/gnome/control-center-1.2.1/capplets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/ginn/gnu-tools/download/gnome/control-center-1.2.1'
make: *** [all-recursive-am] Error 2


The function getline appears to be undefined.  If I look in the file
lister.c, the first line is

#define _GNU_SOURCE             /* For getline() */

It doesn't appear that _GNU_SOURCE is being defined as anything.  Is
this correct? Also, my header files that have been included are as
follows:

#include "da.h"
#include <sys/types.h>
#include <utime.h>
#include <errno.h>

In which header file is getline() defined, and why can't I see it?

Thanks,
Aaron Ginn

-- 
Aaron J. Ginn                     Motorola SPS
Phone: (480) 814-4463             SemiCustom Solutions
Fax:   (480) 814-4058             1300 N. Alma School Rd.
mailto:aaron.ginn@motorola.com    Chandler, AZ 85226





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]