Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2012 16:14:03 -0400
From:      Dwayne MacKinnon <dmk@ncf.ca>
To:        gecko@freebsd.org
Subject:   Firefox 14.0.1,1 Build failure
Message-ID:  <1490493.Ro9jfMVlVi@hudson.private.lan>

next in thread | raw e-mail | index | archive | help
Hi all,

I attempted to build Firefox 14.0.1,1 using Clang on FreeBSD 9.0-
RELEASE for both amd64 & i386 platforms. 

On amd64 I ran into a linker error at the end of the process. On i386 it 
was complaining about mmx. I added CFLAGS+= -mmmx to the Makefile, 
which stopped that. However, i then ran into a different linker error at 
the end of the process.

I then decided to try clang 3.1 from ports. On amd64 it worked perfectly. 
On i386 (after removing my little CFLAGS addition)  I ran into this:

In file included from /usr/local/include/dbus-1.0/dbus/dbus-errors.h:33:
/usr/local/include/dbus-1.0/dbus/dbus-protocol.h:459:77: error: invalid 
suffix
      on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
#define DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE "<!DOCTYPE 
node PUBLIC \""D...
                                                                            ^
                                                                                
/usr/local/include/dbus-1.0/dbus/dbus-protocol.h:459:126: error: invalid 
suffix
      on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
  ...node PUBLIC 
\""DBUS_INTROSPECT_1_0_XML_PUBLIC_IDENTIFIER"\"\n\""D...
                                                                     ^
                                                                      
2 errors generated.
gmake[4]: *** [nsDBusHandlerApp.o] Error 1
gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-
release/obj-i386-portbld-freebsd9.0/uriloader/exthandler'
gmake[3]: *** [exthandler_libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-
release/obj-i386-portbld-freebsd9.0/uriloader'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-
release/obj-i386-portbld-freebsd9.0'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-
release/obj-i386-portbld-freebsd9.0'
gmake: *** [default] Error 2
*** Error code 1

Stop in /usr/ports/www/firefox.


Cheers,
DMK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1490493.Ro9jfMVlVi>