Menu

#14 `INADDR_BROADCAST' undeclared

open
nobody
None
5
2005-11-09
2005-11-09
Anonymous
No

hi there,
just tried to ./configure scourge 0.11 on my rh9-System
and it failed with:

[code]
...[snip]
Making all in net
make[3]: Wechsel in das Verzeichnis Verzeichnis
ť/home/tux/test/scourge/src/netŤc++ -DHAVE_CONFIG_H -I.
-I. -I../.. -I. -DENABLE_BINRELOC -DBR_PTHREAD=0
-DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1
-I/usr/include/freetype2 -O2 -Wall -Wno-deprecated
-fomit-frame-pointer -ffast-math
-fexpensive-optimizations -falign-loops=2
-falign-jumps=2 -falign-functions=2 -I/usr/include/SDL
-D_REENTRANT -c broadcast.cpp
broadcast.cpp: In member function `void
Broadcast::initBroadcastSocket()':
broadcast.cpp:21: `INADDR_BROADCAST' undeclared (first
use this function)
broadcast.cpp:21: (Each undeclared identifier is
reported only once for each
function it appears in.)
make[3]: *** [broadcast.o] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
ť/home/tux/test/scourge/src/netŤ
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
ť/home/tux/test/scourge/srcŤ
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
ť/home/tux/test/scourgeŤ
make: *** [all-recursive-am] Fehler 2
[/quote]

Following your suggestion, I also tried to do the same
with cmake, but that failed for other reasons (cmake
2.2.2).

Here's my configuration:
Base-System: Red Hat 9
Kernel: 2.6.13.4

Packages:
automake-1.6.3-5
automake15-1.5-6
make-3.79.1-17
automake14-1.4p6-5.1
compat-gcc-7.3-2.96.118
gcc-3.2.2-5
gcc-c++-3.2.2-5

A "./configure --disable-sdl-net" seems to work, the
following make does work, though the "make install"
does not copy the data-dir to the right place.

cu, have fun and thanks for scourge. :)
telsh

Discussion


Log in to post a comment.

MongoDB Logo MongoDB