[ scummvm-Bugs-1497973 ] 0.9.0 from SVN does not build on Solaris 10

SourceForge.net noreply at sourceforge.net
Wed May 31 09:09:41 CEST 2006


Bugs item #1497973, was opened at 2006-05-31 09:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1497973&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unknown Crash/Other
Group: All Games
Status: Open
Resolution: None
Priority: 5
Submitted By: laurent (lblume)
Assigned to: Nobody/Anonymous (nobody)
Summary: 0.9.0 from SVN does not build on Solaris 10

Initial Comment:
On Solaris 10 AMD54, the build fails with the following:

mkdir -p backends/fs/posix/.deps
g++
-Wp,-MMD,"backends/fs/posix/.deps/posix-fs.d",-MQ,"backends/fs/posix/posix-fs.o",-MP
-Wall -m64 -mtune=opteron -R/opt/games/scummvm/lib
-I/opt/games/scummvm/include -g -ansi -W
-Wno-unused-parameter -O -Wuninitialized -Wno-long-long
-Wno-multichar -Wno-unknown-pragmas -pedantic
-Wpointer-arith -Wcast-qual -Wconversion -Wshadow
-Wimplicit -Wundef -Wnon-virtual-dtor -Wno-reorder
-Wwrite-strings -fno-rtti -fno-exceptions -fcheck-new
-DHAVE_CONFIG_H -DUNIX -DDISABLE_CINE -DDISABLE_AGI -I.
-I. -I./engines -I/opt/games/scummvm/include
-I/opt/games/scummvm/include
-I/opt/games/scummvm/include
-I/opt/games/scummvm/include 
-I/opt/games/scummvm/include
-I/opt/games/scummvm/include/SDL -D_REENTRANT -c
backends/fs/posix/posix-fs.cpp -o
backends/fs/posix/posix-fs.o
backends/fs/posix/posix-fs.cpp: In member function
`virtual bool
POSIXFilesystemNode::listDir(AbstractFSList&,
FilesystemNode::ListMode) const':
backends/fs/posix/posix-fs.cpp:177: error: 'struct
dirent' has no member named 'd_type'
backends/fs/posix/posix-fs.cpp:177: error: `DT_UNKNOWN'
undeclared (first use this function)
backends/fs/posix/posix-fs.cpp:177: error: (Each
undeclared identifier is reported only once for each
function it appears in.)
backends/fs/posix/posix-fs.cpp:183: error: 'struct
dirent' has no member named 'd_type'
backends/fs/posix/posix-fs.cpp:183: error: `DT_DIR'
undeclared (first use this function)
backends/fs/posix/posix-fs.cpp:183: error: 'struct
dirent' has no member named 'd_type'
backends/fs/posix/posix-fs.cpp:183: error: `DT_REG'
undeclared (first use this function)
backends/fs/posix/posix-fs.cpp:183: error: 'struct
dirent' has no member named 'd_type'
backends/fs/posix/posix-fs.cpp:183: error: `DT_LNK'
undeclared (first use this function)
backends/fs/posix/posix-fs.cpp:184: error: 'struct
dirent' has no member named 'd_type'
backends/fs/posix/posix-fs.cpp:191: error: 'struct
dirent' has no member named 'd_type'
gmake: *** [backends/fs/posix/posix-fs.o] Error 1

The parameters used were the exact same I used
successfully for 0.8.2:

CFLAGS='-m64 -mtune=opteron' \
CXXFLAGS="-m64 -mtune=opteron -R/opt/games/scummvm/lib" \
CPPFLAGS="-I/opt/games/scummvm/include" \
LDFLAGS="-m64 -mtune=opteron -lX11 -lXext -lnsl
-lsocket -L/usr/openwin/lib/64 -R/usr/openwin/lib/64
-L/usr/X11/lib/64 -R/usr/X11/lib/64
-L/opt/games/scummvm/lib -R/opt/games/scummvm/lib" \
./configure --prefix=/opt/games/scummvm \
  --enable-plugins \
  --with-ogg-prefix=/opt/games/scummvm \
  --with-vorbis-prefix=/opt/games/scummvm \
  --with-mad-prefix=/opt/games/scummvm \
  --with-flac-prefix=/opt/games/scummvm \
  --with-mpeg2-prefix=/opt/games/scummvm \
  --enable-kyra \
  --enable-lure
LD_OPTIONS='-R$ORIGIN/../lib' gmake MAKE=gmake CC=gcc



More information about the Scummvm-tracker mailing list