Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Ocaml-3.00 sous BeOs (5.0.1 Pro) #2523

Closed
vicuna opened this issue Jul 10, 2000 · 2 comments
Closed

Compilation Ocaml-3.00 sous BeOs (5.0.1 Pro) #2523

vicuna opened this issue Jul 10, 2000 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 10, 2000

Original bug ID: 158
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Georges Mariano
Version: 3.00
OS: BeOs (5.0.1) Pro I386
Submission from: pc-debrauwer.inrets.fr (137.121.83.13)

Lorsque je recompile Ocaml-3.00 sur le tout nouveau BeOs (Intel), j'obtiens
l'erreur suivante : (visiblement probleme dans select.c ;-)
A part cela, tout semble OK auparavant...

================================================================
set -e; for i in unix str num dynlink bigarray; do (cd otherlibs/$i; /bin/make
all); done
make[2]: Entering directory /boot/var/tmp/backup�/ocaml-3.00/otherlibs/unix' gcc -I../../byterun -O -fno-defer-pop -Wall -Wno-unused -c select.c -o select.o /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:33: parse error before file_descr_set'
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:33: warning: type defaults to
int' in declaration of file_descr_set'
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:33: warning: data definition has
no type or storage class
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:35: parse error before
file_descr_set' /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c: In function fdlist_to_fdset':
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:38: warning: implicit
declaration of function FD_ZERO' /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:38: fdset' undeclared (first
use in this function)
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:38: (Each undeclared identifier
is reported only once
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:38: for each function it appears
in.)
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:39: fdlist' undeclared (first use in this function) /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:40: warning: implicit declaration of function FD_SET'
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:37: warning: l' might be used uninitialized in this function /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c: At top level: /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:44: parse error before *'
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c: In function fdset_to_fdlist': /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:50: FD_SETSIZE' undeclared
(first use in this function)
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:51: warning: implicit
declaration of function FD_ISSET' /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:51: fdset' undeclared (first
use in this function)
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:46: warning: i' might be used uninitialized in this function /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c: In function unix_select':
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:64: parse error before read' /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:75: except' undeclared (first
use in this function)
/tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:85: warning: implicit
declaration of function select' /tmp/backup�/ocaml-3.00/otherlibs/unix/select.c:85: FD_SETSIZE' undeclared
(first use in this function)
make[2]: *** [select.o] Error 1

@vicuna
Copy link
Author

vicuna commented Jul 25, 2000

Comment author: administrator

Lorsque je recompile Ocaml-3.00 sur le tout nouveau BeOs (Intel), j'obtiens
l'erreur suivante : (visiblement probleme dans select.c ;-)
A part cela, tout semble OK auparavant...

Oui, un autre utilisateur nous a signalé le problème. Cela compilait
très bien avec la précédente version de BeOS, et je n'ai pas accès à
la dernière version afin de comprendre ce qui se passe. Mais,
apparemment, les "includes" système ont changé et ne définissent plus
(ou du moins plus dans les endroits standards) le type fd_set et ses
macros d'accès (FD_SET, FD_ISSET, etc). Si vous avez le courage de
fouiller un peu dans les includes système pour mieux comprendre ce qui
se passe, tenez-moi au courant.

Cordialement,

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Aug 8, 2000

Comment author: administrator

Include problems. Fixed 2000-08-08 by Xavier by more stringent checking for
select() in configure.

@vicuna vicuna closed this as completed Aug 8, 2000
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant