Enabling Nested Functions in Terminal?

I downloaded, and compiled FUSE, but when I try to "make" it i get this error
Macintosh-5:fuse-2.7.4 alexcaballero$ make
Making all in include
make all-am
Making all in lib
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVECONFIGH -I. -I. -I../include -I../include -DFUSERMOUNT_DIR=\"/usr/local/bin\" -DFILE_OFFSETBITS=64 -D_REENTRANT -DFUSEUSEVERSION=26 -Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing -MT fuse.lo -MD -MP -MF ".deps/fuse.Tpo" -c -o fuse.lo fuse.c; \
then mv -f ".deps/fuse.Tpo" ".deps/fuse.Plo"; else rm -f ".deps/fuse.Tpo"; exit 1; fi
libtool: compile: gcc -DHAVECONFIGH -I. -I. -I../include -I../include -DFUSERMOUNT_DIR=\"/usr/local/bin\" -DFILE_OFFSETBITS=64 -D_REENTRANT -DFUSEUSEVERSION=26 -Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing -MT fuse.lo -MD -MP -MF .deps/fuse.Tpo -c fuse.c -fno-common -DPIC -o .libs/fuse.o
In file included from fuse.c:18:
../include/fuse_compat.h:69:24: error: sys/statfs.h: No such file or directory
In file included from fuse.c:18:
../include/fuse_compat.h:91: warning: 'struct statfs' declared inside parameter list
../include/fuse_compat.h:91: warning: its scope is only this definition or declaration, which is probably not what you want
../include/fuse_compat.h:140: warning: 'struct statfs' declared inside parameter list
fuse.c:689: warning: 'struct statfs' declared inside parameter list
fuse.c: In function 'convertstatfsold':
fuse.c:691: error: dereferencing pointer to incomplete type
fuse.c:692: error: dereferencing pointer to incomplete type
fuse.c:693: error: dereferencing pointer to incomplete type
fuse.c:694: error: dereferencing pointer to incomplete type
fuse.c:695: error: dereferencing pointer to incomplete type
fuse.c:696: error: dereferencing pointer to incomplete type
fuse.c:697: error: dereferencing pointer to incomplete type
fuse.c: In function 'fusecompatstatfs':
fuse.c:708: error: storage size of 'oldbuf' isn't known
fuse.c:708: warning: unused variable 'oldbuf'
fuse.c: In function 'curr_time':
fuse.c:1183: error: nested functions are disabled, use -fnested-functions to re-enable
fuse.c:1183: error: syntax error before 'clockid'
fuse.c:1184: warning: implicit declaration of function 'clock_gettime'
fuse.c:1184: error: 'clockid' undeclared (first use in this function)
fuse.c:1184: error: (Each undeclared identifier is reported only once
fuse.c:1184: error: for each function it appears in.)
fuse.c:1186: error: 'CLOCK_REALTIME' undeclared (first use in this function)
make[1]: * [fuse.lo] Error 1
make: * [all-recursive] Error 1
when I try -fnested-functions in the terminal to enable the functions, this error comes up
Macintosh-5:~ alexcaballero$ -fnested-functions
-bash: -fnested-functions: command not found
so how do i enable them?

Well the thing is that I did install MacFuse, yet the directions I got told me I had to download FUSE as well. I'm trying to mount my Gmail account on my desktop.
So were these instructions Mac specific? Or where they for Unix/Linux systems running Fuse? Is there a web URL you can give?
Oh yea, where did you download your Fuse sources from? Just in case someone whats to look at a copy.
As to your -fnested-functions error:
fuse.c:1183: error: nested functions are disabled, use -fnested-functions to re-enable
This is NOT a shell option, but a compiler option. If you wish to pursue this, you would need to change the Makefile so that the compiler using the -fnested-functions option.

Similar Messages

  • Enabling nested function?

    I'm trying to "make" FUSE, and i keep getting this error
    fuse.c: In function 'curr_time':
    fuse.c:1183: error: nested functions are disabled, use -fnested-functions to re-enable
    fuse.c:1183: error: syntax error before 'clockid'
    fuse.c:1184: warning: implicit declaration of function 'clock_gettime'
    fuse.c:1184: error: 'clockid' undeclared (first use in this function)
    fuse.c:1184: error: (Each undeclared identifier is reported only once
    fuse.c:1184: error: for each function it appears in.)
    fuse.c:1186: error: 'CLOCK_REALTIME' undeclared (first use in this function)
    make[1]: * [fuse.lo] Error 1
    make: * [all-recursive] Error 1
    i tried -fnested-function but i get
    Macintosh-5:~ alexcaballero$ -fnested-functions
    -bash: -fnested-functions: command not found

    Cross posted in the Mac OS X Technologies -> Unix forum
    <http://discussions.apple.com/thread.jspa?messageID=9073766&tstart=0#9073766>

  • Syntax for nested function/procedure?

    Hi,
    What's the syntax to create a sub function/procedure in another function/procedure? Is this available in 9i?
    Thanks.

    Nested functions and procedures have been available since at least 7.3. However, any nested functions or procedures need to be the last things in your declare section.
    This works:
    SQL> CREATE OR REPLACE PROCEDURE test_proc is
      2     l_v VARCHAR2(100);
      3     FUNCTION nested_function RETURN VARCHAR2 IS
      4     BEGIN
      5        RETURN('nested function call') ;
      6     END;
      7  BEGIN
      8     l_v := nested_function;
      9     DBMS_OUTPUT.Put_Line(l_v);
    10  END;
    11  /
    Procedure created.But this does not:
    SQL> CREATE OR REPLACE PROCEDURE test_proc is
      2
      3     FUNCTION nested_function RETURN VARCHAR2 IS
      4     BEGIN
      5        RETURN('nested function call') ;
      6     END;
      7     l_v VARCHAR2(100);
      8  BEGIN
      9     l_v := nested_function;
    10     DBMS_OUTPUT.Put_Line(l_v);
    11  END;
    12  /
    Warning: Procedure created with compilation errors.
    SQL> show err
    Errors for PROCEDURE TEST_PROC:
    LINE/COL ERROR
    7/4      PLS-00103: Encountered the symbol "L_V" when expecting one of the
             following:
    12/0     PLS-00103: Encountered the symbol "end-of-file" when expecting
             one of the following:
             begin function package pragma procedure formTTFN
    John

  • How to debug "pipelined parallel enable table function" ?

    Dear All,
    Normally we can retrieve output from a "pipelined parallel enable table function " by using SQL statement, such as
    select output from table(pipelined_function(arg1));
    Can anyone alight me how to call this function purely using PL/SQL statement?
    Reason for this : We have third party developer develooped a complicate "pipelined parallel enable table function" and this function is currently calling by SQL (select output from table(pipelined_function(arg1));
    ), I will like to debug this function, but unable to do so, so far I have done :
    1) compile function with debug option
    2) using Procedure Builder to debug, if I execute the above statement (select output from table(pipelined_function(arg1)); I believe, Procedure Builder will not debug a function from a SQL statement
    3) try to build up a PL/SQL block, but don't know how to it.
    basically I want to debug this "pipelined parallel enable table function " and don't know how to do it, any example will be greate!

    user2302827 wrote:
    Using dbms_output is fine but too tedious. I was looking for a PL/SQL procedure builder that can help to debug a statement like this:
    select output from table(pipelined_function(arg1));
    Any suggestion?I don't know about any procedure builders.
    There is a debugger you can use, though I'd have to think about how to invoke it to use with a pipelined function. The debugger is available in GUI tools like SQL*Developer and TOAD and can be used to walk through a program and set values

  • In Office 2011 the function "share it by e-mail" seems to be disabled. that happened recently, just after the apple update regarding Java. Any idea on how enable this function again?

    in Office 2011 the function "share it by e-mail" seems to be disabled. that happened recently, just after the apple update regarding Java. Any idea on how enable this function again?

    I was able to get to a support person who helped me fix this without charge. I guess it was my bad for not trying the right way to access support.
    Anyway, they answer is this.
    I had to create a new account on my computer. When I logged into the new account it immediately wanted an AppleID. I used my daughter's e-mail address for the AppleID. This setup the internet accounts correctly with her iCloud.com e-mail address. I was then able to access e-mail in both the browser and Mail. Not that complicated but nothing that I would have easily thought up on my own.
    Thank Apple Support!

  • Enable Attachment function on my Custom form

    Dear All,
    I am unable to enable attachment function on my Custom Sales Order form. Our form is just like standard form with some minor changes.
    Please, help me in this regards.
    Regards,
    Arsalan

    See if this helps
    Enabling the attachment icon for custom form created on custom view
    External site too
    http://oracleappstechnicalworld.blogspot.in/2008/04/attachment-functionality-in-oracle.html
    Mahendra

  • No "enable Java" function on Macbook Air. Help!

    I am having problem updating to the latest Flash player version. It kept showing "close safari"
    after some research, i found out that my MacBook Air has no "enable Java" function.
    any advice?
    Regards

    Java has nothing to do with Flash, and enabling it would not help you install Flash. Log out or restart the computer withou launching Safari and try again.

  • RFC Enabling a Function Module

    Hi Friends
    I need to remote enable a Function Module( for RFCs ) which was already developed some years ago.
    I need to know what all things I need to take care of when remote enabling such a Function Module.
    Thanks
    ~S

    this is what u need to do...
    1) change attributes of FM to Remote-Enabled
    2) create  RFC destination in SM59, u can specify the logon information here to access the remote system
    3) call the function by specifying the DESTINATION addition in the CALL FUNCTION statement...
    that is...
    CALL FUNCTION <func_name>
        DESTINATION <RFC destination name>
    but make sure of the following...
    1) if u r going to use asynchronous RFC, there should not be a return parameter in the FM,
    2) table header lines cannot be passed in RFC FMs
    3) no parameters can be passed by reference
    read the documentation on RFC for details...
    http://help.sap.com/saphelp_erp2004/helpdata/en/22/042abd488911d189490000e829fbbd/frameset.htm
    rgds,
    PJ

  • How to enable Comment functionality in Design Studio

    Hi Experts,
    How can we enable comment functionality in Design studio? This is important for users:
    a) To enter comments in the application
    b) To see the comments after reopening the application again. This means, it needs to be stored somewhere.
    This application is built on top of a BEx Query.
    Really appreciate your help here!!
    Thanks,
    Jomy

    Hi Jomy - I see your point
    Looking at Figure 7 here Lumira and Design Studio Updates Roadmap from ASUG Annual Conference - Part 2 it is not going to be built in Design Studio
    So my opinion only here -  either you buy CubeServ add-on or you build SDK yourself.  As an accountant I would do cost-benefit - how long (cost) would it take for someone other than CubeServ to do it versus buying from CubeServ.
    Maybe others have ideas?

  • Is there a way to enable root user using terminal?

    is there a way to enable root user using terminal? i've tried in directory app but its not letting me log in under root since repairing permissions

    Hi
    If all you're seeing is bash-3.2# you are logged in as root. Type exit followed by a return. What do you see now?
    I think most of your questions could be answered with some judicious reading? Download as many admin manuals you can:
    http://www.apple.com/server/macosx/resources/
    Tony

  • Nested functions?

    If I insert an IF function in a cell, I expect to be able to insert another function for the condition, but the functions are greyed out.
    Tutorials and the help system don't list nested functions. Anyone point me in the right direction, please?

    Martin Inchley wrote:
    Thanks for this. Seems to work so far. I suppose the reason the other functions button is greyed out is because it is intended primarily for the major summary functions it lists, which would not normally fit within a formula.
    Perhaps it would have been more apt to name this "Formulas" rather than "Function" since the bulk of the items in the pop up menu generate entire formulas (complete with equal sign and "smart" range parameter values) rather than just a function piece of a formula.

  • Nested function

    (1)
    i want to add a listener that it will direct to a nested function if it triggered,
    but later i found that i cant name the target event directly as "dragStart", so what should i type?
    (2)
    also, are there some ways that able to do the same tweening effect as the code below but without nesting them?
    i made the tweenings play as one by one.
    thz for any help
    function changeImg() {
        mask1.removeEventListener(Event.ENTER_FRAME, mask1Drag);
        stage.addEventListener(MouseEvent.CLICK, dragStart);
         var maskTween1:Tween = new Tween(mask1,"width",Strong.easeInOut,1,750,1,true);     maskTween1.addEventListener(TweenEvent.MOTION_FINISH, playMaskTween2);
        function playMaskTween2(e) {         var maskTween2:Tween = new Tween(mask1,"width",Strong.easeInOut,750,1,1,true);         maskTween2.addEventListener(TweenEvent.MOTION_FINISH, playMaskTween3);
            function playMaskTween3(e) {             var maskTween3:Tween = new Tween(mask1,"width",Strong.easeInOut,1,750 - mouseX,1,true);             maskTween3.addEventListener(TweenEvent.MOTION_FINISH, dragStart);
               function dragStart(e) {                 maskTween1.stop();
                    maskTween2.stop();
                    maskTween3.stop();
                    mask1.addEventListener(Event.ENTER_FRAME, mask1Drag);

    variable declaration (eg, var maskTween1:Tween) doesn't define the variable.  it triggers memory allocation for that variable but nothing is assigned to that variable.  ie, that variable's value is null.  (the trace() function is single most important tool (by far) to understand actionscript.  use trace(maskTween1) to see its value after declaration and after assign a new Tween() to it.)
    if(maskTween1==true) will always resolve to false.  ie, maskTween1 is never true.
    for listeners that you want to remove, you usually remove them in the listener function as shown below.
      var   maskTween1:Tween
    var maskTween2:Tween
    var maskTween3:Tween
    function changeImg() {
        mask1.removeEventListener(Event.ENTER_FRAME, mask1Drag);
        stage.addEventListener(MouseEvent.CLICK, dragStart);
          maskTween1 = new Tween(mask1,"width",Strong.easeInOut,1,750,1,true);     maskTween1.addEventListener(TweenEvent.MOTION_FINISH, playMaskTween2);
      function playMaskTween2(e) {
      maskTween1.removeEventListener(TweenEvent.MOTION_FINISH, playMaskTween2);
            maskTween2 = new Tween(mask1,"width",Strong.easeInOut,750,1,1,true);
            maskTween2.addEventListener(TweenEvent.MOTION_FINISH, playMaskTween3);    
       function playMaskTween3(e) {
        maskTween2.removeEventListener(TweenEvent.MOTION_FINISH, playMaskTween3);    
               maskTween3 = new Tween(mask1,"width",Strong.easeInOut,1,750 - mouseX,1,true);
                maskTween3.addEventListener(TweenEvent.MOTION_FINISH, dragStart);
    function dragStart(e) {
       stage.removeEventListener(MouseEvent.CLICK, dragStart);
      maskTween3.removeEventListener(TweenEvent.MOTION_FINISH, dragStart);
                    maskTween1.stop();
                     maskTween2.stop();
                     maskTween3.stop();
                     mask1.addEventListener(Event.ENTER_FRAME, mask1Drag);

  • When exit they normally ask whether we want SAVE & QUIT, how to enable that function to appear?

    As stated above, how can we enable that function back again? As it is troublesome for me when i exit and next day i need click those necessary tab out.

    You can set the warn prefs on the <b>about:config</b> page to <b>true</b> via the right-click context menu or toggle the value with a double left-click.
    * browser.tabs.warnOnClose, see http://kb.mozillazine.org/About%3Aconfig_entries
    * browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
    * browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart
    Another possibility is to use:
    *Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    Firefox 4 saves the previous session automatically, so in that version there is no longer need for the dialog asking if you want to save the current session.<br />
    You can use "Firefox > History > Restore Previous Session" to get the previous session.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.<br />

  • How can I change the color of the highlighted text when using the FIND function in Terminal?

    When searching for text in the Terminal's buffer, the matched text is highlighted using a color which seems to be computed from the background's color. I'm using a black backgroud and the finder's highlighter is grey. How can I change this? I'd like to specify the foreground and background colors of the matching text. I couldn't find an appropriate setting in the terminal's settings, nor in the default settings using the command "defaults".

    In my .bashrc file, I have enabled a couple of grep environment variables.
    GREP_OPTIONS='--color=always'
    GREP_COLOR='00;38;5;226'
    The latter is a vivid yellow.
    From the shell, I can search my history:

  • Case and decode - nested functions

    Can i use a case statement inside a decode or nvl2 function?
    eg.
    decode(col_a,'ABC',
    case when col_b in (1,2) then 'CCC' else when col_b in (3,4,5) then 'XXX' end
    , 'NA')
    Can i use a function like this basically, can i nest a case statement within a decode or nvl2 function?
    I have used nested decodes and nvls and nested case statements but not combined both so far.... so need an opinion...
    Thanks.
    Edited by: user254668 on Apr 30, 2010 1:35 PM

    user254668 wrote:
    Can i use a case statement inside a decode or nvl2 function? Absolutely. Just get rid of that else:
    decode(col_a,'ABC',
    case when col_b in (1,2) then 'CCC' when col_b in (3,4,5) then 'XXX' end
    , 'NA') SY.

Maybe you are looking for