LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-15-2013, 09:44 AM   #1
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 910

Rep: Reputation: 174Reputation: 174
Chromium slackbuild problems on 14.0


I'm trying to compile Chromium on Slackware64 14.0 using the build script from slackbuilds.org, and I'm getting a compile error on x509_util_nss.cc.

I'd just like to try Chromium, so I'm not hell-bent on getting it to compile on my system. So first, does anyone know of any pre-built Chromium binary package (slackbuild) for 14.0-64?

Barring that, does anyone have any idea how to resolve this error?

Code:
  g++ '-D_FILE_OFFSET_BITS=64' '-DDISABLE_NACL' '-DCHROMIUM_BUILD' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DENABLE_ONE_CLICK_SIGNIN' 
'-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_CONFIGURATION_POLICY' 
'-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DUSE_SKIA=1' '-DENABLE_TASK_MANAGER=1' 
'-DENABLE_WEB_INTENTS=1' '-DENABLE_EXTENSIONS=1' '-DENABLE_PLUGIN_INSTALLATION=1' '-DENABLE_PROTECTOR_SERVICE=1' '-DENABLE_SESSION_SERVICE=1' 
'-DENABLE_THEMES=1' '-DENABLE_BACKGROUND=1' '-DENABLE_AUTOMATION=1' '-DENABLE_PRINTING=1' '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' 
'-DNET_IMPLEMENTATION' '-DENABLE_BUILT_IN_DNS' '-DENABLE_MEDIA_CODEC_THEORA' '-DU_USING_ICU_NAMESPACE=0' '-DU_STATIC_IMPLEMENTATION' 
'-DUSE_GIO' '-DDLOPEN_GSETTINGS' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 
-Ithird_party/icu/public/common -Ithird_party/icu/public/i18n -I. -Isdch/open-vcdiff/src -Ithird_party/zlib -Iout/Release/obj/gen/net 
-Inet/third_party/nss/ssl  -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers 
-fvisibility=hidden -pipe -fPIC -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -pthread -I/usr/include/gtk-2.0 
-I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/dbus-1.0 
-I/usr/lib64/dbus-1.0/include -O2 -fno-ident -fdata-sections -ffunction-sections -O2 -fPIC -fno-rtti -fno-threadsafe-statics 
-fvisibility-inlines-hidden -Wsign-compare -MMD -MF out/Release/.deps/out/Release/obj.target/net/net/base/x509_util_nss.o.d.raw  -c -o 
out/Release/obj.target/net/net/base/x509_util_nss.o net/base/x509_util_nss.cc
net/base/x509_util_nss.cc: In function 'void net::x509_util::ParsePrincipal(CERTName*, net::CertPrincipal*)':
net/base/x509_util_nss.cc:381:44: error: invalid conversion from 'char* (*)(const CERTName*) {aka char* (*)(const CERTNameStr*)}' to 
'CERTGetNameFunc {aka char* (*)(CERTNameStr*)}' [-fpermissive]
net/base/x509_util_nss.cc:381:44: error: invalid conversion from 'char* (*)(const CERTName*) {aka char* (*)(const CERTNameStr*)}' to 
'CERTGetNameFunc {aka char* (*)(CERTNameStr*)}' [-fpermissive]
net/base/x509_util_nss.cc:381:44: error: invalid conversion from 'char* (*)(const CERTName*) {aka char* (*)(const CERTNameStr*)}' to 
'CERTGetNameFunc {aka char* (*)(CERTNameStr*)}' [-fpermissive]
net/base/x509_util_nss.cc:381:44: error: invalid conversion from 'char* (*)(const CERTName*) {aka char* (*)(const CERTNameStr*)}' to 
'CERTGetNameFunc {aka char* (*)(CERTNameStr*)}' [-fpermissive]
make: *** [out/Release/obj.target/net/net/base/x509_util_nss.o] Error 1
 
Old 11-15-2013, 12:19 PM   #2
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 910

Original Poster
Rep: Reputation: 174Reputation: 174
I found a site with a pre-built txz package.

http://slackware.org.uk/slacky/slack...x86_64-1sl.txz

My thanks to whoever kindly provided this build. It did the trick for me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update chromium slackbuild frushiyama Slackware 4 04-18-2013 01:44 PM
[SOLVED] modifying Chromium slackbuild script to build newer release? Cultist Slackware 2 03-22-2012 08:40 AM
[SOLVED] Before I attempt to install the chromium (9.0.597.107) SlackBuild, I have questions. Robert.Thompson Slackware 20 07-12-2011 07:50 AM
[SOLVED] Chromium 14 slackbuild in Slackware 13.37 rakris Slackware 7 07-07-2011 09:42 AM
LXer: Google Chrome/Chromium crashy Flash problems (and a solution for Chromium in Linux) LXer Syndicated Linux News 0 03-06-2011 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration