Can't build gcc-4.1.2; error: bad value (generic) for -mtune= switch

I need this specific version of gcc, so I got the old PKDBUILD from svn, see below. However when gcc compiles I run into this compile error:
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
/bin/sh ../../gcc-4.1.2/gcc/mkconfig.sh tconfig.h
./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -L/home/chelg/tmp/abs/gcc-4.1/src/gcc-build/gcc/../ld -O2 -O2 -march=i686 -mtune=generic -O2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
-c ../../gcc-4.1.2/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
../../gcc-4.1.2/gcc/crtstuff.c:1: error: bad value (generic) for -mtune= switch
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/home/chelg/tmp/abs/gcc-4.1/src/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/chelg/tmp/abs/gcc-4.1/src/gcc-build/gcc'
make: *** [bootstrap] Error 2
==> ERROR: Build Failed.
Aborting...
Here is the PKGBUILD I use:
# $Id: PKGBUILD,v 1.60 2007/02/14 14:53:50 jgc Exp $
# Maintainer: Jan de Groot <[email protected]>
pkgname=gcc
pkgver=4.1.2
pkgrel=3
pkgdesc="The GNU Compiler Collection"
arch=(i686 x86_64)
url="http://gcc.gnu.org"
depends=('glibc' 'binutils>=2.17')
options=('!libtool')
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,objc}-${pkgver}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-man-4.0.0.tar.bz2
DW_CFA_val.patch
gcc_pure64.patch)
md5sums=('2af3fb599635219171c6ae1f3034888a' '75c6d5fa3415d614314caf0f509e8933'
'abda05c0ab99059e8f9e7a625361fd87' '2be86d2117c8fa7f9ec2845cc0660ab1'
'078680c207f7cd490044d4a53edf158d' '1ceaa49e3a1d9f984ecc2893c43f7425')
build() {
export MAKEFLAGS="-j1"
cd ${startdir}/src/gcc-${pkgver}
# Don't install libiberty
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
if [ "${CARCH}" = "x86_64" ]; then
patch -Np1 -i ../gcc_pure64.patch || return 1
fi
patch -Np0 -i ${startdir}/src/DW_CFA_val.patch || return 1
# Don't run fixincludes
sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
mkdir ../gcc-build
cd ../gcc-build
../gcc-${pkgver}/configure --prefix=/usr --enable-shared \
--enable-languages=c,c++,objc --enable-threads=posix \
--enable-__cxa_atexit --disable-multilib --libdir=/usr/lib \
--libexecdir=/usr/lib --enable-clocale=gnu
make bootstrap || return 1
make DESTDIR=${startdir}/pkg install || return 1
mkdir -p ${startdir}/pkg/lib
(cd ${startdir}/pkg/lib; ln -s ../usr/bin/cpp)
(cd ${startdir}/pkg/usr/bin; ln -sf gcc cc; ln -sf g++ c++)
# install the libstdc++ man pages
mkdir -p ${startdir}/pkg/usr/man/man3
install -m644 ${startdir}/src/man/man3/* ${startdir}/pkg/usr/man/man3/
Last edited by Phlogiston (2009-02-27 20:08:37)

or here you go:
# $Id: PKGBUILD,v 1.60 2007/02/14 14:53:50 jgc Exp $
# Maintainer: Jan de Groot <[email protected]>
pkgname=gcc-4.1
pkgver=4.1.2
pkgrel=3
pkgdesc="The GNU Compiler Collection"
arch=(i686 x86_64)
url="http://gcc.gnu.org"
depends=('glibc' 'binutils>=2.17')
options=('!libtool')
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,objc}-${pkgver}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-man-4.0.0.tar.bz2
DW_CFA_val.patch
gcc_pure64.patch)
md5sums=('2af3fb599635219171c6ae1f3034888a' '75c6d5fa3415d614314caf0f509e8933'
'abda05c0ab99059e8f9e7a625361fd87' '2be86d2117c8fa7f9ec2845cc0660ab1'
'078680c207f7cd490044d4a53edf158d' '1ceaa49e3a1d9f984ecc2893c43f7425')
build() {
export MAKEFLAGS="-j1"
cd ${startdir}/src/gcc-${pkgver}
# Don't install libiberty
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
if [ "${CARCH}" = "x86_64" ]; then
patch -Np1 -i ../gcc_pure64.patch || return 1
fi
patch -Np0 -i ${startdir}/src/DW_CFA_val.patch || return 1
# Don't run fixincludes
sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
mkdir ../gcc-build
cd ../gcc-build
../gcc-${pkgver}/configure --prefix=/opt/gcc-4.1 --enable-shared \
--enable-languages=c,c++,objc --enable-threads=posix \
--enable-__cxa_atexit --disable-multilib \
--enable-clocale=gnu
make bootstrap || return 1
make DESTDIR=${startdir}/pkg install || return 1
mkdir -p ${startdir}/pkg/lib
# (cd ${startdir}/pkg/lib; ln -s ../usr/bin/cpp)
# (cd ${startdir}/pkg/usr/bin; ln -sf gcc cc; ln -sf g++ c++)
# install the libstdc++ man pages
mkdir -p ${startdir}/pkg/usr/man/man3
install -m644 ${startdir}/src/man/man3/* ${startdir}/pkg/usr/man/man3/

Similar Messages

  • Error-No value given for one or more required parameters when using oleDBDa

    Hello,
    I have this sql statement and it works well, the Crystal Report gives good result when I put concrete values like:
    string comstring = "SELECT NOVI.GBR as gbrnov, NOVI.AB as abnov, NALOG1.DATA as datanov, Min(NALOG1.POCKM) AS MinOfPOCKM, Max(NALOG1.KRAJKM) AS MaxOfKRAJKM, (Max(NALOG1.KRAJKM)-Min(NALOG1.POCKM)) AS RAZLIKA, Count(IIf(([MAGACIN.SIFRA]='0991000'),[MAGACIN.KOL],Null)) AS Gorivo, Avg(IIf(([MAGACIN.SIFRA]='0991000'),[MAGACIN.KOL],Null)/100) AS potrosgor100km, Sum(IIf(([MAGACIN.SIFRA]='0993050' Or [MAGACIN.SIFRA]='0993051'),[MAGACIN.KOL],Null)) AS Motmaslo, Sum(IIf(([MAGACIN.SIFRA]='0992201'),[MAGACIN.KOL],Null)) AS Addblue, ([Addblue]/[Gorivo])100 AS Addbluegor, Sum(IIf(([MAGACIN.SIFRA]='0999001'),[MAGACIN.KOL],Null)) AS Antifriz, NOVI.DATAP, NOVI.DATAS, IIf(([NOVI].[KM]<=([NOVI].[KMS1][NOVI].[KMS2])),'ZA SERVIS',(IIf(([NOVI].[KM]<=([NOVI].[KMP1][NOVI].[KMP2])),'PROVERKA',''))) AS Zabeleska FROM (NALOG1 INNER JOIN NOVI ON NALOG1.GBRV = NOVI.GBR) INNER JOIN MAGACIN ON NOVI.GBR = MAGACIN.GBR where (((NOVI.GBR)>='1001' And (NOVI.GBR)<='1080') AND ( ((NOVI.AB)='AK') OR ((NOVI.AB)='AK') ) AND ((NALOG1.DATA)<=#10/31/2011# and (NALOG1.DATA)>=#10/31/2011#) ) GROUP BY NOVI.GBR, NOVI.AB, NALOG1.DATA, ([Addblue]/[Gorivo])100, NOVI.DATAP, NOVI.DATAS, IIf(([NOVI].[KM]<=([NOVI].[KMS1][NOVI].[KMS2])),'ZA SERVIS',(IIf(([NOVI].[KM]<=([NOVI].[KMP1][NOVI].[KMP2])),'PROVERKA','')))";          
    but when I use code like this :
    string comstring = "SELECT NOVI.GBR as gbrnov, NOVI.AB as abnov, NALOG1.DATA as datanov, Min(NALOG1.POCKM) AS MinOfPOCKM, Max(NALOG1.KRAJKM) AS MaxOfKRAJKM, (Max(NALOG1.KRAJKM)-Min(NALOG1.POCKM)) AS RAZLIKA, Count(IIf(([MAGACIN.SIFRA]='0991000'),[MAGACIN.KOL],Null)) AS Gorivo, Avg(IIf(([MAGACIN.SIFRA]='0991000'),[MAGACIN.KOL],Null)/100) AS potrosgor100km, Sum(IIf(([MAGACIN.SIFRA]='0993050' Or [MAGACIN.SIFRA]='0993051'),[MAGACIN.KOL],Null)) AS Motmaslo, Sum(IIf(([MAGACIN.SIFRA]='0992201'),[MAGACIN.KOL],Null)) AS Addblue, ([Addblue]/[Gorivo])100 AS Addbluegor, Sum(IIf(([MAGACIN.SIFRA]='0999001'),[MAGACIN.KOL],Null)) AS Antifriz, NOVI.DATAP, NOVI.DATAS, IIf(([NOVI].[KM]<=([NOVI].[KMS1][NOVI].[KMS2])),'ZA SERVIS',(IIf(([NOVI].[KM]<=([NOVI].[KMP1][NOVI].[KMP2])),'PROVERKA',''))) AS Zabeleska FROM (NALOG1 INNER JOIN NOVI ON NALOG1.GBRV = NOVI.GBR) INNER JOIN MAGACIN ON NOVI.GBR = MAGACIN.GBR where (((NOVI.GBR)>=? And (NOVI.GBR)<=?) AND ( ((NOVI.AB)=?) OR ((NOVI.AB)=?) ) AND ((NALOG1.DATA)<=? and (NALOG1.DATA)>=?) ) GROUP BY NOVI.GBR, NOVI.AB, NALOG1.DATA, ([Addblue]/[Gorivo])100, NOVI.DATAP, NOVI.DATAS, IIf(([NOVI].[KM]<=([NOVI].[KMS1][NOVI].[KMS2])),'ZA SERVIS',(IIf(([NOVI].[KM]<=([NOVI].[KMP1][NOVI].[KMP2])),'PROVERKA','')))";
    Edited by: Don Williams on Nov 23, 2011 7:22 AM

    and the code after that:
    command.CommandText = comstring;
                if (radioButton4.Checked == true)
                    if (textBox1.Text == "")
                        button1.Enabled = false;
                        MessageBox.Show("Внесете гаражен број", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                        textBox1.Focus();
                        command.Parameters.AddWithValue("@gbr1", textBox1.Text);
                        command.Parameters.AddWithValue("@gbr2", textBox1.Text);               
                else if (radioButton5.Checked == true)
                    command.Parameters.AddWithValue("@gbr1", "1001");
                    command.Parameters.AddWithValue("@gbr2", "1080");
                    button1.Enabled = true;
                    textBox1.Text = "";
                else if (radioButton6.Checked == true)
                    command.Parameters.AddWithValue("@gbr1", "1081");
                    command.Parameters.AddWithValue("@gbr2", "1149");
                    button1.Enabled = true;
                    textBox1.Text = "";
                else if (radioButton7.Checked == true)
                    command.Parameters.AddWithValue("@gbr1", "1001");
                    command.Parameters.AddWithValue("@gbr2", "1149");
                    button1.Enabled = true;
                    textBox1.Text = "";
                else
                    MessageBox.Show("Немате избрано гаражен број или тип на автобус.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    button1.Enabled = false;
                if (checkBox1.Checked == true && checkBox2.Checked==true)
                    command.Parameters.AddWithValue("@ab1", "AK");
                    command.Parameters.AddWithValue("@ab2", "GP");
                    button1.Enabled = true;
                else if ((checkBox1.Checked == true) && (checkBox2.Checked == false))
                    command.Parameters.AddWithValue("@ab1", "AK");
                    command.Parameters.AddWithValue("@ab2", "AK");
                    button1.Enabled = true;
                else if (checkBox2.Checked == true )
                    command.Parameters.AddWithValue("@ab1", "GP");
                    command.Parameters.AddWithValue("@ab2", "GP");
                    button1.Enabled = true;
                else
                    MessageBox.Show("Немате избрано автобаза.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    command.Parameters.AddWithValue("@ab1", "AK");
                    command.Parameters.AddWithValue("@ab2", "GP");
                    button1.Enabled = false;
                command.Parameters.AddWithValue("@data1", dateTimePicker1.Value.Date);
                command.Parameters.AddWithValue("@data2", dateTimePicker2.Value.Date);
                 DataSet2 dataSet2=new DataSet2();    
                 OleDbDataAdapter oleDBDataAdapter1 = new OleDbDataAdapter();
                oleDBDataAdapter1.SelectCommand=command;
                    dataSet2.Clear();
                    oleDBDataAdapter1.Fill(dataSet2,"Tabela");
                    if (dataSet2.Tabela.Count == 0)
                        MessageBox.Show("Nema podatoci za toj period");
                    ReportDocument cryRpt = new ReportDocument();
                    cryRpt.Load(@"C:\Potrosuvacka-Pregledi\Potrosuvacka-Pregledi\CrystalReport6.rpt");
                cryRpt.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.Landscape;
                    cryRpt.SetDataSource(dataSet2);
                    crystalReportViewer1.DisplayToolbar=true;
                crystalReportViewer1.ReportSource = cryRpt;                      
                crystalReportViewer1.Refresh();
                    conn.Close();
    I get an error:
    "No value given for one or more required parameters."
    Could anybody help me please?
    Thank you in advance.
    Edited by: nelpet06 on Nov 23, 2011 9:30 AM

  • Conversion Error setting value ''{0}'' for ''{1}''

    Hi
    I have to populate a drop-down list on my page with the values coming from the DB.
    JSF code:
    <td align="right"><div id="wait" style="visibility:hidden;">Select an existing Application</div></td>
    <td align="left"><div id="wait1" style="visibility:hidden;" >
    <h:selectOneMenu id="exist" value="#{processApplication.selectedOwner}" styleClass="selectOneMenu">
    <f:selectItems value="#{processApplication.existingOwners}"></f:selectItems>
    </h:selectOneMenu>
    </div>
    </td>
    processApplication bean:
    public List<SelectItem> getExistingOwners() {                    
    //existingOwners = this.getOwners();
    try{
         List < SelectItem > existingOwners = new ArrayList < SelectItem > ( ) ;
         SelectItem si_0 = new SelectItem();
         SelectItem si_1 = new SelectItem();
    SelectItem si_2 = new SelectItem();
         si_0.setValue("11");
         si_0.setLabel("sri");
         si_1.setValue("21");
         si_1.setLabel("ADAMS");
         existingOwners.add(si_0);
         existingOwners.add(si_1);
         logger.info("values in the list" +existingOwners.get(1).getValue());
              }catch(Exception e){
                   logger.debug(e.getCause());
                   e.printStackTrace();
              return existingOwners;
         public void setExistingOwners(List<SelectItem> existingOwners) {
              try{
              this.existingOwners = existingOwners;
              }catch(Exception e){
                   logger.debug("%%%%");
                   logger.debug(e.getCause());
                   e.printStackTrace();
    public String getSelectedOwner() {
         try{
         List<SelectItem> test = this.getExistingOwners();
         selectedOwner = (String)test.get(1).getValue();
         logger.debug("selected owner from the list" +selectedOwner);
         }catch(Exception e){
         logger.debug(e.getCause());
         e.printStackTrace();
         return selectedOwner;
         public void setSelectedOwner(String selectedOwner) {
              this.selectedOwner = selectedOwner;
    public List<SelectItem> getExistingOwners() should actually be a call to the DB to get the list.
    But since i was getting exception I tried to hard code the list in the method itself.
    But , I get this exception:
    logger.info values in the list 21
    [6/15/09 12:49:45:687 EDT] 0000003d ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /processApplication.jsp. Exception thrown : javax.servlet.ServletException: Conversion Error setting value ''{0}'' for ''{1}''.
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:658)
         at com.ibm._jsp._processApplication._jspService(_processApplication.java:149)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:701)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:646)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
    Earlier, I had a drop down list that was working perfectly fine.
    But its values came from a Helper class and not the DB.
    What is it that Iam missing or doing wrong?
    Please help me.
    Thanks.

    Based on your example on the link that you referred to I tried to do this
    fillSelectItems();
    as the initialization block (I read what it means)
    changed my getter method to
    public List<SelectItem> getExistingOwners() { return existingOwners; }
    private void fillSelectItems() {
    this.existingOwners = new ArrayList<SelectItem>();
    try{
         existingOwners.clear();
         List test = this.getOwners();
         SelectItem[] myitem = new SelectItem[test.size()];
         for(int i=0;i<test.size();i++) {
         Object[] arrayOne = (Object[])test.get(i);
    try{
         SelectItem tmp = new SelectItem();
         tmp.setLabel(arrayOne[0].toString()+(String)arrayOne[1]);
         tmp.setValue((Integer)arrayOne[0]);
         myitem[i] = tmp;
    this.existingOwners.add(myitem);
    }catch(Exception e){
              logger.debug(e.getCause());
              e.printStackTrace();
         }catch(Exception e){
              logger.debug(e.getCause());
              e.printStackTrace();
    Basically, I moved what I had earlier in getter method I have it now in the fillSelectItems()
    Butthen, I get a NullPointerException.

  • IllegalArgumentException: Conversion Error setting value ''{0}'' for ''{1}'

    Hi all i am facing one problem while using <h:selectManyMenu style="height:100;" value="#{cityf.cityLook}">
    <f:selectItems value="#{cityf.city}" />
    </h:selectManyMenu>
    so ,plz help me about this error.!!!!!!
    java.lang.IllegalArgumentException: Conversion Error setting value ''{0}'' for ''{1}''.
         com.sun.faces.util.Util.getSelectItems(Util.java:670)
         com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:509)
         com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:486)
         com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:451)
         javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
         com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:473)
         com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:470)
         com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:253)
         javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
         javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:629)
         javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:566)
         com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
         org.apache.jsp.Demo_jsp._jspx_meth_h_005fpanelGrid_005f0(Demo_jsp.java:192)
         org.apache.jsp.Demo_jsp._jspx_meth_h_005fform_005f0(Demo_jsp.java:159)
         org.apache.jsp.Demo_jsp._jspx_meth_f_005fview_005f0(Demo_jsp.java:125)
         org.apache.jsp.Demo_jsp._jspService(Demo_jsp.java:90)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
         org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
         org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
         org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
    city.jsp:
    <html>
    <body>
    <f:view>
    <h:form id="select">
    <h:panelGrid columns="1">
    <h:column>
    <h:outputText value="Select City : "/>
    <h:selectManyMenu style="height:100;" value="#{cityf.cityLook}">
    <f:selectItems value="#{cityf.city}" />
    </h:selectManyMenu>
    </h:column>
    </h:panelGrid>
    </h:form>
    </f:view>
    </body>
    </html>
    City Bean:
    public class City {
         private CityIDLookup[] city;
         private String[] cityLook;
    public CityIDLookup[] getCity() {
         return city;
    public void setCity(CityIDLookup[] city) {
         this.city = city;
    public String[] getCityLook() {
         return cityLook;
    public void setCityLook(String[] cityLook) {
         this.cityLook = cityLook;
    faces.config.xml:
    <managed-bean>
    <managed-bean-name>cityf</managed-bean-name>
    <managed-bean-class>com.class.City</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>

    With SelectItem I mean the javax.faces.model.SelectItem class.
    <h:selectManyMenu value="#{myBean.selectedItems}">
        <f:selectItems value="#{myBean.selectItems}" />
    <h:selectManyMenu>MyBeanprivate String[] selectedItems; // + getter + setter
    private List<SelectItem> selectItems; // + getter

  • Please, can I with help of Javascript change spot color values? for example by my color VARNISH with c:0,m:10,y:15,k:0 to make change to c:0,m:0,y:0,k:0? thank you

    Please, can I with help of Javascript change specific spot color values? for example, I have color named VARNISH with values c:0,m:10,y:15,k:0 and it would help me to make change to c:0,m:0,y:0,k:0 as a part of an action. Is it possible? Thank you

    Hi Kon Verter,
    you can change the values of your spot swatch, but you have to check many things before.
    e.g. you can do something like this:
    var Vcolor = app.activeDocument.swatches.getByName("Varnish");
    if (Vcolor.color.spot.colorType == ColorModel.SPOT && Vcolor.color.spot.spotKind == SpotColorKind.SPOTCMYK) {
        alert("Black value before: "+Vcolor.color.spot.color.black);
        Vcolor.color.spot.color.black= 0; // and so on
        alert("Black value after: "+Vcolor.color.spot.color.black);
    This will change the black value of the cmyk spot color with name Varnish to 0
    Have fun

  • CFL Error Bad-Value

    Hi Expert,
    I am working on V.b 6.0 SDK.
    Getting Error on CFL Code BAD Value at the time of Assigning value to the text box.
    Explain me How to give parameters to the CFL.
    Thanx
    Dhanraj

    Below are the cfl code getting error of Bad Value
    If FormUID = "IINC" Then
                If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
                    Dim oCFLEvento1 As SAPbouiCOM.ChooseFromListEvent
                    Dim Ival2, Ival1 As String
                    Set oCFLEvento1 = pVal
                    Dim IsCFL_ID As String
                    IsCFL_ID = oCFLEvento1.ChooseFromListUID
                    Dim IoForm As SAPbouiCOM.Form
                    'oForm = New SAPbouiCOM.Form
                    Set IoForm = Soft_Application.Forms.Item(FormUID)
                    Dim IoCFL As SAPbouiCOM.Choosefromlist
                    Set IoCFL = IoForm.ChooseFromLists.Item(IsCFL_ID)
                    If oCFLEvento1.BeforeAction = False Then
                        Dim IoDataTable As SAPbouiCOM.DataTable
                        Set IoDataTable = oCFLEvento1.SelectedObjects
                        Ival2 = IoDataTable.GetValue(0, 0)
                        Ival1 = IoDataTable.GetValue(1, 0)
                        If (pVal.ItemUID = "txtIncod") Or (pVal.ItemUID = "btnCardCd") And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then     'Customer Code CFL
                            Set Soft_Form = Soft_Application.Forms.Item("IINC")
                            Soft_Form.Items.Item("txtIncod").Specific.Value = Ival2
                            Soft_Form.Items.Item("txtInName").Specific.Value = Ival1
                        End If
                    End If
                End If
        End If
    On text box property given following values.
    Alias:-U_IntCd
    Table Name:-@INT_INC
    Databound=true

  • Can't get into itunes because of error 1202--any help for me?

    I've been ignoring this for 6 months and now need some new music.  I just can't get past the error code. 

    Question has been answered, read some other posts with the same problem and figured it out.
    Thank you.

  • Conversion Error setting value '33'  for 'null Converter'

    Hi,everyone,it looks my custom Converter dosen't work.
    CreditCard class:
    package com.corejsf;
    public class CreditCard {
         private String number;
         public CreditCard(){
         public CreditCard(String number){
              this.number=number;
         public String toString(){
              return this.number;
    ==============================
    PaymentBean:
    package com.corejsf;
    import java.util.Date;
    public class PaymentBean {
         private double amount;
         private Date date=new Date();
         private CreditCard card;
         public PaymentBean(){
         public double getAmount(){
              return this.amount;
         public void setAmount(double newValue){
              this.amount=newValue;
         public Date getDate(){
              return this.date;
         public void setDate(Date newValue){
              this.date=newValue;
         public CreditCard getCard(){
              return this.card;
         public void setCard(CreditCard newValue){
              this.card=newValue;
    =================================
    CreditCardConvert:
    package com.corejsf;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    import javax.faces.convert.ConverterException;
    import javax.faces.application.FacesMessage;
    public class CreditCardConvert implements Converter{
         public Object getAsObject(FacesContext context,UIComponent component,String newValue) throws ConverterException{
              StringBuilder builderForNewValue=new StringBuilder(newValue);
              boolean foundInvalidCharacter=false;
              char invalidChar;
              int newValueLength=newValue.length();
              int i=0;
              char chFromNewValue;
              while(i<newValueLength && !foundInvalidCharacter){
                   chFromNewValue=builderForNewValue.charAt(i);
                   if(Character.isDigit(chFromNewValue) || Character.isSpaceChar(chFromNewValue)){
                        i++;
                   }else{
                        foundInvalidCharacter=true;
                        invalidChar=chFromNewValue;
                        FacesMessage message=new FacesMessage();
                        message.setDetail("detail error convert message for CreditCard with error Char:"+invalidChar);
                        message.setSummary("summary error convert message for CreditCard with error Char:"+invalidChar);
                        message.setSeverity(FacesMessage.SEVERITY_ERROR);
                        throw new ConverterException(message);
              return new CreditCard(builderForNewValue.toString());
         public String getAsString(FacesContext context,UIComponent component,Object newValue) throws ConverterException{
              return newValue.toString();
    ===============================
    faces-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
    version="2.0">
         <managed-bean>
              <managed-bean-name>payment</managed-bean-name>
              <managed-bean-class>com.corejsf.PaymentBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <converter>
              <converter-id>com.corejsf.CardConvert</converter-id>
              <converter-class>com.corejsf.CreditCardConvert</converter-class>
         </converter>     
         <navigation-rule>
              <from-view-id>/index.xhtml</from-view-id>
              <navigation-case>
                   <from-outcome>result</from-outcome>
                   <to-view-id>/result.xhtml</to-view-id>
                   <redirect/>
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>/result.xhtml</from-view-id>
              <navigation-case>
                   <from-outcome>index</from-outcome>
                   <to-view-id>/index.xhtml</to-view-id>
                   <redirect/>
              </navigation-case>
         </navigation-rule>
    </faces-config>
    ==================================================
    index.xhtml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">
         <h:head>
              <title>index page</title>
         </h:head>
         <h:body>
              <h:form>
                   <table>
                        <tr>
                             <td>
                                  <h:inputText id="iptCard" label="card" required="true" convert="com.corejsf.CardConvert" value="#{payment.card}">
                                  </h:inputText>
                                  <h:message for="iptCard"></h:message>
                             </td>
                        </tr>
                        <tr>
                             <td>
                                  <h:inputText id="iptAmount" label="amount" required="true" value="#{payment.amount}">
                                       <f:convertNumber minFractionDigits="2"></f:convertNumber>
                                  </h:inputText>
                                  <h:message for="iptAmount"></h:message>
                             </td>
                        </tr>
                        <tr>
                             <td>
                                  <h:inputText id="iptDate" label="date" required="true" value="#{payment.date}">
                                       <f:convertDateTime pattern="MM/yyyy"></f:convertDateTime>
                                  </h:inputText>
                                  <h:message for="iptDate"></h:message>
                             </td>
                        </tr>
                        <tr>
                             <td>
                                  <h:commandButton value="sumbit" action="result"></h:commandButton>
                             </td>
                        </tr>
                   </table>
              </h:form>
         </h:body>
    </html>
    Can anyone help me,TKS!

    And besides,if I change the first inputText to:
    <td>
    <h:inputText id="iptCard" label="card" required="true" value="#{payment.card}">
         <f:convert convertId="com.corejsf.CardConvert"></f:convert>
    </h:inputText>
    <h:message for="iptCard"></h:message>
    </td>
    The app runs and result in:
    WebContent/index.xhtml @13,55 <f:convert> Tag Library supports namespace: http://java.sun.com/jsf/core, but no tag was defined for name: convert
    Is any configuration problem there?
    TKS!

  • Error: "No JDK_HOME_PATH defined for key 'JDK1.4.2_HOME'" when local build

    Hello SDN!
    I want to build CRM ISA 5.0 application locally thru NWDS. This application uses Development Component technology. In the NWDI server track for this application has a build variant "default" with key "com.sap.jdk.home_path_key" and value for this key "JDK1.4.2_HOME".
    When I try to build it locally I've got an error:
    Error: com.sap.tc.buildplugin.util.BuildPluginException: No JDK_HOME_PATH defined for key 'JDK1.4.2_HOME'
         at com.sap.tc.buildplugin.JavaMacroContextProvider.setupJavaCompiler(JavaMacroContextProvider.java:235)
         at com.sap.tc.buildplugin.JavaMacroContextProvider.setupJavaEnvironment(JavaMacroContextProvider.java:180)
         at com.sap.tc.buildplugin.JavaMacroContextProvider.execute(JavaMacroContextProvider.java:35)
         at com.sap.tc.buildplugin.PrepareContextBuildStep.prepareTechnologySpecificData(PrepareContextBuildStep.java:187)
         at com.sap.tc.buildplugin.PrepareContextBuildStep.setupBuildFileCreatorContext(PrepareContextBuildStep.java:95)
         at com.sap.tc.buildplugin.PrepareContextBuildStep.execute(PrepareContextBuildStep.java:56)
         at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
         at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
         at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Error: Build stopped due to an error: No JDK_HOME_PATH defined for key 'JDK1.4.2_HOME'
    I've created system environment variables JDK_HOME_PATH, JAVA_HOME and JDK1.4.2_HOME pointed to C:\j2sdk1.4.2_17. In NWDS parameter "Installed JREs" pointed to C:\j2sdk1.4.2_17. Nothing effect.
    How to build this application locally?
    Regards, Lev

    Hi All,
    the JDK_1.4.2_HOME must be set not as an environment variable or a VM parameter, but it must be set for the CBS service.
    See the guide which -- among others -- also covers this:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7014086d-3fd9-2910-80bd-be3417810c6f
    - On 640/700 you can reach the CBS service settings from the Visual Admin.
    (http://help.sap.com/saphelp_nw70/helpdata/EN/53/75b3407e73c57fe10000000a1550b0/frameset.htm)
    - as of 710 you find it here:
    http://<host>:<port>/nwa u2013 Configuration Management u2013 Infrastructure u2013 Java System Properties u2013 Component Build Service
    (notice the SAP note: #1451364 - Modification of CBS service properties disabled in NWA
    http://service.sap.com/sap/support/notes/1451364)
    Some further hints:
    - BUILD_TOOL_JDK_HOME = <path to highest JDK>
    - JDK_HOME_PATHS = JDK1.3.1_HOME=<path of jdk131>;JDK1.4.2_HOME=<path of jdk142>;JDK1.5.0_HOME=<path of jdk150>JDK1.6.0_HOME=<path of jdk160>;default=<path of the JDK as default>
    Some simple rules with examples:
    - for BUILD_TOOL_JDK_HOME you simply enter the path to your JDK, e.g.: /opt/IBMJava2-amd64-142
    - for JDK_HOME_PATHS you have to follow the scheme "key=value" e.g.: JDK_1.4.2_HOME=/opt/IBMJava2-amd64-142
    - for BUILD_TOOL_JDK_HOME you always specify the highest JDK,
    - for JDK_HOME_PATHS you list the available JDKs.
    - JRE is not allowed, specify always JDK!
    Best Regards,
    Ervin

  • SYSTEM ERROR:NO Posted data for 5_CPR_EXTID 5(INCLUDE LCATS_ITSF 10)

    Hello Experts,
    CAN you please help me Regarding this error ,its very urjent for me.
    The problem is we are not able to create timesheet through ESS CATW transaction. In the below the link to the ESS Create Time sheet CATW is giving. Use the link to enter the ESS timesheet. Ignore all columns and use only A/A column and give any leave type.  When we enter the timesheet with A/A any vacation type and give number of hours and when we try to save or save and release button it gives a error message and it locks the user.
    The error message it gives is :
    <b>SYSTEM ERROR:NO Posted data for 5_CPR_EXTID 5(INCLUDE LCATS_ITSF 10)</b>
    Please Help me ....
    Thank you and regards,
    Durga.K

    Hi Durga,
    We have exactly the same error. Were you able to fix this? Any help is appreciated.
    Thanks,
    Doug

  • JSF: Conversion Error setting value

    Anyone knows how to fix this? I got the following error when I tried to put 50 numbers in the dropdown list:
    javax.servlet.ServletException: "{2}" Conversion Error setting value ''{0}'' for ''{1}''.
    Here is the bean
         private String[] items=null;
         public String[] getItems() {
              items = new String[50];
              for (int i=0; i <50; i++){
                   String va = String.valueOf(i);
                   items= va;
              return items;
         public void setItems(String[] it) {
              items = it;
    Here is the tag:
    <h:selectOneMenu id="test" value="1">
         f:selectItems value="#{QuestionBean.items}"/>
    </h:selectOneMenu>

    f:selectItems value attribute must be a list of SelectItem objects.
    Transform your items list and it'll work.

  • Can't build RowSet -ERROR

    After deploying my application ear file in Oracle 10gAS,which was running fine in Oracle 9iAS,for some of the portal pages I am getting the below error:
    ERROR DESCRIPTION:
    Transaction was rolled back: javax.ejb.EJBException: nested exception is: java.lang.Exception: Can't build RowSet on oracle.jdbc.driver.T4CConnection@ce41cc :
    I am using Entity beans in my application.
    I am still using database Oracle 9i.

    That would be a very tall order. There are 567 vi's in the build, not including the dependencies from vi.llb, which is where I think the error is coming from. Here are some things I've tried:
    My vi's used to be in 3 llb's. Extracted all into one folder based on some info in another post. Didn't help.
    I'm running LV2011, but I also still had 2010 installed. Based on another post, I renamed a bunch of files in the Resource folder under LV2010. I then mass compiled all of my vi's, and added some code to the LV2011 ini file. Didn't help.
    Uninstalled LV2010. Didn't help.
    I didn't write the original code - I inherited it, which makes debugging much more time consuming. The original author - Brian, are you out there??? - has not responded to my request for help.
    The program is for used data acquisition and analysis using (primarily) a SCXI hardware platform. It reads and writes various types of files - many of them. It was originally written in a very early version of LV, and has evolved over the last 18 years.
    I usually run the program under the LV environment, but I need to give a copy to a coworker. I'm trying to avoid asking for the $$ to purchase another copy of LV, but at this time it would have been well worth it, as I've been trying to build the app for 4 days.
    I'm not a pro, but I'm not a novice, either. This one has kicked my butt.

  • [Solved] pcsx2 segfaults on run, can't build from ABS or AUR (x86_64)

    pcsx2 1.0.0-5 from multilib segfaults immediately after running the command.
    [alexis@cuddles ~]$ pcsx2
    Segmentation fault (core dumped)
    Trying to compile with ABS produces this:
    [alexis@cuddles pcsx2]$ makepkg -s
    ==> Making package: pcsx2 1.0.0-5 (Wed Jul 3 22:29:01 MDT 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Installing missing dependencies...
    resolving dependencies...
    looking for inter-conflicts...
    :: lib32-mesa-libgl and lib32-catalyst-utils are in conflict (lib32-libgl). Remove lib32-catalyst-utils? [y/N]
    I'm pretty sure (but not positive) that lib32-catalyst-utils should be providing lib32-libgl. If I patch the PKGBUILD to remove the dependency on lib32-mesa-libgl (might be a bad idea, but it doesn't seem to be causing the issue), it fails when linking, producing thousands of lines like:
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_tree_view_scroll_to_cell'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_widget_is_composited'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_widget_set_size_request'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_notebook_set_current_page'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_text_buffer_place_cursor'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_editable_delete_selection'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_text_iter_begins_tag'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_tree_view_new_with_model'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_entry_get_text'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_editable_get_position'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_toggle_button_set_active'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_toolbar_remove_space'
    collect2: error: ld returned 1 exit status
    make[2]: *** [pcsx2/pcsx2] Error 1
    make[1]: *** [pcsx2/CMakeFiles/pcsx2.dir/all] Error 2
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    gtk packages I have installed:
    [alexis@cuddles pcsx2]$ sudo pacman -Q | grep gtk
    gtk-engines 2.21.0-1
    gtk-sharp-2 2.12.11-1
    gtk-update-icon-cache 2.24.19-1
    gtk2 2.24.19-1
    gtk3 3.8.2-1
    gtkmm 2.24.4-1
    gtkmm3 3.8.1-1
    lib32-gtk2 2.24.19-1
    lib32-wxgtk 2.8.12.1-5
    libdbusmenu-gtk2 12.10.2-1
    pygtk 2.24.0-3
    pywebkitgtk 1.1.8-2
    transmission-gtk 2.77-3
    webkitgtk2 1.10.2-7
    wireshark-gtk 1.10.0-3
    wxgtk 2.8.12.1-5
    wxgtk2.9 2.9.4-3
    Hope I provided enough info. Any help is appreciated :3.
    Edit: Oh, and the AUR package (the svn build) fails to compile a dependency, lib32-gtk-engines (another AUR package), with the following error:
    ==> Making package: lib32-gtk-engines 2.21.0-2 (Wed Jul 3 22:45:55 MDT 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found gtk-engines-2.21.0.tar.gz
    ==> Validating source files with md5sums...
    gtk-engines-2.21.0.tar.gz ... Passed
    ==> Extracting sources...
    -> Extracting gtk-engines-2.21.0.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... gcc -m32
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc -m32 accepts -g... yes
    checking for gcc -m32 option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc -m32... gcc3
    checking whether make sets $(MAKE)... (cached) yes
    checking whether gcc -m32 and cc understand -c and -o together... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc -m32... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... dlltool
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc -m32 object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -m32 -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc -m32 supports -fno-rtti -fno-exceptions... no
    checking for gcc -m32 option to produce PIC... -fPIC -DPIC
    checking if gcc -m32 PIC flag -fPIC -DPIC works... yes
    checking if gcc -m32 static flag -static works... yes
    checking if gcc -m32 supports -c -o file.o... yes
    checking if gcc -m32 supports -c -o file.o... (cached) yes
    checking whether the gcc -m32 linker (/usr/bin/ld -m elf_i386) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking whether NLS is requested... yes
    checking for intltool >= 0.31.0... 0.50.2 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.18.0
    checking for XML::Parser... ok
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for GTK... no
    configure: error: GTK+-2.12 is required to compile gtk-engines
    ==> ERROR: A failure occurred in build().
    Aborting...
    edit #2: backtrace!
    Reading symbols from /usr/bin/pcsx2...(no debugging symbols found)...done.
    (gdb) run
    Starting program: /usr/bin/pcsx2
    warning: Could not load shared library symbols for linux-gate.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    Program received signal SIGSEGV, Segmentation fault.
    0xf7fe6b43 in _dl_relocate_object () from /lib/ld-linux.so.2
    (gdb) bt
    #0 0xf7fe6b43 in _dl_relocate_object () from /lib/ld-linux.so.2
    #1 0xf7fe0508 in dl_main () from /lib/ld-linux.so.2
    #2 0xf7ff1013 in _dl_sysdep_start () from /lib/ld-linux.so.2
    #3 0xf7fe0a6b in _dl_start () from /lib/ld-linux.so.2
    #4 0xf7fdd097 in _start () from /lib/ld-linux.so.2
    Last edited by alexis_evo (2013-07-05 16:55:23)

    alexis_evo wrote:I wonder why pacman/makepkg is trying to install lib32-mesa-libgl over it. I am using Vi0L0's unofficial catalyst (and xorg) repositories, if it matters.
    Because pcsx2's PKGBUILD has "lib32-mesa-libgl" as makedepends, while I think it should be the virtual name "lib32-gl". It can cause pacman to uninstall nvidia (lib32-nvidia-libgl) or ATI (lib32-catalyst-utils) in order to install mesa files -- not good, I suppose.
    Please file a bug report against pcsx2 package.
    Last edited by josephg (2013-07-04 17:09:14)

  • [SOLVED] Can't install gcc-ecj!

    Sorry if I'm posting this in the wrong session, it seemed the most appropriated to me.
    I need to install pdftk, and gcc-gcj is one of its dependencies. I tried to install pdftk through yaourt, but it failed after almost 30 minutes of compiling, so I decided to "go neanderthal" and install it almost by brute force, checking the aur web page for pdftk and downloading and installing the dependencies tarballs.
    First, when I try to install gcc-ecj through AUR, I got a simple error message:
    [eduardo@Tardis ~]$ cd aur-mirror/gcc-gcj
    [eduardo@Tardis gcc-gcj]$ ls
    PKGBUILD
    [eduardo@Tardis gcc-gcj]$ makepkg -si
    ==> ERROR: install file (gcc-gcj.install) does not exist.
    So I downloaded the tarball from this page (https://aur.archlinux.org/packages/gcc- … mments=all) and tried to install. It failed also, but it gave me a lot of output to pinpoint the problem. The output was:
    [eduardo@Tardis gcc-gcj]$ makepkg -si
    ==> Making package: gcc-gcj 4.8.2-3 (Wed 16 Apr 08:18:14 BRT 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found gcc-4.8.2.tar.bz2
    -> Found native_freetype.patch
    ==> Validating source files with md5sums...
    gcc-4.8.2.tar.bz2 ... Passed
    native_freetype.patch ... Passed
    ==> Extracting sources...
    -> Extracting gcc-4.8.2.tar.bz2 with bsdtar
    ==> Starting prepare()...
    patching file libjava/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
    patching file libjava/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln works... yes
    checking whether ln -s works... yes
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for gawk... gawk
    checking for libatomic support... yes
    checking for libitm support... yes
    checking for libsanitizer support... yes
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
    checking for gnatbind... no
    checking for gnatmake... no
    checking whether compiler driver understands Ada... no
    checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
    checking for objdir... .libs
    checking for the correct version of gmp.h... yes
    checking for the correct version of mpfr.h... yes
    checking for the correct version of mpc.h... yes
    checking for the correct version of the gmp/mpfr/mpc libraries... yes
    checking for version 0.10 of ISL... no
    checking for version 0.11 of ISL... no
    checking for version 0.12 of ISL... yes
    checking for version 0.17.0 of CLooG... no
    checking for version 0.18.0 of CLooG... yes
    The following languages will be built: c,c++,java,lto
    *** This configuration is not supported in the following subdirectories:
    zlib gnattools target-libada target-libgfortran target-libgo target-libbacktrace target-libobjc
    (Any other directories should still work fine.)
    checking for default BUILD_CONFIG... bootstrap-debug
    checking for bison... bison -y
    checking for bison... bison
    checking for gm4... no
    checking for gnum4... no
    checking for m4... m4
    checking for flex... flex
    checking for flex... flex
    checking for makeinfo... makeinfo
    checking for expect... no
    checking for runtest... no
    checking for ar... ar
    checking for as... as
    checking for dlltool... no
    checking for ld... ld
    checking for lipo... no
    checking for nm... nm
    checking for ranlib... ranlib
    checking for strip... strip
    checking for windres... no
    checking for windmc... no
    checking for objcopy... objcopy
    checking for objdump... objdump
    checking for readelf... readelf
    checking for cc... cc
    checking for c++... c++
    checking for gcc... gcc
    checking for gcj... no
    checking for gfortran... no
    checking for gccgo... no
    checking for ar... no
    checking for ar... ar
    checking for as... no
    checking for as... as
    checking for dlltool... no
    checking for dlltool... no
    checking for ld... no
    checking for ld... ld
    checking for lipo... no
    checking for lipo... no
    checking for nm... no
    checking for nm... nm
    checking for objdump... no
    checking for objdump... objdump
    checking for ranlib... no
    checking for ranlib... ranlib
    checking for readelf... no
    checking for readelf... readelf
    checking for strip... no
    checking for strip... strip
    checking for windres... no
    checking for windres... no
    checking for windmc... no
    checking for windmc... no
    checking where to find the target ar... host tool
    checking where to find the target as... host tool
    checking where to find the target cc... just compiled
    checking where to find the target c++... just compiled
    checking where to find the target c++ for libstdc++... just compiled
    checking where to find the target dlltool... host tool
    checking where to find the target gcc... just compiled
    checking where to find the target gcj... just compiled
    checking where to find the target gfortran... host tool
    checking where to find the target gccgo... host tool
    checking where to find the target ld... host tool
    checking where to find the target lipo... host tool
    checking where to find the target nm... host tool
    checking where to find the target objdump... host tool
    checking where to find the target ranlib... host tool
    checking where to find the target readelf... host tool
    checking where to find the target strip... host tool
    checking where to find the target windres... host tool
    checking where to find the target windmc... host tool
    checking whether to enable maintainer-specific portions of Makefiles... no
    configure: creating ./config.status
    config.status: creating Makefile
    [ -f stage_final ] || echo stage3 > stage_final
    make[1]: Entering directory '/home/eduardo/Documents/Programs and stuff/gcc-gcj/src/gcc-4.8.2/build'
    /bin/sh: line 0: test: too many arguments
    make[2]: Entering directory '/home/eduardo/Documents/Programs and stuff/gcc-gcj/src/gcc-4.8.2/build'
    make[3]: Entering directory '/home/eduardo/Documents/Programs and stuff/gcc-gcj/src/gcc-4.8.2/build'
    rm -f stage_current
    make[3]: Leaving directory '/home/eduardo/Documents/Programs and stuff/gcc-gcj/src/gcc-4.8.2/build'
    make[2]: Leaving directory '/home/eduardo/Documents/Programs and stuff/gcc-gcj/src/gcc-4.8.2/build'
    make[2]: Entering directory '/home/eduardo/Documents/Programs and stuff/gcc-gcj/src/gcc-4.8.2/build'
    Configuring stage 1 in ./intl
    /bin/sh: /home/eduardo/Documents/Programs: No such file or directory
    Makefile:5699: recipe for target 'configure-stage1-intl' failed
    make[2]: *** [configure-stage1-intl] Error 127
    make[2]: Leaving directory '/home/eduardo/Documents/Programs and stuff/gcc-gcj/src/gcc-4.8.2/build'
    Makefile:20145: recipe for target 'stage1-bubble' failed
    make[1]: *** [stage1-bubble] Error 2
    make[1]: Leaving directory '/home/eduardo/Documents/Programs and stuff/gcc-gcj/src/gcc-4.8.2/build'
    Makefile:885: recipe for target 'all' failed
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    What can I do?
    Last edited by eduardowoj (2014-04-15 18:02:12)

    The ggc-gcj PKGBUILD doesn't quote variables correctly, resulting in failure when directory names have spaces in them like on your system.
    Look for lines like this :
    make -j1 DESTDIR=${pkgdir} install-target-libjava
    if you change all references to variables to something like this, it should work :
    make -j1 DESTDIR="${pkgdir}" install-target-libjava

  • Building gcc 4.2 failed

    Hi there.
    Building gcc 4.2 on Solaris 10 on x86 failed:
    => ./configure prefix=/rwthfs/rz/SW/UTIL.common/gcc/4.2/i86pc-pc-solaris2.10 with-gmp=/rwthfs/rz/SW/UTIL.common/gcc/gmp/i86pc-pc-solaris2.10 with-mpfr=/rwthfs/rz/SW/UTIL.common/gcc/mpfr/i86pc-pc-solaris2.10 enable-language
    s=c,c++,fortran
    => gmake
    /rwthfs/rz/cluster/work/ct747764/gcc-4.2.0/host-i386-pc-solaris2.10/gcc/xgcc -B/rwthfs/rz/cluster/work/ct747764/gcc-4.2.0/host-i386-pc-solaris2.10/gcc/ -B/rwthfs/rz/SW/UTIL.common/gcc/4.2/i86pc-pc-solaris2.10/i386-pc-solaris2.10/bin/ -B/rwthfs/rz/SW/UTIL.common/gcc/4.2/i86pc-pc-solaris2.10/i386-pc-solaris2.10/lib/ -isystem /rwthfs/rz/SW/UTIL.common/gcc/4.2/i86pc-pc-solaris2.10/i386-pc-solaris2.10/include -isystem /rwthfs/rz/SW/UTIL.common/gcc/4.2/i86pc-pc-solaris2.10/i386-pc-solaris2.10/sys-include -O2 -O2 -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I./../intl -I../.././gcc/../libcpp/include -I/rwthfs/rz/SW/UTIL.common/gcc/gmp/i86pc-pc-solaris2.10/include -I/rwthfs/rz/SW/UTIL.common/gcc/mpfr/i86pc-pc-solaris2.10/include -I../.././gcc/../libdecnumber -I../libdecnumber -m64 -fexceptions -c ../.././gcc/unwind-dw2.c -o libgcc/amd64/unwind-dw2.o
    In file included from ./gthr-default.h:1,
    from ../.././gcc/gthr.h:114,
    from ../.././gcc/unwind-dw2.c:42:
    ../.././gcc/gthr-posix.h: In function '__gthread_active_p':
    ../.././gcc/gthr-posix.h:167: warning: missing braces around initializer
    ../.././gcc/gthr-posix.h:167: warning: (near initialization for '__gthread_active_once.__pthread_once_pad')
    ../.././gcc/unwind-dw2.c: In function 'uw_init_context_1':
    ../.././gcc/unwind-dw2.c:1417: warning: missing braces around initializer
    ../.././gcc/unwind-dw2.c:1417: warning: (near initialization for 'once_regsizes.__pthread_once_pad')
    Assembler: unwind-dw2.c
    "/tmp/ct747764/28859@sunoc63/cccuzz5d.s", line 396 : Warning: Illegal subtraction - symbols from different sections: ".L63", ".L73"
    "/tmp/ct747764/28859@sunoc63/cccuzz5d.s", line 6366 : Warning: Illegal subtraction - symbols from different sections: ".LFB69", ".DOT-65"
    "/tmp/ct747764/28859@sunoc63/cccuzz5d.s", line 391 : Illegal subtraction - symbols from different sections: ".L72", ".L73"
    gmake[4]: *** [libgcc/amd64/unwind-dw2.o] Error 1
    gmake[4]: Leaving directory `/rwthfs/rz/cluster/work/ct747764/gcc-4.2.0/host-i386-pc-solaris2.10/gcc'
    gmake[3]: *** [stmp-multilib] Error 2
    gmake[3]: Leaving directory `/rwthfs/rz/cluster/work/ct747764/gcc-4.2.0/host-i386-pc-solaris2.10/gcc'
    gmake[2]: *** [all-stage1-gcc] Error 2
    gmake[2]: Leaving directory `/rwthfs/rz/cluster/work/ct747764/gcc-4.2.0'
    gmake[1]: *** [stage1-bubble] Error 2
    gmake[1]: Leaving directory `/rwthfs/rz/cluster/work/ct747764/gcc-4.2.0'
    gmake: *** [all] Error 2
    => uname -a
    SunOS sunoc63.rz.RWTH-Aachen.DE 5.10 Generic_118855-36 i86pc i386 i86pc
    Has anybody been successfull building gcc 4.2 on Solaris 10 x86 and a solution for this issue?
    Thank you in advance,
    Christian

    I found the solution myself and will shortly summarize it here to complete the thread.
    (1) Use GNU as and non-GNU ld, so add "--with-gnu-as --with-as=/usr/sfw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld" to the configure command line. After I worked this out I found it noted on the build instruction website, RTFM proved to be useful again. :-)
    (2) At some point the compilation aborted because directory stage3-gcc could not be found, so I had to do "ln -s stage3-i386-pc-solaris2.10 stage3-gcc". Maybe this can be avoided with some other configure options, but this workaround was fine for me.
    (3) In order to use my own versions of gmp and mpfr, I had to add their library directory to the LD_LIBRARY_PATH environment variable (--with-gmp= and --with-mpfr= are not sufficient).
    Kind regards,
    Christian

Maybe you are looking for

  • Chimes on wake up

    I just installed a new Thunderbolt display to go along with my rMBP. Now, when the monitor (either the Thunderbolt or retina) turns off after a period of non-use, the Mac makes a chime sound (same as new mail arriving in Outlook) at least once but us

  • Wage Type Error

    Hi, i have one problem when i am coping from Model wage type i am getting one error in yellow msg,in table T539j&t539a like Wage type is not a key:please maintain manualy. Can U any body help me how should i maintain in that tables. Thanks in Advance

  • Bar Chart Sort Order

    HI I'm having a display/sort issue with Bar Charts and cannot find an option in the properties to fix it. If I have the following in cells B2:C5 in a spreadsheet: A   500 B   250 C   400 D   750 The Bar Chart will always displays the category labels

  • Sales order number in Assignment field

    Hi, The requirement is to capture Sales order number in the assignment field of the accounting document. Pls adv how to meet this. I have seen the tables BSEG and BKPF , but Sales order number is not coming in either of the tables. Regarsd

  • Use results from previous action to filter

    I hope there are some automator pros out there who can shed some light on this one. I am trying to create an app that will look in a specified folder, find all documents that were created in the last seven days, and then return results of only the fi