Re: debug of my problems with mc 4.5.30



> Hello sri,
> 
> On Wed, 14 Apr 1999 09:03:26 -0700 (PDT)
> Sri Ramkrishna <sri@aracnet.com> wrote:
> 
> > After some debugging, of the gcorba.c file in the gnome subdirectory, I've
> > traced my problem to this line:
> > typedef struct {
> >       POA_GNOME_FileManagerWindow servant <<<<-- Over here, it's right
> > here!
> 
> Excellent job finding what is causing the problem.  Here's the
> solution:-

Thanks!  I was beginning to think that my problem was too localized for
everyone to take a crack at it.

> I suppose you have ORBit 0.4.3 and gnome-libs 1.0.8. If not, you must

Yep:

orbit-config --version
ORBit 0.4.3
gnome-config --version
gnome-libs 1.0.8

> 1. Go to you mc-4.5.30 directory:
> 2. Enter:
> 'rm -f gnome/FileManager.h; make -C gnome FileManager.h'
> (no need to 'make clean' beforehand)

Should I be doing a clean afterwords?

> Now you should be able to compile without error

Unfortunately, this is not the case.  I still have the exact same error.
I'm still puzzled as where POA_FileManager_Window is defined.  It makes a
typedef to a struct of which one of it's members is
POA_Gnome_FileManager_Window.  However, the definition for this is not
found anywhere.  It's a macro or a typedef in itself and it must be
containing an error otherwise I wouldn't have gotten a parsing error.

I thought for a moment that it was a localized problem only to my computer
at work.  But my machine at home is doing the same thing and it has a
different configuration.  Typically, I've gotten one or the other to
build, and usually can find what the difference is and fix it.  But this
seems to be consistent.  

I'm surprised nobody else has this problem.  This is on a red hat 5.2
system I"m using RedHat 5.2 on one system and a Mandrake Linux system on
the other.  

	sri

Just an FYI.  Here is the compile information again:

gcc -c -I..  -I./..  -I./../vfs -I.. -DBINDIR=\""/usr/local/gnome/bin/"\"
-DLIBD
IR=\""/usr/local/gnome/lib/mc/"\"
-DICONDIR=\""/usr/local/gnome/share/pixmaps/mc
/"\"  -DLOCALEDIR=\""/usr/local/gnome/share/locale/"\"
-DCONFDIR=\""/usr/local/g
nome/etc/"\"
-DDESKTOP_INIT_DIR=\""/usr/local/gnome/lib/mc/desktop-scripts/"\" -
I./../vfs -DHAVE_X -DHAVE_GNOME -I/usr/local/gnome/include
-DNEED_GNOMESUPPORT_H
 -I/usr/local/gnome/lib/gnome-libs/include -I/usr/local/lib/glib/include
-I/usr/
local/include -I/usr/X11R6/include  -DHAVE_CONFIG_H -g -g
-I/usr/local/lib/glib/
include -I/usr/local/include  -I/usr/X11R6/include -I. -I./../src gcorba.c
gcorba.c:45: parse error before `*'
gcorba.c:47: parse error before `*'
gcorba.c:50: parse error before `*'
gcorba.c:54: parse error before `*'
gcorba.c:59: parse error before `*'
gcorba.c:65: parse error before `*'
gcorba.c:124: parse error before `impl_POA_GNOME_FileManagerWindow'
gcorba.c: In function `impl_GNOME_FileManagerWindow__create':
gcorba.c:128: `impl_POA_GNOME_FileManagerWindow' undeclared (first use
this func
tion)
gcorba.c:128: (Each undeclared identifier is reported only once
gcorba.c:128: for each function it appears in.)
gcorba.c:128: `newservant' undeclared (first use this function)
gcorba.c:129: parse error before `*'
gcorba.c:131: parse error before `)'
gcorba.c:133: `poa' undeclared (first use this function)
gcorba.c:134: `ev' undeclared (first use this function)
gcorba.c:135: `objid' undeclared (first use this function)
gcorba.c:139: `servant' undeclared (first use this function)
gcorba.c: At top level:
gcorba.c:147: parse error before `*'
gcorba.c: In function `impl_GNOME_FileManagerWindow__destroy':
gcorba.c:152: `servant' undeclared (first use this function)
gcorba.c:152: `ev' undeclared (first use this function)
gcorba.c: At top level:
gcorba.c:161: parse error before `*'
gcorba.c: In function `impl_GNOME_FileManagerWindow_close':
gcorba.c:164: `servant' undeclared (first use this function)
gcorba.c: At top level:
gcorba.c:169: parse error before `impl_POA_GNOME_FileManagerFactory'
gcorba.c: In function `impl_GNOME_FileManagerFactory__create':
gcorba.c:173: `impl_POA_GNOME_FileManagerFactory' undeclared (first use
this function)
gcorba.c:174: parse error before `*'
gcorba.c:176: parse error before `)'
gcorba.c:178: `poa' undeclared (first use this function)
gcorba.c:179: `ev' undeclared (first use this function)
gcorba.c:180: `objid' undeclared (first use this function)
gcorba.c:184: `servant' undeclared (first use this function)
gcorba.c: At top level:
gcorba.c:192: parse error before `*'
gcorba.c: In function `impl_GNOME_FileManagerFactory__destroy':
gcorba.c:197: `servant' undeclared (first use this function)
gcorba.c:197: `ev' undeclared (first use this function)
gcorba.c: At top level:
gcorba.c:206: parse error before `*'
gcorba.c: In function `impl_GNOME_FileManagerFactory_supports':
gcorba.c:210: `obj_goad_id' undeclared (first use this function)
gcorba.c: At top level:
gcorba.c:217: parse error before `*'
gcorba.c: In function `impl_GNOME_FileManagerFactory_create_object':
gcorba.c:222: `goad_id' undeclared (first use this function)
gcorba.c:223: `ev' undeclared (first use this function)
gcorba.c:230: `servant' undeclared (first use this function)
gcorba.c:231: `params' undeclared (first use this function)
gcorba.c: In function `panel_destroyed':
gcorba.c:239: `impl_POA_GNOME_FileManagerWindow' undeclared (first use
this func
tion)
gcorba.c:239: `servant' undeclared (first use this function)
gcorba.c:240: parse error before `ev'
gcorba.c:244: `ev' undeclared (first use this function)
gcorba.c: At top level:
gcorba.c:250: parse error before `*'
gcorba.c: In function `impl_GNOME_FileManagerFactory_create_window':
gcorba.c:255: `impl_POA_GNOME_FileManagerWindow' undeclared (first use
this func
tion)
gcorba.c:255: `newservant' undeclared (first use this function)
gcorba.c:256: parse error before `*'
gcorba.c:258: `servant' undeclared (first use this function)
gcorba.c:260: `ev' undeclared (first use this function)
gcorba.c:262: `panel' undeclared (first use this function)
gcorba.c:262: `dir' undeclared (first use this function)
gmake[2]: *** [gcorba.o] Error 1
gmake[2]: Leaving directory `/scratch/mc-4.5.30/gnome'
gmake[1]: *** [mx] Error 2
gmake[1]: Leaving directory `/scratch/mc-4.5.30/gnome'
gmake: *** [all] Error 1


---------------------------------------------------------------------------
Sri Ramkrishna         /|\ Unix is very user friendly, its just very picky
email: sri@aracnet.com -|- on who it is friendly to. -- Unknown? 
phone: 503-356-1078    \|/ 
---------------------------------------------------------------------------
                        |





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]