LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   tv-out nVidia (https://www.linuxquestions.org/questions/mandriva-30/tv-out-nvidia-190817/)

OpsVentus 06-07-2004 04:15 PM

tv-out nVidia
 
Good day,

Tonight I've installed Mandrake 10.0 and I'm glad to have made the step to linux, after a 100 days programming in win98 on my work I don't want to come home and see the word M$.

Every thing is going well so far, but now I would like to use my tv-out on my nVidia GeForce4 videocard. On Windows I had the possibility to send the video I'm playing full screen to the tv-out. Is this possible on Mandrake?

I've tried to install the nVidia driver but it gives an error about my kernel.

Can anyone tell me what I need to do to get my tv-out to work?

leonscape 06-07-2004 05:21 PM

You don't actually need to install the Nvidia drivers, but what error do you get?

What your probably looking for is NvTv Which is still in Alpha at the moment, but works very well.

OpsVentus 06-18-2004 11:56 AM

make failed for nvtv
 
Good day,

I'm trying to install nvtv on Mandrake 10.0.
After './configure' I type 'make' and It says this:

[root@localhost lib]# make
/bin/sh ./libtool --mode=compile gcc -I. -I. -I../src -INONE -g -c nvtv_simple.c
mkdir .libs
gcc -I. -I. -I../src -INONE -g -Wp,-MD,.deps/nvtv_simple.pp -c nvtv_simple.c -fPIC -DPIC -o .libs/nvtv_simple.o
In file included from /usr/include/linux/cpumask.h:8,
from /usr/include/asm/smp.h:11,
from /usr/include/linux/smp.h:13,
from /usr/include/linux/percpu.h:5,
from local.h:4,
from nvtv_simple.c:30:
/usr/include/linux/bitmap.h: In function `bitmap_empty':
/usr/include/linux/bitmap.h:15: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h:15: error: (Each undeclared identifier is reported only once
/usr/include/linux/bitmap.h:15: error: for each function it appears in.)
/usr/include/linux/bitmap.h: In function `bitmap_full':
/usr/include/linux/bitmap.h:29: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_equal':
/usr/include/linux/bitmap.h:44: error: `BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_shift_right':
/usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_shift_left':
/usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function `bitmap_weight':
/usr/include/linux/bitmap.h:144: error: `BITS_PER_LONG' undeclared (first use in this function)
In file included from /usr/include/asm/smp.h:11,
from /usr/include/linux/smp.h:13,
from /usr/include/linux/percpu.h:5,
from local.h:4,
from nvtv_simple.c:30:
/usr/include/linux/cpumask.h:10:5: missing binary operator before token "("
/usr/include/linux/cpumask.h:34:5: missing binary operator before token "("
In file included from local.h:4,
from nvtv_simple.c:30:
/usr/include/linux/percpu.h: In function `__alloc_percpu':
/usr/include/linux/percpu.h:46: error: `GFP_KERNEL' undeclared (first use in this function)
In file included from /usr/include/stdlib.h:416,
from nvtv_simple.c:32:
/usr/include/sys/types.h: At top level:
/usr/include/sys/types.h:62: error: conflicting types for `dev_t'
/usr/include/linux/types.h:13: error: previous declaration of `dev_t'
/usr/include/sys/types.h:67: error: conflicting types for `gid_t'
/usr/include/linux/types.h:26: error: previous declaration of `gid_t'
/usr/include/sys/types.h:72: error: conflicting types for `mode_t'
/usr/include/linux/types.h:15: error: previous declaration of `mode_t'
/usr/include/sys/types.h:77: error: conflicting types for `nlink_t'
/usr/include/linux/types.h:16: error: previous declaration of `nlink_t'
/usr/include/sys/types.h:82: error: conflicting types for `uid_t'
/usr/include/linux/types.h:25: error: previous declaration of `uid_t'
In file included from /usr/include/sys/types.h:216,
from /usr/include/stdlib.h:416,
from nvtv_simple.c:32:
/usr/include/sys/select.h:78: error: conflicting types for `fd_set'
/usr/include/linux/types.h:12: error: previous declaration of `fd_set'
In file included from nvtv_simple.c:40:
back_client.h:29:19: debug.h: No such file or directory
back_client.h:30:21: backend.h: No such file or directory
In file included from nvtv_simple.c:40:
back_client.h:32: error: parse error before "back_client_avail"
back_client.h:32: warning: data definition has no type or storage class
back_client.h:33: error: parse error before "back_client_init"
back_client.h:33: warning: data definition has no type or storage class
back_client.h:37: error: parse error before "card"
back_client.h:45: error: parse error before "chip"
back_client.h:46: error: parse error before '*' token
back_client.h:47: error: parse error before '*' token
back_client.h:48: error: parse error before '*' token
back_client.h:49: error: parse error before '*' token
back_client.h:50: error: parse error before '*' token
back_client.h:51: error: parse error before '*' token
back_client.h:53: error: parse error before "bcl_getConnection"
back_client.h:53: warning: data definition has no type or storage class
back_client.h:54: error: parse error before "bcl_findBySize"
back_client.h:54: error: parse error before "system"
back_client.h:55: warning: data definition has no type or storage class
back_client.h:56: error: parse error before "bcl_findByOverscan"
back_client.h:56: error: parse error before "system"
back_client.h:57: warning: data definition has no type or storage class
back_client.h:60: error: parse error before "bcl_getTwinView"
back_client.h:60: warning: data definition has no type or storage class
back_client.h:61: error: parse error before "bcl_adjustViewportVideo"
back_client.h:61: warning: data definition has no type or storage class
back_client.h:62: error: parse error before "bcl_serviceViewportVideoCursor"
back_client.h:63: warning: data definition has no type or storage class
In file included from nvtv_simple.c:42:
resize.h:2:19: X11/X.h: No such file or directory
resize.h:3:22: X11/Xlib.h: No such file or directory
nvtv_simple.c:63: error: parse error before "back_card"
nvtv_simple.c:63: warning: data definition has no type or storage class
nvtv_simple.c:64: error: parse error before "back_access"
nvtv_simple.c:64: warning: data definition has no type or storage class
nvtv_simple.c:69: error: parse error before "old_tvregs"
nvtv_simple.c:69: warning: data definition has no type or storage class
nvtv_simple.c:70: error: parse error before "old_settings"
nvtv_simple.c:70: warning: data definition has no type or storage class
nvtv_simple.c:79: error: parse error before "opt_system"
nvtv_simple.c:79: error: `TV_SYSTEM_PAL' undeclared here (not in a function)
nvtv_simple.c:79: warning: data definition has no type or storage class
nvtv_simple.c:80: error: parse error before "opt_connect"
nvtv_simple.c:80: error: `CONNECT_NONE' undeclared here (not in a function)
nvtv_simple.c:80: warning: data definition has no type or storage class
nvtv_simple.c:82: error: parse error before '*' token
nvtv_simple.c:82: warning: data definition has no type or storage class
nvtv_simple.c:84: error: parse error before '*' token
nvtv_simple.c:84: warning: data definition has no type or storage class
nvtv_simple.c: In function `tvmode_connect':
nvtv_simple.c:92: error: `CardPtr' undeclared (first use in this function)
nvtv_simple.c:92: error: parse error before "main_card_list"
nvtv_simple.c:99: error: `main_card_list' undeclared (first use in this function)
nvtv_simple.c:117: error: `main_card' undeclared (first use in this function)
nvtv_simple.c:128: error: invalid type argument of `->'
nvtv_simple.c: In function `tvmode_disconnect':
nvtv_simple.c:141: error: invalid type argument of `->'
nvtv_simple.c: In function `tvmode_savestate':
nvtv_simple.c:149: error: invalid type argument of `->'
nvtv_simple.c:150: error: invalid type argument of `->'
nvtv_simple.c: In function `tvmode_restorestate':
nvtv_simple.c:161: error: invalid type argument of `->'
nvtv_simple.c: In function `tvmode_settvstate':
nvtv_simple.c:176: error: `TVSettings' undeclared (first use in this function)
nvtv_simple.c:176: error: parse error before "settings"
nvtv_simple.c:177: error: `TVMode' undeclared (first use in this function)
nvtv_simple.c:178: error: `modes' undeclared (first use in this function)
nvtv_simple.c:208: error: `TV_SYSTEM_NTSC' undeclared (first use in this function)
nvtv_simple.c:261: error: invalid type argument of `->'
nvtv_simple.c:261: error: `mode' undeclared (first use in this function)
nvtv_simple.c:273: error: invalid type argument of `->'
nvtv_simple.c:273: error: `settings' undeclared (first use in this function)
nvtv_simple.c:274: error: `CONNECT_NONE' undeclared (first use in this function)
nvtv_simple.c:277: error: `CONNECT_BOTH' undeclared (first use in this function)
nvtv_simple.c:280: error: `DEV_MONITOR' undeclared (first use in this function)
nvtv_simple.c:280: error: `DEV_TELEVISION' undeclared (first use in this function)
nvtv_simple.c:281: error: `TV_DESC_DUALVIEW' undeclared (first use in this function)
nvtv_simple.c:287: error: invalid type argument of `->'
nvtv_simple.c: In function `init_modes':
nvtv_simple.c:304: error: invalid type argument of `->'
nvtv_simple.c:304: error: `TV_SYSTEM_PAL' undeclared (first use in this function)
nvtv_simple.c:306: error: invalid type argument of `->'
nvtv_simple.c:306: error: `TV_SYSTEM_NTSC' undeclared (first use in this function)
nvtv_simple.c: In function `nvtv_simple_set_tvsystem':
nvtv_simple.c:448: error: `TV_SYSTEM_PAL' undeclared (first use in this function)
nvtv_simple.c:451: error: `TV_SYSTEM_NTSC' undeclared (first use in this function)
nvtv_simple.c: In function `raise_msg':
nvtv_simple.c:492: error: `MSG_DEBUG_NL' undeclared (first use in this function)
nvtv_simple.c:506: error: `MSG_ABORT' undeclared (first use in this function)
nvtv_simple.c:509: error: `MSG_WARNING' undeclared (first use in this function)
nvtv_simple.c:512: error: `MSG_INFO' undeclared (first use in this function)
nvtv_simple.c:515: error: `MSG_DEBUG' undeclared (first use in this function)
nvtv_simple.c:519: error: `MSG_ERROR' undeclared (first use in this function)
make: *** [nvtv_simple.lo] Error 1
[root@localhost lib]#

Anyone knows what I'm doing wrong?

leonscape 06-18-2004 12:03 PM

You might want to check there list of dependancies ( maybe your missing some libs ). Also what version of GCC its been tested on.

Did you read the install file?


All times are GMT -5. The time now is 12:25 PM.