#7 "S_IEXEC" is not declared. (undeclared)

open
nobody
None
8
2005-04-10
2005-04-10
Will L G
No

Cannot seem to compile XCDRecord on the following
system:
AlphaPC 164SX
512mb Ram
RedHat 7.2 [alpha]
Kernel-2.6.4.11
CCC-6.5.9
Make-3.8

GTK-2.6.3
GLIBC-2.3.2
Cdrecord-Clone 2.01

Options:
CC="ccache ccc" \ CFLAGS="-O5 -fast -s -w -arch ev56" \ ./configure \ --sysconfdir=/etc \ --build=alphapca56-alpha-linux-gnu \ --prefix=/etc \ --disable-dependency-tracking \ --enable-gtk2

Error Msg:
ccache ccc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -
DLOCALEDIR=\"/etc/share/locale\" -
DUSE_LARGEFILES -DPRE_PREFIX="\"/etc\"" -
DPRE_LIBDIR="\"/etc/lib/xcdroast-0.98\"" -
DCDRTOOLS_PREFIX="\"/etc\"" -
DSYSCONFDIR="\"/etc\"" -
DUSE_NONROOTMODE="1" -O5 -fast -s -w -arch ev56 -
D_XOPEN_SOURCE=500 -DXTHREADS -
DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-
2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -
I/usr/include/pango-1.0 -I/usr/include/freetype2 -
I/usr/X11/include -I/usr/include/glib-2.0 -I/usr/lib/glib-
2.0/include -c -o xcdroast-init.o `test -f init.c ||
echo './'`init.c
cc: Error: init.c, line 305: In this statement, "S_IEXEC"
is not declared. (undeclared)
if (!(buf.st_mode & S_IEXEC)) {
------------------------------------^
make[2]: *** [xcdroast-init.o] Error 1
make[2]: Leaving directory `/usr2/www/pub/alpha-
RH7/utilities/xcdroast-0.98alpha15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr2/www/pub/alpha-
RH7/utilities/xcdroast-0.98alpha15'
make: *** [all] Error 2
[root@jericho xcdroast-0.98alpha15]#

Discussion

  • Will L G
    Will L G
    2005-04-10

    • priority: 5 --> 8