Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#131 closed defect (fixed)

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

Reported by: Dominik 'Rathann' Mierzejewski Owned by: reimar
Priority: very important Component: core
Version: HEAD Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

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 'Rathann' Mierzejewski 19 years ago.
./configure --prefix=/local output
status_line_width.diff (636 bytes ) - added by reimar 19 years ago.
fix.

Download all attachments as: .zip

Change History (7)

by Dominik 'Rathann' Mierzejewski, 19 years ago

Attachment: build.log added

./configure --prefix=/local output

comment:1 by Dominik 'Rathann' Mierzejewski, 19 years ago

comment:2 by Dominik 'Rathann' Mierzejewski, 19 years ago

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

by reimar, 19 years ago

Attachment: status_line_width.diff added

fix.

comment:3 by reimar, 19 years ago

Owner: changed from alex@… to Reimar.Doeffinger@…
Status: newassigned

comment:4 by Dominik 'Rathann' Mierzejewski, 19 years ago

Fix works.

comment:5 by reimar, 19 years ago

Resolution: fixed
Status: assignedclosed

Applied the patch.

Note: See TracTickets for help on using tickets.