Skip to content

Compile errors with latest libspotify (ARM support) #2

Open
SamuelDebruyn opened this Issue Aug 4, 2012 · 8 comments

5 participants

@SamuelDebruyn

I saw the commits earlier today so I tried compiling with the updated repo. It failed again.

pi@samrpi ~/libspotify-php $ make
/bin/bash /home/pi/libspotify-php/libtool --mode=compile cc -I. -I/home/pi/libspotify-php -DPHP_ATOM_INC -I/home/pi/libspotify-php/include -I/home/pi/libspotify-php/main -I/home/pi/libspotify-php -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/pi/libspotify-php/spotify.c -o spotify.lo
libtool: compile: cc -I. -I/home/pi/libspotify-php -DPHP_ATOM_INC -I/home/pi/libspotify-php/include -I/home/pi/libspotify-php/main -I/home/pi/libspotify-php -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /home/pi/libspotify-php/spotify.c -fPIC -DPIC -o .libs/spotify.o
/home/pi/libspotify-php/spotify.c:428:1: error: unknown type name 'function_entry'
/home/pi/libspotify-php/spotify.c:429:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/home/pi/libspotify-php/spotify.c:442:2: warning: braces around scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:442:2: warning: (near initialization for 'spotify_methods[13]') [enabled by default]
/home/pi/libspotify-php/spotify.c:442:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/pi/libspotify-php/spotify.c:442:2: warning: (near initialization for 'spotify_methods[13]') [enabled by default]
/home/pi/libspotify-php/spotify.c:442:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:442:2: warning: (near initialization for 'spotify_methods[13]') [enabled by default]
/home/pi/libspotify-php/spotify.c:442:2: warning: excess elements in scalar initializer [enabled by default]
/home/pi/libspotify-php/spotify.c:442:2: warning: (near initialization for 'spotify_methods[13]') [enabled by default]
/home/pi/libspotify-php/spotify.c: In function 'spotify_create_handler':
/home/pi/libspotify-php/spotify.c:465:46: error: 'zend_class_entry' has no member named 'default_properties'
/home/pi/libspotify-php/spotify.c: In function 'zm_startup_spotify':
/home/pi/libspotify-php/spotify.c:485:2: warning: assignment from incompatible pointer type [enabled by default]
make: *** [spotify.lo] Error 1

@vilhelmk
Owner
vilhelmk commented Aug 4, 2012

Have you made sure that libspotify[1] is the latest version?

I tried to recreate it on a fresh VM (ubuntu) by installing the latest libspotify, and the latest libspotify-php and it compiled without any problems.

https://developer.spotify.com/technologies/libspotify/

@SamuelDebruyn

Yes it is, but I'm using a Raspberry Pi (ARMv6) so maybe libspotify isn't fully compatible with it. They have a link for ARMv6 devices on their site though.

@vilhelmk
Owner
vilhelmk commented Aug 4, 2012

Then it's probably only a problem on ARM.

I don't have a ARM device to recreate the problem on, and (my) development platforms is only linux x86 32/64 bit. If I ever get lots of time on my hands I'll see if I can get it work on ARM anyway though.

@SamuelDebruyn

Ok, thanks :)

@c0ntax
c0ntax commented Dec 2, 2012

Hiya. I'm getting the same issue building against libspotify 12.1.51 x86_64. Am I doing anything obviously wrong (I suspect that I am as nothing in the output suggests that the make process knows where I've installed libspotify to (/usr/local/)) ;-)

phpize
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525

./configure --enable-spotify
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20100525
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable Spotify support... yes, shared
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands

make
/bin/bash /tmp/libspotify-php/libtool --mode=compile cc  -I. -I/tmp/libspotify-php -DPHP_ATOM_INC -I/tmp/libspotify-php/include -I/tmp/libspotify-php/main -I/tmp/libspotify-php -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/libspotify-php/spotify.c -o spotify.lo 
libtool: compile:  cc -I. -I/tmp/libspotify-php -DPHP_ATOM_INC -I/tmp/libspotify-php/include -I/tmp/libspotify-php/main -I/tmp/libspotify-php -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/libspotify-php/spotify.c  -fPIC -DPIC -o .libs/spotify.o
/tmp/libspotify-php/spotify.c:428:1: error: unknown type name 'function_entry'
/tmp/libspotify-php/spotify.c:429:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:429:2: error: (near initialization for 'spotify_methods[0]')
/tmp/libspotify-php/spotify.c:429:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:429:2: warning: (near initialization for 'spotify_methods[0]') [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:430:2: error: (near initialization for 'spotify_methods[1]')
/tmp/libspotify-php/spotify.c:430:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:430:2: warning: (near initialization for 'spotify_methods[1]') [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:431:2: error: (near initialization for 'spotify_methods[2]')
/tmp/libspotify-php/spotify.c:431:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:431:2: warning: (near initialization for 'spotify_methods[2]') [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:432:2: error: (near initialization for 'spotify_methods[3]')
/tmp/libspotify-php/spotify.c:432:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:432:2: warning: (near initialization for 'spotify_methods[3]') [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:433:2: error: (near initialization for 'spotify_methods[4]')
/tmp/libspotify-php/spotify.c:433:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:433:2: warning: (near initialization for 'spotify_methods[4]') [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:434:2: error: (near initialization for 'spotify_methods[5]')
/tmp/libspotify-php/spotify.c:434:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:434:2: warning: (near initialization for 'spotify_methods[5]') [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:435:2: error: (near initialization for 'spotify_methods[6]')
/tmp/libspotify-php/spotify.c:435:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:435:2: warning: (near initialization for 'spotify_methods[6]') [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:436:2: error: (near initialization for 'spotify_methods[7]')
/tmp/libspotify-php/spotify.c:436:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:436:2: warning: (near initialization for 'spotify_methods[7]') [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:437:2: error: (near initialization for 'spotify_methods[8]')
/tmp/libspotify-php/spotify.c:437:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:437:2: warning: (near initialization for 'spotify_methods[8]') [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:438:2: error: (near initialization for 'spotify_methods[9]')
/tmp/libspotify-php/spotify.c:438:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:438:2: warning: (near initialization for 'spotify_methods[9]') [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:439:2: error: (near initialization for 'spotify_methods[10]')
/tmp/libspotify-php/spotify.c:439:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:439:2: warning: (near initialization for 'spotify_methods[10]') [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:440:2: error: (near initialization for 'spotify_methods[11]')
/tmp/libspotify-php/spotify.c:440:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:440:2: warning: (near initialization for 'spotify_methods[11]') [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: error: initializer element is not computable at load time
/tmp/libspotify-php/spotify.c:441:2: error: (near initialization for 'spotify_methods[12]')
/tmp/libspotify-php/spotify.c:441:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:441:2: warning: (near initialization for 'spotify_methods[12]') [enabled by default]
/tmp/libspotify-php/spotify.c:442:2: warning: braces around scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:442:2: warning: (near initialization for 'spotify_methods[13]') [enabled by default]
/tmp/libspotify-php/spotify.c:442:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/libspotify-php/spotify.c:442:2: warning: (near initialization for 'spotify_methods[13]') [enabled by default]
/tmp/libspotify-php/spotify.c:442:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:442:2: warning: (near initialization for 'spotify_methods[13]') [enabled by default]
/tmp/libspotify-php/spotify.c:442:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/libspotify-php/spotify.c:442:2: warning: (near initialization for 'spotify_methods[13]') [enabled by default]
/tmp/libspotify-php/spotify.c: In function 'spotify_create_handler':
/tmp/libspotify-php/spotify.c:465:46: error: 'zend_class_entry' has no member named 'default_properties'
/tmp/libspotify-php/spotify.c:466:9: warning: passing argument 2 of 'zend_hash_copy' from incompatible pointer type [enabled by default]
In file included from /usr/include/php5/Zend/zend.h:271:0,
                 from /usr/include/php5/main/php.h:35,
                 from /tmp/libspotify-php/php_spotify.h:40,
                 from /tmp/libspotify-php/spotify.c:26:
/usr/include/php5/Zend/zend_hash.h:214:15: note: expected 'struct HashTable *' but argument is of type 'int (*)[1]'
/tmp/libspotify-php/spotify.c: In function 'zm_startup_spotify':
/tmp/libspotify-php/spotify.c:485:2: warning: assignment from incompatible pointer type [enabled by default]
make: *** [spotify.lo] Error 1
@fergomez

Exactly the same problem here. Could you shed some light on this problem?

Thanks a lot.

@fergomez

I've found this patch that seems to solve this problem in another project, so it may be useful for the patch:

http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2012-May/233574.html

@zimok
zimok commented Aug 30, 2013

Cannot compile on Ubuntu Linux i686.
Tried with the patch suggested by @fergomez without success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.