ispCP - Board - Support
Gentoo, PPC: expected specifier-qualifier-list before 'stack_t' - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Gentoo, PPC: expected specifier-qualifier-list before 'stack_t' (/thread-4035.html)



Gentoo, PPC: expected specifier-qualifier-list before 'stack_t' - unugmax - 08-14-2008 12:40 AM

Hi,

just try to install ispCP on a Gentoo Linux driven by a PPC. When I run the make command: make -f Makefile.gentoo install I get this as an answer:

Code:
[size=xsmall]gargamel ispcp-omega-1.0.0 # make -f Makefile.gentoo install
cd ./tools && make install
make[1]: Entering directory `/usr/local/src/ispcp/ispcp-omega-1.0.0/tools'
(cd ./daemon; \
        make ispcp_daemon;)
make[2]: Entering directory `/usr/local/src/ispcp/ispcp-omega-1.0.0/tools/daemon'
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o ispcp_daemon.o ispcp_daemon.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o message.o message.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o daemon_init.o daemon_init.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o say.o say.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o signal-handlers.o signal-handlers.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o receive_data.o receive_data.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o send_data.o send_data.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o take_connection.o take_connection.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o send_line.o send_line.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o recv_line.o recv_line.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o helo_cmd.o helo_cmd.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o helo_syntax.o helo_syntax.c
helo_syntax.c: In function 'helo_syntax':
helo_syntax.c:22: warning: ISO C90 forbids mixed declarations and code
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o lr_cmd.o lr_cmd.c
gcc -ansi -Wall -Wstrict-prototypes -pedantic -c -O3 -o lr_syntax.o lr_syntax.c
In file included from /usr/include/sys/procfs.h:30,
                 from lr_syntax.c:10:
/usr/include/sys/ucontext.h:139: error: expected specifier-qualifier-list before 'stack_t'
make[2]: *** [lr_syntax.o] Error 1
make[2]: Leaving directory `/usr/local/src/ispcp/ispcp-omega-1.0.0/tools/daemon'
make[1]: *** [daemon/ispcp_daemon] Error 2
make[1]: Leaving directory `/usr/local/src/ispcp/ispcp-omega-1.0.0/tools'
make: *** [install] Error 2[/size]

I use GCC 4.1.2 with. If you need more information just ask Smile

I can´t really figure out whats the problem, maybe it doesn´t like the PPC or something like that. Would be thankfull for every help.

Thanks!
Max


RE: Gentoo, PPC: expected specifier-qualifier-list before 'stack_t' - unugmax - 08-14-2008 12:50 AM

Well ... I solved it for the moment by using this solution: http://isp-control.net/forum/error-on-alpha-server-t-1719.html

Didn´t find it first since I was looking for PPC related threads.

cu
Max