Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerging quagga
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sneak147
n00b
n00b


Joined: 18 Sep 2003
Posts: 22

PostPosted: Fri Jul 23, 2004 11:01 am    Post subject: emerging quagga Reply with quote

Hi,

When try emerging quagga I get the following compile error,
Code:

libphp4.c: At top level:
libphp4.c:645: warning: return type defaults to `int'
libphp4.c:324: warning: `ZEND_RSRC_DTOR_FUNC' defined but not used
make[1]: *** [libswigphp4_la-libphp4.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
(cd .libs && rm -f libswigpl.so.0 && ln -s libswigpl.so.0.0.0 libswigpl.so.0)
(cd .libs && rm -f libswigpl.so && ln -s libswigpl.so.0.0.0 libswigpl.so)
creating libswigpl.la
(cd .libs && rm -f libswigpl.la && ln -s ../libswigpl.la libswigpl.la)
make[1]: Leaving directory `/var/tmp/portage/swig-1.3.21/work/SWIG-1.3.21/Runtime'
make: *** [runtime] Error 2

!!! ERROR: dev-lang/swig-1.3.21 failed.
!!! Function src_compile, Line 65, Exitcode 2
!!! (no error message)


Any ideas ??
Back to top
View user's profile Send private message
Psi15
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 86
Location: Vienna

PostPosted: Mon Jan 02, 2006 10:30 am    Post subject: Reply with quote

I've got the same error when emerging swig

Code:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/usr/local/include/php -I/usr/local/include/php/Zend -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -mtune=athlon-xp -march=athlon-xp -pipe -O2 -Wall -MT libswigphp4_la-libphp4.lo -MD -MP -MF .deps/libswigphp4_la-libphp4.Tpo -c libphp4.c  -fPIC -DPIC -o .libs/libswigphp4_la-libphp4.o
libphp4.c: In function `SWIG_ZTS_ConvertResourcePtr':
libphp4.c:475: error: too few arguments to function `zend_rsrc_list_get_rsrc_type'
libphp4.c: In function `SWIG_ZTS_ConvertPtr':
libphp4.c:500: warning: dereferencing type-punned pointer will break strict-aliasing rules
libphp4.c:491: warning: unused variable `val'
libphp4.c: At top level:
libphp4.c:324: warning: 'SWIG_landfill' defined but not used
make[1]: *** [libswigphp4_la-libphp4.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/swig-1.3.21/work/SWIG-1.3.21/Runtime'
make: *** [runtime] Error 2
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Mon Jan 02, 2006 11:15 am    Post subject: Reply with quote

You'll have to excuse the fact I don't use Swig or similar. But general principles hopefully apply here.

It seems to be choking when building some PHP4 libs. Do you want it to work with PHP? If yes then get the PHP4 libs on your system first by emerging and Swig will link to those instead of attempting (and failing) to build them. If not, then build without PHP.

If all this fails then I'd start a fresh thread with appropriate Subject.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum