Solaris 10 compile samba4 error

Hi all
First, sorry for my poor English.
I am trying to compile Samba 4 on Solaris 10 ( Sunfire v250 machine)
Here are list of things I did:
+) got errors about option "-mt" of gcc so I wrote a short shell script to replace CC ( remove option "-mt")
+) then I set environment varibles: YACC=binson, LEX=flex, MAKE=gmake
+) I also set CFLAGS,LDFLAGS (LDFLAGS is set to get strsep function, not present in Solaris)
+)Now I got errors:
GCC: bin/subsystem/*.o : No such file or directory
"*" means a lots of file.
Have you ever compiled Samba4 on Solaris 10, please help me!
Thank in advance.

Did you try to compile with default options? ie., without env variables YACC, LEX, LDFLAGS, etc.,
Also did you try to compile with Sun Studio compilers? In case if you do not have the suite installed, you can get it for free from: http://developers.sun.com/prodtech/cc/downloads/index.jsp.
Sometimes Sun Studio provides more diagnostic error messages than GCC.

Similar Messages

  • Compiler Process error in Message Mapping

    Hi all,
    I have recently installed an XI system.
    First time when i create simple message mapping, it was showing compilation process error.
    Please tell me what needs to be done so that message mapping works well. It is really urgent.
    Thank you all.
    Regards,
    Kavan Shah

    hi
    check the HDD space on your XI server machine
    try checking the java path on your XI machine
    if this will not work contact the SAP via an OSS note
    As this is a new XI server it probably means it
    was incorrectly installed
    Note:please reward points if solution found helpfull
    Regards
    Chandrakanth.k

  • Compile time error

    I am a newbie in XML. I am trying to compile the following code. I am getting compile time errors. I have following environment varaibles set. Any help will be really appreciated.
    TIA.
    set JAVA_HOME=C:\Program Files\jdk1.3.1_03
    set JWSDP_HOME=C:\Program Files\jwsdp-1.1
    set JAXB_HOME=%JWSDP_HOME%\jaxb-1.0
    set JAXB_LIBS=%JAXB_HOME%\lib
    set JAXP_LIBS=%JWSDP_HOME%\jaxp-1.2.2\lib
    set JWSDP_LIBS=%JWSDP_HOME%\jwsdp-shared\lib
    set PATH=%JAVA_HOME%\bin;%JAXB_HOME%\bin;%JWSDP_HOME%\jwsdp-shared\bin;%PATH%
    set CLASSPATH=%JAXB_LIBS%\jaxb-api.jar;%JAXB_LIBS%\jaxb-ri.jar;%JAXB_LIBS%\jaxb-xjc.jar;%JAXB_LIBS%\jaxb-libs.jar;%JAXP_LIBS%\jaxb-api.jar;%JAXP_LIBS%\endorsed\xercesImpl.jar;%JAXP_LIBS%\endorsed\xalan.jar;%JAXP_LIBS%\endorsed\sax.jar;%JAXP_LIBS%\endorsed\dom.jar;%JWSDP_LIBS%\jax-qname.jar;%JWSDP_LIBS%namespace.jar;.
    C:\Learn XML>javac -verbose CountSax.java
    [parsing started CountSax.java]
    [parsing completed 63ms]
    CountSax.java:3: package org.xml.sax does not exist
    import org.xml.sax.* ;
    ^
    CountSax.java:4: package org.xml.sax.helpers does not exist
    import org.xml.sax.helpers.* ;
    ^
    CountSax.java:5: package javax.xml.parsers does not exist
    import javax.xml.parsers.*;
    ^
    CountSax.java:7: cannot resolve symbol
    symbol : class DefaultHandler
    location: class CountSax
    public class CountSax extends DefaultHandler {
    ^
    [loading C:\jdk1.3.1_02\jre\lib\rt.jar(java/lang/String.class)]
    CountSax.java:22: cannot resolve symbol
    symbol : class Attributes
    location: class CountSax
    public void startElement(String name,Attributes atts) {
    import java.io.* ;
    import org.xml.sax.* ;
    import org.xml.sax.helpers.* ;
    import javax.xml.parsers.*;
    public class CountSax extends DefaultHandler {
    public static void main(String args[]) {
    SAXParserFactory factory = SAXParserFactory.newInstance() ;
    SAXParser saxParser = factory.newSAXParser() ;
    saxParser.parse(new File(args[0]),new CountSax()) ;
    static private int eltCount = 0 ;
    public void startDocument() {
    eltCount = 0 ;
    public void startElement(String name,Attributes atts) {
    eltCount ++ ;
    public void endDocument() {
    System.out.println("Total number of elements: " + eltCount) ;
    }

    Here is my classpath now
    set CLASSPATH=%JAVA_HOME%;%JAXB_LIBS%\jaxb-api.jar;%JAXB_LIBS%\jaxb-ri.jar;%JAXB_LIBS%\jaxb-xjc.jar;%JAXB_LIBS%\jaxb-libs.jar;%JAXP_LIBS%\jaxb-api.jar;%JAXP_LIBS%\endorsed\xercesImpl.jar;%JAXP_LIBS%\endorsed\xalan.jar;%JAXP_LIBS%\endorsed\sax.jar;%JAXP_LIBS%\endorsed\dom.jar;%JWSDP_LIBS%\jax-qname.jar;%JWSDP_LIBS%namespace.jar;.
    It still doesn't work. The pakages that it is complaining about comes from sax.jar which is already in classpath. Can anybody please help.
    TIA

  • LabView Crashing and compile server error.

    Hi,
    I'm having some errors when I compile code for my FPGA (PXI-7831R). I am using LabView 8.2.1.
    Sometimes labView crashes completely and sometimes it comes up with a compile server error.
    My code contains 3 VI's. The first send sends digital output and reads digital input 10 times and then called another VI to save these results. The second VI repeats the first VI 10 times.
    When the first VI is compiled on its own it works (including the saving data VI which saves it to a FIFO) but when the second VI is compiled, that is when it errors.
    I have attached the compile server errors and the screen dumps of when labView crashes.
    Can anyone suggest what I am doing wrong?
    Thanks.

      ok. Let me try and make my problem a little clearer....
    I have now combined all the VI's into one.
    It is supposed to write to the digital output and read from the digital outputs 10times at a rate of 10us and store the data to the FIFO. This process is then repeated at a rate of 80ms for 8 times.
    I have attached a word document with an explanation on the error. 
    Attachments:
    lvlog07-26-07-12-04-50.txt ‏3 KB
    Problem Explaination.doc ‏61 KB
    f623_appcompat.txt ‏93 KB

  • Formatting Failed:  Compiler File Error

    Hello...
    Yesterday I got my crossgrade disks from Apple, so I upgraded my G4 Powerbook with the full Studio Pro upgrade, then made sure I had all current patches.
    When I opened up one of my DVD Studio Pro projects and clicked Burn, It failed with a dailog box that said "Formatting failed, Building was not successful, See log" so I looked at the log and it said in red "Compiler File Error"
    This project worked fine before I upgraded... So, for grins, I started from scratch and rebuilt the project and reimported the assets. Now I had just recompressed the video/audio with the new compressor as well... Anyway, same result. Also, when it fails, the OS-X window pops up that you normally get once you insert a blank DVD and you can choose an app or hit ignore.
    Can't figure this out... Any help would be greatly appreciated.
    Dave
    Powerbook G4   Mac OS X (10.4.3)  

    Once I upgraded, I recompressed the video (its about 14 min, and uses Dolby, not AIFF)... When I opened DVD Studio Pro, it prompted me that assets had changed, I said ok, then tried to burn and go the error. I then tried deleting the PAR folder, no help. So, I just closed the project, hit NEW and recreated the project (it was rather simple) and then tried to burn... Same error.
    I burned this same DVD two days ago under the old pre-universal version and it worked fine. I only recompressed because I heard that the new version performed much better.
    Sorta lost on this one... I don't see any reason why it shouldnt work. The log only says the one line and gives no other help.

  • Getting compile time errors during gwt application compilation

    Hi,
    I am getting below compile errors while running ant script for my GWT application.
    javac:
    [javac] Compiling 32 source files to D:\Projects\workspace\MckSurvey\war\WEB-INF\classes
    [javac] D:\Projects\workspace\MckSurvey\src\com\spinsci\survey\client\model\QuestionBean.java:38: type parameters of <X>X cannot be determined; no unique maximal instance exists for type variable X with upper bounds int,java.lang.Object
    [javac]           return get("questionId");
    [javac] ^
    I am using JDK 1.6 and ANT 1.7 s/w.
    below is the target which is used in the build file:
    <javac srcdir="src" includes="**" encoding="utf-8"
    destdir="war/WEB-INF/classes"
    nowarn="true"
    debug="true" debuglevel="lines,vars,source"
         includeDestClasses="false"
         source="1.5" target="1.5"      
              >
    <classpath refid="project.class.path"/>
    <compilerarg value="-Xlint:-unchecked"/>
    </javac>
    Please suggest me accordingly to overcome this generics compile time errors.
    Regards,
    Sunder.

    dannyyates wrote:
    There are/have been numerous examples of differences in spec interpretation between Eclipse (ecj) and the Sun compiler. I generally find that Eclipse is more accurate in it's interpretation than Sun! :-)
    I would suggest raising this on an appropriate Eclipse forum. The guys there are normally very good at digging into the issue and explaining why they think they are right or else admitting that they've got it wrong.I totally agree on both accounts. I myself have seen at least two compiler bugs and asked both the Sun guys and the Eclipse guys (through their respective bug tracking systems) and both have been resolved (in both cases ecj was actually right, but I wouldn't dare drawing any conclusions from that ;-)).

  • Fpga compile worker error (file not found)

    Hi
    I try to get started with the FPGA functionality of cRIO and got stuck. This seems to be no issue of the cRIO(9014) but of the Xilinx software together with NI.
    I am running an English LV 2011 ( many previuos versions installed as well) on  a German Windows XP prof. 32 bit.
    I was setting up a little project and when it came to compiling ran into errors. First I asked a colleague than I checked the NI support web site. Next time I'll contact the NI local support, but maybe some of you guys hast a faster answer before.
    1. I want to run a local compile server. I can start it from start> programs>NI> FPGA. Up pops a  question whether I want to allow others to connect remotly. The answer seems to make no difference.
        I do not see any icon in the task bar or elsewhere. SHOULD I see a process running in the task manager ? 
    2. The NI Service locator seems to be running http:/localhost:3580/dump shows a table  like attached. SHOULD I see the server running here ?
    3. If I start the Compile Worker after some seconds I get a message saying something like file not found. I think, compile server error is only a followup.
    I have already re-installed the Xilinx-Tools from the down loaded iso. (that having started yesterday night ......) .
    I attach as well the log file. (would have liked, but three is the max)
    That whole system of compilation seems to be not very stable when I see all the posts, but I have not found these specific errors.
    So I still hope someone has an idea.
    Thanks in advance
    Gabi 
    7.1 -- 2013
    CLA
    Attachments:
    ServiceLocator.jpg ‏47 KB
    XilinkNotFound.jpg ‏101 KB
    FPGA Fehler.jpg ‏44 KB

    Gabi Tillmann wrote:
    Second thoughts:
    Is it really worth using that so highly promoted FPGA  on cRIO  ???? We'll see.
    This Question is technically wrong!
    Whenever you are using the C-Series IO-Modules of the cRIO you are using the FPGA, even in ScanMode where NI RIO loads pre-defined bitfiles onto the FPGA.
    The FPGA provides you ns Timing, it gives you nativly true parallelism, you are directly programming the bahaviour of FlipFlops, LUTs, Registers and so on.
    It gives you the ability to programm hardware without the need to understand complex HDL languages.
    The cRIO is besides PXI the most flexible and powerful (908x) platform NI offers. The decision to use an FPGA or to use a cRIO should not be "because it's there".
    The decision to use an FPGA-based Platform depends on the complexity of the application, just think about custome beahviour of IOs or custom triggering.
    Christian
    P.s.: Great that you solved your compiler issue.

  • Procedure with recursive query working in 11g compiles with error in 10g

    Hi, All,
    I have a procedure that recursively selects tree-like table (with ID-ParentID relationship). Query itself works perfectly and exactly like I need in 11g and procedure containing it compiles well. But when I try to create the same procedure in 10g then I get a message that procedure compiled with error. I have no other suspicions but on the WITH part of the procedure.
    The exact query is here (destination_tariff_zones is the tree-like table which refers to itself by parent_destination_tariff_zone_id):
    + open dtzl_cur FOR
    with dtree (nm, iid, alevel, wldcard, dtzindex)
    as (select dtz.iname, dtz.iid, 0, dtz.wildcard, rcdi.iindex
    from destination_tariff_zones dtz, rating_cube_dimension_indices rcdi, rating_cube_dimensions rcd
    where dtz.parent_tariff_zone_id is null and
    dtz."rc_dimension_index_id" = rcdi.iid and
    rcdi."rc_dimension_id" = rcd.iid and
    rcd.rating_cube_id = rc_id and
    rcd.dimension_type_id = dim_type
    union all
    select dtz.iname, dtz.iid, dtree.alevel + 1,
    cast ((dtree.wldcard || dtz.wildcard) as varchar2(20)), rcdi.iindex
    from dtree, destination_tariff_zones dtz, rating_cube_dimension_indices rcdi, rating_cube_dimensions rcd
    where dtree.iid = dtz.parent_tariff_zone_id and
    dtz."rc_dimension_index_id" = rcdi.iid and
    rcdi."rc_dimension_id" = rcd.iid and
    rcd.rating_cube_id = rc_id and
    rcd.dimension_type_id = dim_type)
    select iid, nm, wldcard, dtzindex
    from dtree
    order by wldcard;+
    Is there any difference between how 11g and 10g handle WITH statements?
    Please advise.
    Thank you very much in advance,
    Max

    Max Afanasiev wrote:
    then is there any alternative to implement what I need?You can look at using CONNECT BY to emulate a recursive query. If you can post the following we may be able to help:
    1. Sample data in the form of CREATE / INSERT statements.
    2. Expected output
    3. Explanation of expected output (A.K.A. "business logic")
    4. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Fatal Error: compiler internal error

    Hi,
    I'm new to JDeveloper and am having a problem trying to use jdk
    1.3.1_01 with it. The version I'm using is Version 2.0 (Build
    343).
    I tried to define a new target JDK version for java version
    1.3.1_01 and got a "Could not create dependency files" message
    at the end (I got the same message when I defined a new target
    JDK version for 1.2.1).
    When I try to compile anything in JDeveloper with the 1.3.1_01
    version set I get the following errors:
    Fatal Error: compiler internal error
    and
    Fatal Error: internal assertion failure jmk 465
    When trying to to compile with 1.2.2 I don't get this problem.
    Would anyone be able to help me with this?
    Thanks,
    Marcia

    Hi,
    I'm new to JDeveloper and am having a problem trying to use jdk
    1.3.1_01 with it. The version I'm using is Version 2.0 (Build
    343). If you are new to JDeveloper, I recommend that you get a latter
    version from OTN. You can get production 3.2.3 and Oracle9i
    JDeveloper Release Candidate from OTN
    (http://otn.oracle.com/software/products/jdev/content.html).
    JDeveloper 2.0 works on JDK 1.1.7b.
    JDeveloper 3.2.3 uses JDK 1.2
    Oracle9i JDeveloper uses JDK 1.3
    >
    I tried to define a new target JDK version for java version
    1.3.1_01 and got a "Could not create dependency files" message
    at the end (I got the same message when I defined a new target
    JDK version for 1.2.1).
    When I try to compile anything in JDeveloper with the 1.3.1_01
    version set I get the following errors:
    Fatal Error: compiler internal error
    and
    Fatal Error: internal assertion failure jmk 465
    When trying to to compile with 1.2.2 I don't get this problem.It sounds like a backwards compatiability problem with java.
    Again I would switch version of JDeveloper, which comes with the
    correct version of JDK.
    >
    Would anyone be able to help me with this?
    Thanks,
    Marcia

  • What is a Compiler File Error?

    I'm getting this error message when I try to burn my DVD.
    "Starting DVD Build ALLINTHEFAMILY...
    Compiler File Error"
    It happens right away. What's wrong?

    I think there is a bug in DVDSP4 and Apple needs to address this ASAP. The workable fix is to delete the DVDSP4 preference files.
    I was having the described problem, and I've seen numerous discussions of the issue on blogs and groups all over the net. In any case, when you have this "Compiler File Error" message, exit DVDSP, navigate to user->library->preferences->com.apple.dvdstudiopro.plist and toss that puppy in the trash. Empty the trash. Restart DVDSP and burn without further problems...at least until next time!
    Hey APPLE! Wake up and fix this for us!!! Thank you!
    In Service of Mankind,
    -Ruth

  • Compilation process error : null/bin/javac: not found

    Hi experts,
    I am getting following error in IR.
    Compilation process error : null/bin/javac: not found
    Can anybody plaese help what is cause for this error.
    Kind Regards,
    Praveen

    Hi Praveen
    Specify the jstartup/vm/home parameter in the instance profile to be directed at the correct JAVA_HOME.
    Furthermore, act by SAP Note 718901.
    Also test ur mapping using this blog
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    Regards,
    Prateek

  • Pls suggest a reason for a compile time error

    the following program gives a compile time error bcoz of the statement
    ((State)this).val=this.val. if u could suggest why?
    public class Mainc
    public static void main(String args[])
    State st=new State();
    System.out.println(st.getvalue());
    State.Memento mem= st.memfunc();
    st.altervalue();
    System.out.println(st.getvalue());
    mem.restore();
    System.out.println(st.getvalue());
    public static class State
    protected int val=11;
    int getvalue()
         return val;
    void altervalue()
         val=(val+7)%31;
    Memento memfunc()
         return new Memento();
    class Memento
         int val;
    Memento()
         this.val=state.this.val;
         void restore()
              ((State)this).val=this.val;
    }

    The statement :
    ((State)this).val
    tries to cast Memento into its super class State which is inorrect [former is not latter's subclass]
    restore method should be as follows:
    void restore()
    State.this.val=this.val;
    }

  • How do you fix a "compiler file error" in DVD Studio Pro?

    I've tried to burn a DVD from a project file in DVD Studio Pro a couple times now and get a "Compiler File Error" each time. What does it mean and how do I fix it?
    Thanks.

    where are you assests from? did you use compressor to create a mpeg2 and dolby audio file? did you export self contained and bring into compressor? or a reference movie? What were your orginal seq settings? More details.

  • Compiler File Error

    I am unable to burn DVDs in DVDSP2. I get the same message each time: Compiler File Error. I have tried compressing as MPEG2, I have tried moving media to boot drive and I have tried re-loading Compressor and DVDSP and upgrading before opening. I have tried everything suggested here to solve this issue but have been unsuccessful so far. Any thoughts?

    I used the "DVD: Best Quality 90 minutes" presets in Compressor (Dobly Digital Pro 2.0 and MPEG-2 2.6Mbps 2-pass). By "gaps in the timeline" do you mean the FCP timeline? If so, no, there is only one movie.
    The project does not build at all. I click BURN, the INITIATE dialog box appears and closes immediately. The log then shows COMPILER FILE ERROR.

  • Continuous 'Compiler File Error'

    I've tried to burn various projects recently and each time I am getting a 'Compiler File Error' message. Can anybody advise what I should do to get rid of this. It's a real pain!
    Basically I have various projects which I'm unable to build it at all. Here's a run down on what's happening from the log...
    Starting DVD Build...
    Compiler File Error (in red)
    Build Cancelled
    Formatting Finished
    Building was not successful. See log. (in yellow)
    And there's nothing about this error message in the Help guide either.

    I had the very same problem. I simply moved the DVD Studio Pro prefs file found in system library>prefrences to my desktop. DVDSP will automaticly create a new pref file. If it fixed the problem you can trash the old pref file. This worked for me.

Maybe you are looking for

  • Wine does not run any game anymore

    Hi, Since wine package has replaced bin32-wine, I cannot run any game either as user or as root. I get a wine dialog saying "you're not authorized to run this game". I usually launch my games with playonlinux, but this also occurs in console: [root@a

  • Missing Tool Palette

    Really feel silly asking but . . . Just upgraded to CS 5.5 from CS3. Can't seem to find the tool palette (slection arrows, type tool, etc.)

  • Iphone to computer headphone/mic adapter

    I've searched the archives and googled till I'm blue in the face but no one seems to make a 2x 2.5mm Female Mic/Headphone to 3.5mm Male iPhone Y adapter. Earbuds bother me after a very short while and the ambient noise in my office is a nusiance. I h

  • ITunes.exe

    After installing the ipod update, when you click on itunes the itunes.exe keeps coming up. Itunes will not come up. It just wants to install or uninstall itunes.Any ideas?

  • Xauth warning message when X forwarding

    Hello, Typing "ssh -X remotehost" returns: Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. Not only the message is annoying but it also considerab