Home > Archive > Scheme > August 2005 > problem building scsh on Fedora Core 4
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
problem building scsh on Fedora Core 4
|
|
| Patrick May 2005-08-13, 5:01 pm |
| Please excuse the cross-posting; comp.lang.scheme.scsh seems
dead. I've downloaded scsh version 0.6.6 from scsh.net and attempted
to build it under Fedora Core 4. I get a number of "incompatible
implicit declaration of built-in function" warnings for things like
memcpy and strlen, followed by:
gcc -c -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/libscsh.o scsh/libscsh.c
scsh/libscsh.c: In function 's48_vcommand':
scsh/libscsh.c:29: warning: incompatible implicit declaration of built-in function 'exit'
gcc -c -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/md5.o scsh/md5.c
scsh/md5.c: In function 'MD5Update_stub':
scsh/md5.c:317: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness
scsh/md5.c: In function 'MD5Final_stub':
scsh/md5.c:325: warning: pointer targets in passing argument 1 of 's48_enter_substring' differ in signedness
gcc -c -DHAVE_CONFIG_H -I./c -I./cig -O2 -o scsh/proc2.o scsh/proc2.c
gcc -c -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/srfi/srfi-27.o c/srfi/srfi-27.c
gcc -c -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/unix/misc.o c/unix/misc.c
gcc -c -DHAVE_CONFIG_H -I./c -I./cig -O2 -o c/unix/io.o c/unix/io.c
c/unix/io.c: In function 'ps_write_integer':
c/unix/io.c:154: error: invalid storage class for function 'write_integer'
c/unix/io.c: At top level:
c/unix/io.c:171: error: conflicting types for 'write_integer'
c/unix/io.c:160: error: previous implicit declaration of 'write_integer' was here
make: *** [c/unix/io.o] Error 1
Has anyone successfully built scsh in this environment?
Thanks,
Patrick
------------------------------------------------------------------------
S P Engineering, Inc. | The experts in large scale distributed OO
| systems design and implementation.
pjm@spe.com | (C++, Java, Common Lisp, Jini, CORBA, UML)
| |
| Michael Sperber 2005-08-14, 4:00 am |
|
Patrick May <pjm@spe.com> writes:
> Please excuse the cross-posting; comp.lang.scheme.scsh seems
> dead.
The right place would be scsh-users@scsh.net---look on www.scsh.net
under "support."
> c/unix/io.c: In function 'ps_write_integer':
> c/unix/io.c:154: error: invalid storage class for function 'write_integer'
> c/unix/io.c: At top level:
> c/unix/io.c:171: error: conflicting types for 'write_integer'
> c/unix/io.c:160: error: previous implicit declaration of 'write_integer' was here
> make: *** [c/unix/io.o] Error 1
That seems strange---the declarations are completely identical.
Does moving the definition of write_integer before ps_write_integer
(and eliding the local forward declaration) help?
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
| |
| Patrick May 2005-08-14, 9:00 am |
| Michael Sperber <sperber@informatik.uni-tuebingen.de> writes:
> Patrick May <pjm@spe.com> writes:
>
> That seems strange---the declarations are completely identical.
>
> Does moving the definition of write_integer before ps_write_integer
> (and eliding the local forward declaration) help?
That fixed it! Admit it, you put that bit of strangeness in
there to give yourself an opportunity to look insightful. ;-)
Thanks,
Patrick
------------------------------------------------------------------------
S P Engineering, Inc. | The experts in large scale distributed OO
| systems design and implementation.
pjm@spe.com | (C++, Java, Common Lisp, Jini, CORBA, UML)
|
|
|
|
|