Closed Bug 1207129 Opened 9 years ago Closed 9 years ago

Building firefox 34 in AIX6.1 using gcc

Categories

(Firefox Build System :: General, defect)

34 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ayappanec, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36

Steps to reproduce:

I was trying to build firefox 34 in AIX6.1 using gcc. I encountered numerous issues most of them are related to OS specific compilation macros. 
Finally i encountered the below errors for which i have no idea. 

 7:27.70                  from ../../../../dist/system_wrappers/algorithm:3,
 7:27.70                  from ../../../../dist/stl_wrappers/algorithm:55,
 7:27.70                  from /ayappan/src/mozilla-release/image/decoders/icon/gtk/nsIconChannel.cpp:11:
 7:27.70 /opt/freeware/include/gtk-2.0/gtk/gtktypeutils.h:62:52: error: expected ',' or '...' before '.' token
 7:27.70                                       gpointer      func_data);
 7:27.70                                                     ^
 7:27.74 /opt/freeware/include/gtk-2.0/gtk/gtkwindow.h:438:36: error: expected ',' or '...' before '.' token
 7:27.74            gpointer                 func_data);
 7:27.74                                     ^
 7:27.77 /opt/freeware/include/gtk-2.0/gtk/gtksignal.h:119:22: error: expected ',' or '...' before '.' token
 7:27.77         gpointer      func_data,
 7:27.77                       ^
 7:27.77 /opt/freeware/include/gtk-2.0/gtk/gtktreeviewcolumn.h:151:36: error: expected ',' or '...' before '.' token
 7:27.77            gpointer                 func_data,
 7:27.77                                     ^

 7:28.85 In the directory  /ayappan/src/mozilla-release/obj-opt/image/decoders/icon/gtk
 7:28.85 The following command failed to execute properly:
 7:28.85 /usr/bin/g++ -o nsIconChannel.o -c -I../../../../dist/stl_wrappers -I../../../../dist/system_wrappers -include /ayappan/src/mozilla-release/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERN
AL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/ayappan/src/mozilla-release/image/decoders/icon/gtk -I. -I../../../../dist/include -I/ayappan/src/mozilla-release/obj-opt
/dist/include/nspr -I/ayappan/src/mozilla-release/obj-opt/dist/include/nss -I/opt/freeware/include/pixman-1 -fPIC -maix64 -pthread -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -MD -MP -MF .deps/nsI
conChannel.o.pp -maix64 -pthread -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Werror=type-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align
-maix64 -pthread -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 -fomit-frame-pointer -I/ayappan/src/mozilla-release/widge
t/gtk/compat -D_THREAD_SAFE -I/opt/freeware/include/gtk-2.0 -I/opt/freeware/lib/gtk-2.0/include -I/opt/freeware/include/atk-1.0 -I/opt/freeware/include/cairo -I/opt/freeware/include/pango-1.0 -I/opt/freeware
/include/glib-2.0 -I/opt/freeware/lib/glib-2.0/include -I/opt/freeware/include/freetype2 -I/opt/freeware/include -I/opt/freeware/include/gtk-unix-print-2.0 /ayappan/src/mozilla-release/image/decoders/icon/gt
k/nsIconChannel.cpp
 7:28.85 gmake[5]: *** [nsIconChannel.o] Error 1
 7:28.86 gmake[4]: *** [image/decoders/icon/gtk/target] Error 2
 7:28.86 gmake[4]: *** Waiting for unfinished jobs....
 7:28.86 CreateElementTxn.o
 7:29.12 DeleteNodeTxn.o
Component: Untriaged → Build Config
Product: Firefox → Core
This kind of error suggests something wrong in the gtk headers, where gpointer is not properly defined as a type. That being said, you shouldn't be trying to build Firefox 34. It is outdated and has known security vulnerabilities.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Okay. Which version we can try building? You said "something wrong in the gtk headers". We have gtk2 2.10.6-5 version as the latest for AIX and i am using that. Do i need to look for more recent version of gtk2-devel ?
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.