Problem reinstalling toolchain: error in pex-unix

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
PinkPeach
Posts: 23
Joined: Wed Mar 02, 2005 10:36 pm

Problem reinstalling toolchain: error in pex-unix

Post by PinkPeach »

dear all, i have a big problem,

that s my second try at reinstalling the toolchain in two days after a system clean install, and i always encounter the same error:

Code: Select all

../../../libiberty/pex-unix.c: In function 'pex_unix_open_read':
../../../libiberty/pex-unix.c:310: warning: implicit declaration of function 'op
en'
../../../libiberty/pex-unix.c:310: error: 'O_RDONLY' undeclared (first use in th
is function)
../../../libiberty/pex-unix.c:310: error: (Each undeclared identifier is reporte
d only once
../../../libiberty/pex-unix.c:310: error: for each function it appears in.)
../../../libiberty/pex-unix.c: In function 'pex_unix_open_write':
../../../libiberty/pex-unix.c:321: error: 'O_WRONLY' undeclared (first use in th
is function)
../../../libiberty/pex-unix.c:321: error: 'O_CREAT' undeclared (first use in thi
s function)
../../../libiberty/pex-unix.c:321: error: 'O_TRUNC' undeclared (first use in thi
s function)
../../../libiberty/pex-unix.c: In function 'pex_unix_wait':
../../../libiberty/pex-unix.c:468: warning: implicit declaration of function 'ki
ll'
make[2]: *** [pex-unix.o] Error 1
[code]

Using latest cygwin (of course with devel - install), and fresh toolchain scripts from subversion.

Is that "normal", or do i have to change the code to fix the error ?

tia guys[/quote]
Post Reply