Problems with makeenums.pl



O.k., now I subscribed to the list and will post my question, again:

------- Forwarded Message
Hello,

I am trying to build gtk+ on a SunOS 5.5.1 but end in an error and am
posting to this list in the hope that someone can give me a hint how
to solve the problem.  As I didn't subscribe to gtk-list@redhat.com, a
Cc to my email address would be nice.

Until now I tried to build gtk+-1.2.0 as well as gtk+-1.1.16 but the
result was the same.  The version of the perl interpreter I use is 5.000.

The error occurs, when the perl script makeenums.pl in the directory 
the_gtk+_directory/gtk is being executed.  It produces a huge list of
messages. So, I only add the output generated when executing the script
on just one header file gtktoolbar.h:

- - the output (stdout + stderr) ---------------------------------------
gouders: makeenums.pl defs gtktoolbar.h
Unquoted string "skip" may clash with future reserved word at makeenums.pl line 78.
Unquoted string "nick" may clash with future reserved word at makeenums.pl line 79.
Unquoted string "prefix" may clash with future reserved word at makeenums.pl line 131.
Unquoted string "flags" may clash with future reserved word at makeenums.pl line 132.
Identifier "main::seenbitshift" used only once: possible typo at makeenums.pl line 74.
Identifier "main::flags" used only once: possible typo at makeenums.pl line 73.
Identifier "main::enumname" used only once: possible typo at makeenums.pl line 57.
;; generated by makeenums.pl  ; -*- scheme -*-
 
Can't understand:   GTK_TOOLBAR_CHILD_SPACE, 
Can't understand:   GTK_TOOLBAR_CHILD_BUTTON, 
Can't understand:   GTK_TOOLBAR_CHILD_TOGGLEBUTTON, 
Can't understand:   GTK_TOOLBAR_CHILD_RADIOBUTTON, 
Can't understand:   GTK_TOOLBAR_CHILD_WIDGET 
Use of uninitialized value at makeenums.pl line 172, <> line 49.
 
; enumerations from "gtktoolbar.h"
Use of uninitialized value at makeenums.pl line 193, <> line 49.
 
(define-enum )
Can't understand:   GTK_TOOLBAR_SPACE_EMPTY, 
Can't understand:   GTK_TOOLBAR_SPACE_LINE 
Use of uninitialized value at makeenums.pl line 172, <> line 55.
Use of uninitialized value at makeenums.pl line 193, <> line 55.
 
(define-enum )
Read on closed filehandle <ARGV> at makeenums.pl line 123.

- - end of output ------------------------------------------------------

Well, I guess that this output is not desired and would appreciate any
hint how to get things working correct.

Cheers,

Dirk
             ______________________________________________
____________/ Dirk Gouders <gouders@spp.hpc.fujitsu.co.jp> \____________
- ------------------------------------------------------------------------

------- End of Forwarded Message



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