Hello,
I'm trying to compile GTKG version 1.0.1 on solaris 10 for OpenCSW.org
but I get a compile error (see below). During Configure I noticed this:
Checking IEEE-754 float byte-ordering... not using IEEE-754 here.
It appears that the machine byte-order is not getting identified.
Several years ago I got it compiled successfully (version 0.96.3) but I
forgot what I did to get it to work. Perhaps ieeefp.h needs to be
included somewhere?
Thanks,
Jake
gcc -c -I.. -I. -D_REENTRANT -D_PTHREADS -D_POSIX_PTHREAD_SEMANTICS
-DXTHREADS -DXUSE_MTSAFE_API -I/opt/csw/include/gtk-2.0
-I/opt/csw/lib/gtk-2.0/include -I/opt/csw/include/atk-1.0
-I/opt/csw/include/cairo -I/opt/csw/include/gdk-pixbuf-2.0
-I/opt/csw/include/pango-1.0 -I/opt/csw/include/glib-2.0
-I/opt/csw/lib/glib-2.0/include -I/opt/csw/include
-I/opt/csw/include/pixman-1 -I/opt/csw/include/freetype2
-I/opt/csw/include/libpng15 -I/opt/csw/include/harfbuzz
-I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include
-I/opt/csw/include -I/opt/csw/include/dbus-1.0
-I/opt/csw/lib/dbus-1.0/include -I/opt/csw/include
-I/opt/csw/include/p11-kit-1 -DCURDIR=src -O2 -g -pthread -pipe
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -W
-Wall -Wformat=2 -Wshadow main.c
sed: command garbled: s/
In file included from main.c:37:0:
common.h:206:2: error: #error "float must use IEEE 754."
#error "float must use IEEE 754."
^
In file included from ./core/rx.h:40:0,
from ./if/core/downloads.h:38,
from ./if/core/fileinfo.h:33,
from core/share.h:47,
from core/fileinfo.h:38,
from core/downloads.h:41,
from core/dmesh.h:38,
from main.c:50:
./lib/pmsg.h: In function 'pmsg_write_float_be':
./lib/pmsg.h:573:2: warning: implicit declaration of function
'poke_float_be32' [-Wimplicit-function-declaration]
mb->m_wptr = poke_float_be32(mb->m_wptr, val);
^
./lib/pmsg.h:573:13: warning: assignment makes pointer from integer
without a cast [enabled by default]
mb->m_wptr = poke_float_be32(mb->m_wptr, val);
^
main.c: In function 'gtk_gnutella_exit':
main.c:778:3: warning: implicit declaration of function 'do_sched_yield'
[-Wimplicit-function-declaration]
do_sched_yield();
^
Makefile:52: recipe for target 'main.o' failed
gmake[4]: *** [main.o] Error 1
------------------------------------------------------------------------------
_______________________________________________
gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel