irssi-import / bugs.irssi.org

bugs.irssi.org archive
https://github.com/irssi/irssi/issues
0 stars 0 forks source link

make fails in expandos.c #672

Closed irssibot closed 15 years ago

irssibot commented 15 years ago

While trying to compile irssi 0.8.13 I'm getting this error:

/opt/csw/gcc4/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/core -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include   -DSYSCONFDIR=\""/opt/csw/etc"\" -DMODULEDIR=\""/opt/csw/lib/irssi/modules"\"  -I/opt/csw/include  -O2 -pipe -mcpu=v8 -I/opt/csw/include -Wall -I/opt/csw/include   -MT core.o -MD -MP -MF .deps/core.Tpo -c -o core.o core.c
/opt/csw/include/glib-2.0/glib/gutils.h:298: warning: 'g_bit_nth_lsf' declared 'static' but never defined
/opt/csw/include/glib-2.0/glib/gutils.h:300: warning: 'g_bit_nth_msf' declared 'static' but never defined
/opt/csw/include/glib-2.0/glib/gutils.h:302: warning: 'g_bit_storage' declared 'static' but never defined
/opt/csw/include/glib-2.0/glib/gutils.h:313: warning: 'g_trash_stack_push' declared 'static' but never defined
/opt/csw/include/glib-2.0/glib/gutils.h:315: warning: 'g_trash_stack_pop' declared 'static' but never defined
/opt/csw/include/glib-2.0/glib/gutils.h:316: warning: 'g_trash_stack_peek' declared 'static' but never defined
/opt/csw/include/glib-2.0/glib/gutils.h:317: warning: 'g_trash_stack_height' declared 'static' but never defined
/opt/csw/include/glib-2.0/glib/gthread.h:336: warning: 'g_once_init_enter' declared 'static' but never defined

mv -f .deps/core.Tpo .deps/core.Po /opt/csw/gcc4/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/core -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -DSYSCONFDIR=\""/opt/csw/etc"\" -DMODULEDIR=\""/opt/csw/lib/irssi/modules"\" -I/opt/csw/include -O2 -pipe -mcpu=v8 -I/opt/csw/include -Wall -I/opt/csw/include -MT expandos.o -MD -MP -MF .deps/expandos.Tpo -c -o expandos.o expandos.c expandos.c: In function 'expando_releasedate': expandos.c:407: error: expected expression before ')' token expandos.c: In function 'expando_releasetime': expandos.c:414: error: expected expression before ')' token gmake[5]: *** [expandos.o] Error 1 gmake[5]: Leaving directory `/home/ihsan/gar/csw/mgar/pkg/irssi/trunk/work/build-isa-sparcv8/irssi-0.8.13/src/core'

irssibot commented 15 years ago

This seems to be because irssi-version.h is not generated correctly.

I think r5065 should fix the problem, by removing the space between awk's -F and its argument. Solaris's /usr/bin/awk seems to choke on this, yuck.

irssibot commented 15 years ago

Thanks for the hint. Works for me.

irssibot commented 15 years ago

fixed in r5065