Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#131 closed defect (fixed)

./configure'd OK, MPlayer fails to compile (`TIOCGWINSZ' undeclared)

Reported by: dominik@… Owned by: reimar
Priority: very important Component: core
Version: HEAD Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

$ ./configure && make
[...]
gcc -c -I../libvo -I../../libvo -O4 -mcpu=v9 -pipe -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I/local/include -I/local/include/freetype2 -o mplayer.o mplayer.c
mplayer.c: In function `print_status':
mplayer.c:819: error: storage size of `ws' isn't known
mplayer.c:820: error: `TIOCGWINSZ' undeclared (first use in this function)
mplayer.c:820: error: (Each undeclared identifier is reported only once
mplayer.c:820: error: for each function it appears in.)
make: * [mplayer.o] Error 1

Disabling termcap and termios doesn't help. While trying that, I've discovered
there's no way to disable termios, patch pending.

Attachments (2)

build.log (8.3 KB) - added by dominik@… 15 years ago.
./configure --prefix=/local output
status_line_width.diff (636 bytes) - added by reimar 15 years ago.
fix.

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by dominik@…

./configure --prefix=/local output

comment:1 Changed 15 years ago by dominik@…

comment:2 Changed 15 years ago by dominik@…

Oh, forgot to mention: this is Solaris 9, MPlayer CVS snapshot 20041108.

Changed 15 years ago by reimar

fix.

comment:3 Changed 15 years ago by reimar

  • Owner changed from alex@… to Reimar.Doeffinger@…
  • Status changed from new to assigned

comment:4 Changed 15 years ago by dominik@…

Fix works.

comment:5 Changed 15 years ago by reimar

  • Resolution set to fixed
  • Status changed from assigned to closed

Applied the patch.

Note: See TracTickets for help on using tickets.