Closed Bug 275233 Opened 20 years ago Closed 19 years ago

In compiling any function of the suite, or just firefox, or anything...

Categories

(SeaMonkey :: Build Config, defect)

1.7 Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: marc, Unassigned)

Details

It would appear that the elf-dynstr-gc.c does not allow for glib.h to be in
/usr/local/include/glib-2.0/ and when doing ln -s
/usr/local/include/glib-2.0/glib.h /usr/local/include/glib.h even more problems
arise...

gcc -DOSTYPE=\"Linux2.6.9inarpa\" -DOSARCH=\"Linux\"   -I../dist/include
-I../dist/include -I/usr/local/home/marc/mozilla/suite-opt/dist/include/nspr   
 -I/usr/X11R6/include   -fPIC -I/usr/X11R6/include -Wall -W -Wno-unused
-Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pthread -pipe  -DNDEBUG
-DTRIMMED -O3  -I/usr/X11R6/include -include ../mozilla-config.h
-DMOZILLA_CLIENT   -o elf-dynstr-gc
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:32:18: glib.h: No such file
or directory
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:45: error: parse error
before '*' token
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:45: warning: type defaults
to `int' in declaration of `used_dynamic_symbols'
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:45: error: ISO C forbids
data definition with no type or storage class
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: In function `read_word':
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:63: warning: implicit
declaration of function
`GUINT32_SWAP_LE_BE'/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: In
function `read_sword':
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:71: error: `guint32'
undeclared (first use in this function)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:71: error: (Each undeclared
identifier is reported only once
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:71: error: for each function
it appears in.)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:71: error: parse error
before "w"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: In function `read_half':
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:87: warning: implicit
declaration of function
`GUINT16_SWAP_LE_BE'/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: In
function `possibly_add_string':
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:344: warning: implicit
declaration of function `g_hash_table_lookup'
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:344: error: `gpointer'
undeclared (first use in this function)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:344: error: parse error
before "name_idx"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:348: warning: implicit
declaration of function `g_new'
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:348: error: parse error
before "struct"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:352: warning: implicit
declaration of function `g_strdup'
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:352: warning: assignment
makes pointer from integer without a
cast/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:354: warning: implicit
declaration of function `g_hash_table_insert'
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:354: error: parse error
before "name_idx"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: In function `fixup_string':
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:368: error: `gpointer'
undeclared (first use in this function)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:368: error: parse error
before "old_idx"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: At top level:
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:601: error: parse error
before "sum_size"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:601: error: parse error
before "key"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:604: warning: return type
defaults to `int'
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: In function `sum_size':
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:605: error: `size'
undeclared (first use in this function)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:605: error: `sym' undeclared
(first use in this function)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: At top level:
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:614: error: parse error
before "output_string"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:614: error: parse error
before "key"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:617: warning: return type
defaults to `int'
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: In function `output_string':
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:618: error: `sym' undeclared
(first use in this function)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:618: error: `x' undeclared
(first use in this function)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: In function
`generate_new_dynstr':
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:633: warning: implicit
declaration of function `g_hash_table_foreach'
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:634: error: `GHFunc'
undeclared (first use in this function)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:634: error: parse error
before "sum_size"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:638: warning: implicit
declaration of function `g_malloc'
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:638: warning: assignment
makes pointer from integer without a
cast/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:644: error: parse error
before "output_string"
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c: In function `main':
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:1090: warning: implicit
declaration of function
`g_hash_table_new'/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:1090:
error: `g_direct_hash' undeclared (first use in this function)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:1090: error:
`g_direct_equal' undeclared (first use in this function)
/usr/local/home/marc/mozilla/config/elf-dynstr-gc.c:1090: warning: assignment
makes pointer from integer without a cast
gmake[2]: *** [elf-dynstr-gc] Error 1
gmake[2]: Leaving directory `/usr/local/home/marc/mozilla/suite-opt/config'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/usr/local/home/marc/mozilla/suite-opt'
gmake: *** [build] Error 2
Assignee: general → nobody
Status: UNCONFIRMED → NEW
Component: General → Build Config
Ever confirmed: true
QA Contact: general → build-config
There's some details missing here.  How was the build configured?  What does
GLIB_CFLAGS contain?  What does `pkg-config --cflags glib-2.0` return?
Marking invalid due to missing build information.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.