Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Danke 

This post has been edited 1 times, last edit by "schwatter" (Oct 9th 2007, 7:00pm)


|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
minivdr:/usr/src# gcc -o tvout_setup tvout_setup.c tvout_setup.c: In function ‘fs454_read’: tvout_setup.c:143: error: ‘I2C_SLAVE_FORCE’ undeclared (first use in this function) tvout_setup.c:143: error: (Each undeclared identifier is reported only once tvout_setup.c:143: error: for each function it appears in.) tvout_setup.c: In function ‘fs454_write’: tvout_setup.c:157: error: ‘I2C_SLAVE_FORCE’ undeclared (first use in this function) tvout_setup.c: In function ‘memOpen’: tvout_setup.c:203: warning: incompatible implicit declaration of built-in function ‘exit’ tvout_setup.c:209: warning: incompatible implicit declaration of built-in function ‘exit’ tvout_setup.c: In function ‘stv6412a_setup’: tvout_setup.c:258: error: ‘I2C_SLAVE_FORCE’ undeclared (first use in this function) |
This post has been edited 1 times, last edit by "Toxic-Tonic" (Oct 9th 2007, 7:01pm)
Quoted
welche i2c-dev muss geändert werden?
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
smt ~ # gcc -o tvout_setup tvout_setup.c tvout_setup.c: In function 'fs454_read': tvout_setup.c:143: error: 'I2C_SLAVE_FORCE' undeclared (first use in this function) tvout_setup.c:143: error: (Each undeclared identifier is reported only once tvout_setup.c:143: error: for each function it appears in.) tvout_setup.c: In function 'fs454_write': tvout_setup.c:157: error: 'I2C_SLAVE_FORCE' undeclared (first use in this function) tvout_setup.c: In function 'memOpen': tvout_setup.c:203: warning: incompatible implicit declaration of built-in function 'exit' tvout_setup.c:209: warning: incompatible implicit declaration of built-in function 'exit' tvout_setup.c: In function 'stv6412a_setup': tvout_setup.c:258: error: 'I2C_SLAVE_FORCE' undeclared (first use in this function) |
This post has been edited 1 times, last edit by "Uwe" (Oct 9th 2007, 7:19pm)
gestartet werden
This post has been edited 3 times, last edit by "schwatter" (Oct 9th 2007, 7:13pm)
Quoted
Original von Toxic-Tonic
@ Egalus: Debian Etch ?
Scheint mit gcc 4.x nicht zu gehen!
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
tvout_setup.c: In Funktion »memOpen«: tvout_setup.c:204: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »exit« tvout_setup.c:210: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »exit« /tmp/ccjv9ZXF.o: In function `fs454_read': tvout_setup.c:(.text+0x5c): undefined reference to `i2c_smbus_read_byte_data' tvout_setup.c:(.text+0x7d): undefined reference to `i2c_smbus_read_word_data' tvout_setup.c:(.text+0xa1): undefined reference to `i2c_smbus_read_word_data' tvout_setup.c:(.text+0xc2): undefined reference to `i2c_smbus_read_word_data' /tmp/ccjv9ZXF.o: In function `fs454_write': tvout_setup.c:(.text+0x144): undefined reference to `i2c_smbus_write_byte_data' tvout_setup.c:(.text+0x16b): undefined reference to `i2c_smbus_write_word_data' tvout_setup.c:(.text+0x196): undefined reference to `i2c_smbus_write_block_data' /tmp/ccjv9ZXF.o: In function `stv6412a_setup': tvout_setup.c:(.text+0x4d1): undefined reference to `i2c_smbus_write_byte_data' collect2: ld gab 1 als Ende-Status zurück |
Quoted
Original von swer
Ich habe "I2C_SLAVE_FORCE" in "linux/i2c.h" gefunden und das zu den includs genommen jetzt habe ich neu Fehler.
![]()
Source code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 tvout_setup.c: In Funktion »memOpen«: tvout_setup.c:204: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »exit« tvout_setup.c:210: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »exit« /tmp/ccjv9ZXF.o: In function `fs454_read': tvout_setup.c:(.text+0x5c): undefined reference to `i2c_smbus_read_byte_data' tvout_setup.c:(.text+0x7d): undefined reference to `i2c_smbus_read_word_data' tvout_setup.c:(.text+0xa1): undefined reference to `i2c_smbus_read_word_data' tvout_setup.c:(.text+0xc2): undefined reference to `i2c_smbus_read_word_data' /tmp/ccjv9ZXF.o: In function `fs454_write': tvout_setup.c:(.text+0x144): undefined reference to `i2c_smbus_write_byte_data' tvout_setup.c:(.text+0x16b): undefined reference to `i2c_smbus_write_word_data' tvout_setup.c:(.text+0x196): undefined reference to `i2c_smbus_write_block_data' /tmp/ccjv9ZXF.o: In function `stv6412a_setup': tvout_setup.c:(.text+0x4d1): undefined reference to `i2c_smbus_write_byte_data' collect2: ld gab 1 als Ende-Status zurück
Saubere Arbeit Jungs, werde jetzt erstmal die Bildqualität testen.
Quoted
Original von splatterboy
@Maniac: Respekt!
läuft bei mir auf zenslack.
Bei den Artefakten bin ich mir nicht ganz sicher. Sieht aber auf den ersten
Blick wie 16Bit aus (habe ich zum Vergleich in der xorg.conf mal eingestellt)
Aber ich denke selbst wenn das so ist, bekommt das auch noch jemand hin.
Gruß
Splatterboy
Quoted
Original von Maniac
@all die Compiler Probs haben: Entpackt mal die angehängte Datei nach /usr/include/linux
Das hat bei mir unter hjslfs geholfen und ich konnte das ganze erfolgreich kompilieren.