Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2002 19:28:24 +0300
From:      Vallo Kallaste <kalts@estpak.ee>
To:        freebsd-current@freebsd.org
Cc:        esk@ira.uka.de
Subject:   xmms compilation failure
Message-ID:  <20021011162824.GB2988@tiiu.internal>

next in thread | raw e-mail | index | archive | help
Hi

xmms fails to compile because of either:
missing <sys/types.h> include in xmms-1.2.7/libxmms/util.c
some error in our headers
Simply adding <sys/types.h> before <sys/sysctl.h> works for me.

rm -f .libs/util.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include -I/usr/X11R6/include -I../intl -I/usr/local/include -O -pipe -march=pentiumpro -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer -Wall -Wpointer-arith -c util.c   -fPIC -DPIC -o .libs/util.lo
In file included from util.c:14:
/usr/include/sys/sysctl.h:604: syntax error before "u_int"
/usr/include/sys/sysctl.h:605: syntax error before "size_t"
/usr/include/sys/sysctl.h:606: syntax error before "size_t"
gmake[2]: *** [util.lo] Error 1
gmake[2]: Leaving directory `/usr/local/src/portbuild/usr/ports/audio/xmms/work/xmms-1.2.7/libxmms'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/portbuild/usr/ports/audio/xmms/work/xmms-1.2.7'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/audio/xmms.
-- 

Vallo Kallaste
kalts@estpak.ee

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?20021011162824.GB2988>