Error compiling on Solaris

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Wed Jul 9 09:32:44 CEST 2003


On Tue, 08, Jul 2003, Craig A. Betts wrote:

> Got it, thanks.  Still get an error when compiling xfce4-session:
> 
> <<==--  SNIP  --==>>
> util.c: In function `xfce_gethostname':
> util.c:133: `MAXHOSTNAMELEN' undeclared (first use in this function)
> util.c:133: (Each undeclared identifier is reported only once
> util.c:133: for each function it appears in.)
> <<==-- UNSNIP --==>>

Ups, typo. Edit util.c and replace

#ifdef MAXHOSTNAMELEN

with

#ifndef MAXHOSTNAMELEN

then it should work.

> Craig A. Betts

Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/



More information about the Xfce4-dev mailing list