Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems compiling transcode 6.2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mbhowm10
n00b
n00b


Joined: 06 Nov 2002
Posts: 13
Location: Hattiesburg MS

PostPosted: Sun Dec 01, 2002 11:19 am    Post subject: Problems compiling transcode 6.2 Reply with quote

When compiling transcode I get the following error

Code:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../.. -I. -I../.. -I. -I./ -I../../src -I../ -I../../ -I./../../src -I./../.. -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -Wall -I -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -D_REENTRANT -march=pentium3 -mmmx -msse -pipe -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c filter_preview.c -MT filter_preview.lo -MD -MP -MF .deps/filter_preview.TPlo  -fPIC -DPIC -o filter_preview.lo
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from filter_preview.c:32:
display.h:47:21: gtk/gtk.h: No such file or directory
In file included from filter_preview.c:32:
display.h:69: parse error before "gint"
display.h:69: warning: no semicolon at end of struct or union
display.h:70: warning: type defaults to `int' in declaration of `pixels'
display.h:70: warning: data definition has no type or storage class
display.h:71: parse error before "pitches"
display.h:71: warning: type defaults to `int' in declaration of `pitches'
display.h:71: warning: data definition has no type or storage class
display.h:72: parse error before "dontdraw"
display.h:72: warning: type defaults to `int' in declaration of `dontdraw'
etc....


So far I've figured out that display.h isn't finding gtk.h. So I edit ed display.h from
Code:

#include <gtk/gtk.h>

to

#include <gtk-1.2/gtk/gtk.h>


It finds gtk.h , but then I get errors that it can't find the headers that gtk.h references.
Code:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../.. -I. -I../.. -I. -I./ -I../../src -I../ -I../../ -I./../../src -I./../.. -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -Wall -I -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -D_REENTRANT -march=pentium3 -mmmx -msse -pipe -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c filter_preview.c -MT filter_preview.lo -MD -MP -MF .deps/filter_preview.TPlo  -fPIC -DPIC -o filter_preview.lo
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from display.h:47,
                 from filter_preview.c:32:
/usr/include/gtk-1.2/gtk/gtk.h:31:21: gdk/gdk.h: No such file or directory
/usr/include/gtk-1.2/gtk/gtk.h:32:31: gtk/gtkaccelgroup.h: No such file or directory
/usr/include/gtk-1.2/gtk/gtk.h:33:31: gtk/gtkaccellabel.h: No such file or directory
/usr/include/gtk-1.2/gtk/gtk.h:34:31: gtk/gtkadjustment.h: No such file or directory
etc...

I've googled the problem and all I can find is some reference to it in a FreeBSD mailing list. They posted a patch, but unfortunately it doesn't work with the latest version of transcode. Anyway if anyone has any suggestions, it would be much appreciated.

Thanks
Meethune
Back to top
View user's profile Send private message
TheZog
n00b
n00b


Joined: 17 Aug 2002
Posts: 57
Location: Sunny Seattle

PostPosted: Wed Dec 11, 2002 5:06 am    Post subject: Reply with quote

Re-emerge gtk+, that did it for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum