Forte C compiler, SIZEOF from X11/xdm.h and macro concatenation

Hi,
I'm trying to trace the version of compiler I need to build some legacy software. The software can't be changed. I'm currently using:-
% cc -V
cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
with a demo licence.
I'm currently having problems compiling some code which makes use of the SIZEOF macro from /usr/openwin/include/X11/xdm.h. This macro uses concatenation to prefix the argument with 'sz_'. The problem I'm seeing is that 'sz_' is undefined at compile time; looking at the output of the preprocessor I see that a space has been added between the prefix and the argument (e.g. SIZEOF(x) produces 'sz_ x').
Questions:
1. Does this indicate an error in the way I'm using the compiler? I presume that the macro is defined as sz_/**/x, the null comment being replaced by a space. This definition is used because of #ifdef's in the xdm.h file guarding against using sz_##x. Is a -D flag required somewhere to force the correct definition?
2. I also don't want to change the make files in use if possible, so using a -D option is not ideal. Is there a later compiler version where any problem has been corrected?
Cheers,
Chris.

OK, the -Xs option forces it to work, but this is a change to the makefile.
I'm confused because this is 3rd-party software, using a standard macro from openwin.
The relevant code in the include file /usr/openwin/include/X11/Xmd.h is:
#if ((__STDC__ || defined(__cplusplus) || defined(c_plusplus)) && !defined(UNIXCPP)) || defined(ANSICPP)
#define SIZEOF(x) sz##x
#define SIZEOF(x) _SIZEOF(x)
#else
#define SIZEOF(x) sz_/**/x
#endif /* if ANSI C compiler else not */
Surely all the condition macros should be defined by the compiler/preprocessor - if there's an error in picking up the correct SIZEOF definition, it's because the wrong macros are defined? I believe that __STDC__ is defined as 0, which is why the evaluation falls through to the second clause.
Is the preprocessor at fault, and if so when was it fixed?

Similar Messages

  • Acrobat 9: compiling responses from multiple questionnaire responses into spreadsheet

    I want to send out a questionnaire to 150+ individuals, then compile responses from all parties into one spreadsheet. The form uses drop down options and text fields.

    You can compile the data from multiple PDF forms into a single spreadsheet in Acrobat, if that's what you're asking. I can't say for sure where that command is in Acrobat 9, but it should be somewhere under Document or Advanced...

  • RE: (forte-users) appdist copy from VMS to NT question...

    Well, there are some graphic FTP clients for windows that allow
    you to get files from FTP-servers using simple drag and drop.
    Most of them even support the option of selecting a directory
    and dragging it, with all its subdirectories, to your local drive
    with a single mouse action.
    The only problem might be with binary vs. text files. The appdist
    directory has both filetypes. Getting text files as if they were
    binary files may cause problems. Getting binary files as if they
    were text certainly will cause problems. So, either get the
    whole tree binary and hope for the best. Or get each file indi-
    vidually and set the correct bin or asc setting. Or use a tool
    that is smart enough to see if a file is binary or text and hope
    it doesn't make any mistakes.
    Pascal Rottier
    STP - MSS Support & Coordination Group
    Philip Morris Europe
    e-mail: [email protected]
    Phone: +49 (0)89-72472530
    +++++++++++++++++++++++++++++++++++
    Origin IT-services
    Desktop Business Solutions Rotterdam
    e-mail: [email protected]
    Phone: +31 (0)10-2428100
    +++++++++++++++++++++++++++++++++++
    Don't meddle in the affairs of dragons
    'cause you're crunchy and taste good with ketchup
    -----Original Message-----
    From: Haben, Dirk [SMTP:[email protected]]
    Sent: Wednesday, December 08, 1999 6:32 AM
    To: 'Soapbox Forte Users'
    Subject: (forte-users) appdist copy from VMS to NT question ...
    G'day Folxs
    Does anyone here have a simple way to copy a whole appdist tree for myapp1
    say from VMS to NT? I have created a new environment on a NT box and want
    to
    copy down all our application distributions.
    eg:
    On OpenVMS machine vmsbox1 the directory tree and files
    vmsbox1::forte_root:[appdist.aenv_myapp_cl3...]*.*;
    should go to NT machine ntbox1
    [ntbox1] d:\temp\myapp\cl3\...
    Even just to d:\temp\aenv_myapp_cl3\... will do.
    ftp doesn't seem to do the trick here. Of cause I could write some routine
    to put/get file by file - but before I do all that I thought I ask around
    if
    it's already been done.
    Thanks,
    Dirk
    PS: Needless to say we still develop and makedist on VMS - for now (see
    Bulletin 388)!
    PPS: No I haven't forgotten about [appdist.aenv.myapp1]*.ace
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]

    Well, there are some graphic FTP clients for windows that allow
    you to get files from FTP-servers using simple drag and drop.
    Most of them even support the option of selecting a directory
    and dragging it, with all its subdirectories, to your local drive
    with a single mouse action.
    The only problem might be with binary vs. text files. The appdist
    directory has both filetypes. Getting text files as if they were
    binary files may cause problems. Getting binary files as if they
    were text certainly will cause problems. So, either get the
    whole tree binary and hope for the best. Or get each file indi-
    vidually and set the correct bin or asc setting. Or use a tool
    that is smart enough to see if a file is binary or text and hope
    it doesn't make any mistakes.
    Pascal Rottier
    STP - MSS Support & Coordination Group
    Philip Morris Europe
    e-mail: [email protected]
    Phone: +49 (0)89-72472530
    +++++++++++++++++++++++++++++++++++
    Origin IT-services
    Desktop Business Solutions Rotterdam
    e-mail: [email protected]
    Phone: +31 (0)10-2428100
    +++++++++++++++++++++++++++++++++++
    Don't meddle in the affairs of dragons
    'cause you're crunchy and taste good with ketchup
    -----Original Message-----
    From: Haben, Dirk [SMTP:[email protected]]
    Sent: Wednesday, December 08, 1999 6:32 AM
    To: 'Soapbox Forte Users'
    Subject: (forte-users) appdist copy from VMS to NT question ...
    G'day Folxs
    Does anyone here have a simple way to copy a whole appdist tree for myapp1
    say from VMS to NT? I have created a new environment on a NT box and want
    to
    copy down all our application distributions.
    eg:
    On OpenVMS machine vmsbox1 the directory tree and files
    vmsbox1::forte_root:[appdist.aenv_myapp_cl3...]*.*;
    should go to NT machine ntbox1
    [ntbox1] d:\temp\myapp\cl3\...
    Even just to d:\temp\aenv_myapp_cl3\... will do.
    ftp doesn't seem to do the trick here. Of cause I could write some routine
    to put/get file by file - but before I do all that I thought I ask around
    if
    it's already been done.
    Thanks,
    Dirk
    PS: Needless to say we still develop and makedist on VMS - for now (see
    Bulletin 388)!
    PPS: No I haven't forgotten about [appdist.aenv.myapp1]*.ace
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]

  • Not Able to compile Servlet from ?

    Hi All,
    I am not able to compile Servlet from my package:
    1) I Have set the CLASSPATH Variable using below line in System Variables:
    C:\CC4\prog\jakarta-tomcat-4.1.30\common\lib\servlet.jar
    2) Also Set the CATALINA_HOME with value
    C:\CC4\prog\jakarta-tomcat-4.1.30
    as per above setting servlet should be compiled but still i m getting error message:
    1) C:\CC4\prog\jakarta-tomcat-4.1.30\project\classes\com\example>javac ListenerTest
    er.java
    ListenerTester.java:17: cannot resolve symbol
    symbol : class Dog
    location: class com.example.ListenerTester
    Dog dog = (Dog) getServletContext().getAttribute("dog");
    ^
    ListenerTester.java:17: cannot resolve symbol
    symbol : class Dog
    location: class com.example.ListenerTester
    Dog dog = (Dog) getServletContext().getAttribute("dog");
    ^
    2 errors
    2) Error while compiling other file:
    C:\CC4\prog\jakarta-tomcat-4.1.30\project\classes\com\example>javac MyServletCon
    textListener.java
    MyServletContextListener.java:12: cannot resolve symbol
    symbol : class Dog
    location: class com.example.MyServletContextListener
    Dog d = new Dog(dogBreed);
    ^
    MyServletContextListener.java:12: cannot resolve symbol
    symbol : class Dog
    location: class com.example.MyServletContextListener
    Dog d = new Dog(dogBreed);
    ^
    2 errors
    So what could be the posible solution here :
    do reply !!!
    please
    Thanks
    prabhat

    I have added servlet.jar in the classpath. But the program is not compiling.The error message says that it can not find classes like ServletConfig, ServletException, Cookie etc. Please help.

  • Re: (forte-users) No response from Router partition

    Sounds like what we have been experiencing here, on Unix.
    According to Forté, upgrading to 3M should resolve it. Unfortunately, we
    can't
    confirm it yet, as we are in the process of upgrading and testing.
    I believe this is documented as an "internal" Forté bug report.
    Hope this hels.
    Daniel Désy
    BORN
    ----- Original Message -----
    From: "Pabbaraju, Ramarao (EXP N-IONIDEA)" <ramarao.pabbarajulmco.com>
    To: "Forte-Users (E-mail)" <forte-userslists.xpedior.com>
    Sent: Tuesday, November 14, 2000 10:46 AM
    Subject: (forte-users) No response from Router partition
    Hi All,
    One of the router partitions on NT server stops responding once in awhile. We can not get to it through escript or econsole and the only
    solution we have is to shutdown the ftexec using task manager and start
    the partition again. We don't see any error messages in the log except
    this line "LbRouter::AttachToRouter - Ignoring DOM version: -1 obj
    version: 0". Does anyone have any idea what this means? Is there any way
    to figure out the problem? We are using Forte 3L3. Thanks in advance.
    Thanks
    Ramarao--
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a
    new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    My guess is, your third service object is not referenced.
    -----Original Message-----
    From: Forte App [mailto:forteapphotmail.com]
    Sent: Wednesday, May 17, 2000 3:08 PM
    To: kamranaminyahoo.com
    Subject: (forte-users) Partition problem
    Hello Everyone,
    I have three (3) service objects in my project and when i went into
    partition workshop i can only see two service objects instead of three and
    all the three service objects properties settings are same
    iam using Forte 3.0L2.
    Thanks in Advance
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Size & content of the compiled file from Forms Builder (Oracle Developer 6)

    Hi all.
    Two files resulted from the compilation of the same form are different according to byte-to-byte comparison (security requirements of the customer). What could be the reason of this? Any suggestions?
    Thanks in advance.
    Igor.

    I doubt you will find any documentation about the content or size.
    I take it you are curious about the size and content in the .fmx file, but there is an even more dramatic difference in size of the .fmb file depending on how it is saved.
    You can read up on it here:
        Re: FMB size shrinks dramatically
    and
        Re: Why does this happen - find ';', replace with ';'?
    You can see the .fmx size balloon if you compile the fmb after doing a semicolon - semicolon replace, IF you don't first save, close, then re-open the fmb file.
    In fact, if you are seeing the fmx size change, it may be related to that problem with the fmb. Here at our site, developers ALWAYS do the semicolon - semicolon replace and save and close without compiling with EVERY form they work on. It guarantees that when the fmb is compiled at the users sites, they get a clean fmx.
    You might, in fact, try comparing two fmx files generated from a "clean" fmb, and see if the two compare the same or different. ( Please let me know! )

  • RE: (forte-users) returning variants from OLE methodcalls

    I'm getting an error when calling an OLE method which
    requires two VARIANT
    parameters, one input and one output. Both parameters are treated as
    arrays
    by the OLE method.
    Error during Invoke; status code: -2147352562(0x8002000E)This error is "Invalid Number of Parameters"
    The code itself, I cannot really comment on as I have had very little
    experience with COM objects
    Cheers
    David McPaul
    Lumley Technology
    This message has been Content Filtered by MailMarshal.
    ---------------------------------------------------------------------

    As an FYI, to find out what the error message means, you can take the hex
    number (in this case 0x8002000E) and search through the winerror.h file.
    That will give you a better idea of what the actual problem is.
    Katie Tierney
    Akili Systems Group
    601 Jefferson, Suite 3975
    Houston, Texas 77002
    Office: (713) 655-1400
    Cell: (409) 255-1643
    "The bitterness of poor quality remains long after the sweetness of low
    price is forgotten" --Larry Anderson
    -----Original Message-----
    From: David McPaul [mailto:dmcpaullumley.com.au]
    Sent: Tuesday, March 07, 2000 5:27 PM
    To: 'Isaak Peretsman'; forte-userslists.xpedior.com
    Subject: RE: (forte-users) returning variants from OLE method calls
    I'm getting an error when calling an OLE method which
    requires two VARIANT
    parameters, one input and one output. Both parameters are treated as
    arrays
    by the OLE method.
    Error during Invoke; status code: -2147352562(0x8002000E)This error is "Invalid Number of Parameters"
    The code itself, I cannot really comment on as I have had very little
    experience with COM objects
    Cheers
    David McPaul
    Lumley Technology
    This message has been Content Filtered by MailMarshal.
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Compile project from Ant Task

    Hi,
    I saw that there are some Ant Tasks with the BPM, but couldn't find any task that is able to just compile and generate the .exp file of the proyect.
    We wanted to implement a continuous integration server that compile all the projects that we have (so we need to do this from the command line).
    Anyone know any way to do this?
    Thanks !
    Carlos

    Questions:
    So you have an external tool builder that is triggered by a build?
    Which build of Eclipse?
    What is the Ant perspective?
    Are you running the Ant build in the same VM as Eclipse? Which VM?
    What VM is being used from the commandline?
    Darins
    "Rod Macpherson" <[email protected]> wrote in message
    news:bn24o3$h8p$[email protected]..
    > I have a project that compiles from ANT but running the compile task from
    > the ANT perspective in Eclipse fails.
    >
    > compile:
    > [javac] Compiling 128 source files to \workspace\apps\tmp\class
    > [javac] C:\workspace\apps\framework\src\framework\Executive.java:13:
    package
    > org.apache.xerces.parsers does not exist
    > [javac] import org.apache.xerces.parsers.DOMParser;
    >
    > Building the project in Eclipse generates this error:
    >
    > "The project was not built due to 'Problems encountered while copying
    > resources.'. Fix the problem, then try refreshing this project and
    > rebuilding it since it may be inconsistent
    >
    > I have included xercesImpl.jar as the library so DOMParser is definitely
    > there. Any idea on what the problem is?
    >
    > TIA.
    >
    >

  • Compiling error from var isPlaying:Boolean = true;

    I need help with correcting a compiling error from the code listed below. The  error reads as follows:
    Scene 1, Layer 'actions', Frame 1, Line 10
    1152: A conflict exists with inherited definition flash.display:MovieClip.isPlaying in namespace public.
    Thanks in advance. Here's my code:
    import flash.events.MouseEvent;
    import flash.geom.Rectangle;
    import flash.events.Event;
    //define constraints to keep thumb inside of bar
    var constraint:Rectangle = new Rectangle (bar.x, bar.y, bar.width-thumb.width, 0);
    var ratio:Number = animatedBug.totalFrames / (bar.width - thumb.width);
    var isPlaying:Boolean = true;
    //make the movie clip behave like a button
    thumb.buttonMode = true;
    durr.text = String(animatedBug.totalFrames);
    animatedBug.stop();
    thumb.addEventListener(MouseEvent.MOUSE_DOWN, handleDown);
    stage.addEventListener(MouseEvent.MOUSE_UP, handleUp);
    addEventListener(Event.ENTER_FRAME, trackPlayback);
    function handleDown(e:MouseEvent):void {
        //pass in the constrain to contain thumb within bar
        e.target.startDrag(false, constraint);
        addEventListener(Event.ENTER_FRAME, trackthumbPos);
        removeEventListener(Event.ENTER_FRAME, trackPlayback);
    function handleUp(e:MouseEvent):void {
        thumb.stopDrag();
        removeEventListener(Event.ENTER_FRAME, trackthumbPos);
        addEventListener(Event.ENTER_FRAME, trackPlayback);
        if (animatedBug.isPlaying == true) {
            animatedBug.play();
        } else {
            animatedBug.stop();
    function trackthumbPos(e:Event):void {
        var dif:Number = thumb.x - bar.x;
        curr.text = String(animatedBug.currentFrame);
        animatedBug.gotoAndStop(Math.ceil(dif * ratio));
    function trackPayback(e:Event):void {
        if(isPlaying == true) {
            thumb.x = bar.x + (animatedBug.currentFrame / ratio);
        curr.text = String(animatedBug.currentFrame);

    Hello Andrei1/Ned,
    I followed your recommendations by changing the isPlaying variable to jumpStart as well as cleaning up the code a bit. The code now works. Many Thanks!
    import flash.events.MouseEvent;
    import flash.geom.Rectangle;
    import flash.events.Event;
    //define constraints to keep thumb inside of bar
    var constraint:Rectangle = new Rectangle (bar.x, bar.y, bar.width-thumb.width, 0);
    var ratio:Number = animatedBug.totalFrames / (bar.width - thumb.width);
    var jumpStart:Boolean = true;
    //make the movie clip behave like a button
    thumb.buttonMode = true;
    durr.text = String(animatedBug.totalFrames);
    animatedBug.stop();
    thumb.addEventListener(MouseEvent.MOUSE_DOWN, handleDown);
    stage.addEventListener(MouseEvent.MOUSE_UP, handleUp);
    addEventListener(Event.ENTER_FRAME, trackPlayback);
    function handleDown(e:MouseEvent):void {
        //pass in the constrain to contain thumb within bar
        e.target.startDrag(false, constraint);
        addEventListener(Event.ENTER_FRAME, trackthumbPos);
        removeEventListener(Event.ENTER_FRAME, trackPlayback);
    function handleUp(e:MouseEvent):void {
        thumb.stopDrag();
        removeEventListener(Event.ENTER_FRAME, trackthumbPos);
        addEventListener(Event.ENTER_FRAME, trackPlayback);
        if (jumpStart) {
            animatedBug.play();
        } else {
            animatedBug.stop();
    function trackthumbPos(e:Event):void {
        var dif:Number = thumb.x - bar.x;
        curr.text = String(animatedBug.currentFrame);
        animatedBug.gotoAndStop(Math.ceil(dif * ratio));
    function trackPlayback(e:Event):void {
        if(jumpStart) {
            thumb.x = bar.x + (animatedBug.currentFrame / ratio);
        curr.text = String(animatedBug.currentFrame);

  • Forte C++ compiler for compiling Pro C

    Hi,
    Can Forte C++ compiler be used for Pro*C compilation on Solaris 10. If yes, what would be the steps for compiling the same. I am not looking for the detailed process. Just an overview would suffice.
    Thanks in advance!!

    Hello,
    If you have MetaLink (My Oracle Support) access you may want to check out Note:43208.1 (Certified Compilers).
    Regards,
    Mark

  • Update modules with compiling kernel from soure issue.

    Compiling kernel from abs or aur take me much time, so i decide compile kernel from source, compilation and installation successfully but make initial RAM disk doesn't update full modules (crypto,lvm...). I specified -c option to /etc/mkinitcpio.conf but the result is the sam, non-autodectec doesn't help too. When i look into /lib/modules directory, 3.6.6-1-ARCH folder contain "kernel" folder which has a lot of things (arch, crypto, net..) and i think this is my extra modules were declared in HOOK array's mkinitcpio.conf. The another one only contain net folder so i can't boot into this kernel without having loaded others.
    any suggestion for this problem? tks for reply.

    am sorry, i re-tried with HOOK array without autodectect and it can load modules but there are two error:
    ==> ERROR: module not found: `dm-crypt`
    ==> ERROR: modules not found: `dm-snapshot`
    ok i will try to load these modules by manually.
    EDIT: i tried to load dm-mod, dm-crypt, dm-snapshot but it isn't helpful. Errors still remain. any suggestion?
    Last edited by angelfalls (2012-11-12 23:33:53)

  • [Fwd: (forte-users) Sending Fax from forte]

    Tamas Deak
    Lufthansa Systems Hungary
    (forte developer)
    2-6 Mazsa ter, Budapest, 1107, HUNGARY
    (36-1) 4312 973
    [email protected]
    [email protected][email protected]-

    I've never done this but I think MS-MAPI might be a good solution.
    Sure, it's not platform independent, since it will only work on NT,
    but it is fax-gateway independent. MAPI is an interface to several
    messaging systems (mail, RFC's, fax, etc.) regardless of what
    kind of implementation is behind it.
    Pascal Rottier
    STP - MSS Support & Coordination Group
    Philip Morris Europe
    e-mail: [email protected]
    Phone: +49 (0)89-72472530
    +++++++++++++++++++++++++++++++++++
    Origin IT-services
    Desktop Business Solutions Rotterdam
    e-mail: [email protected]
    Phone: +31 (0)10-2428100
    +++++++++++++++++++++++++++++++++++
    /* All generalizations are false! */
    -----Original Message-----
    From: Zulkifli Mohamad [SMTP:[email protected]]
    Sent: Friday, October 08, 1999 3:16 AM
    To: '[email protected]'
    Subject: (forte-users) Sending Fax from forte
    Hi guys,
    Does anyone know how to send a fax from Forte application.
    Any ideas appreciated!
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]

  • Compile archlinux from scratch ??

    Is possible to recompile archlinux from scratch ? from sources ? like gentoo (Stage 1 2 3) ??

    I know it's common to try and "solve" a problem by providing what you asked for, but I want to attack this from a different angle:
    Why do you want to do this?  If you're looking to actually start up a "port" to a different architecture, it's fairly complicated and not recommended if you don't really know all the details.  If you just want to compile "because it's faster" I can tell you that there will positively be no difference in speed after you recompile everything.  Your biggest jumps would be in compiling maybe the kernel, glibc, X, and your WM for your architecture.  I wouldn't compile everything.

  • Does the Xilinx compiler "learn" from past compilatio​ns?

    Hi all,
    I noticed that if I have piece of FPGA code that is close to meeting timing, after I can get it to compile once, by trying the compile multiple times, it will keep compiling on subsequenct builds as I modify parts of the code not in the path of the code that was causing the violation. 
    I also jsut upgraded to LabVIEW FPGA 2014 and the latest xilinx tools (14.7 ISE) from LabVIEW FPGA 2012 and my compiles take way longer and is not meeting timing, on the same code. Is this because I just flushed all the old data from previous compiles?

    Hey qfman,
    Every time you compile the resource mapping starts from scratch so I believe this is most likely a "chance" behaviour you are seeing. Between LabVIEW FPGA versions there are different compiling algorithms/overhead which might come into play for the timing or resource allocation during compile. As far as LabVIEW FPGA 2014, are you using your own computer or the Cloud Compile to compile the code? I'd recommend trying the Cloud Compile (http://digital.ni.com/public.nsf/allkb/C272BBA0A69​59DB6862578DB00808AC3) and seeing if you get the same behaviour.
    Hope this helps!
    Xavier
    Applications Engineering Specialist
    National Instruments

  • Copy a compiled DBXML from one Linux machine to another Linux machine?

    Hello
    I am currently preparing two Linux machines for a DBXML application. One machine is for testing and the other for production. They are almost identical:
    Test machine:
    >
    root@jumasiri:~# uname -a
    Linux jumasiri 2.6.29.6 #2 Mon Aug 17 01:31:42 CDT 2009 i686 AMD Athlon(tm) AuthenticAMD GNU/Linux
    root@jumasiri:~# gcc --version
    gcc (GCC) 4.3.3
    root@jumasiri:/etc# mount
    /dev/root on / type ext2 (rw,errors=continue)
    ... (some lines left out for clarity)
    >
    Production machine
    >
    root@jumasiri:/etc/udev/rules.d# uname -a
    Linux jumasiri 2.6.29.6-smp #2 SMP Mon Aug 17 00:52:54 CDT 2009 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux
    root@jumasiri:/etc/udev/rules.d# gcc --version
    gcc (GCC) 4.3.3
    root@jumasiri:/etc# mount
    /dev/root on / type ext3 (rw,errors=continue,data=ordered)
    ... (some lines left out for clarity)
    /dev/hda3 on /usr/local type ext3 (rw)
    /dev/hda4 on /home type ext3 (rw)
    >
    As you can see the test machine has everything mounted on 1 partition only, whereas the production uses several. The test machine has a ext2 filesystem and the production machine ext3 filesystems. The dbxml binaries and libraries are installed in /usr/local/dbxml on both machines. The databases are installed somewhere in /home/koen/.
    I've compiled dbxml succssfully on both machines, but ran into severe compilation problems on the production machine when compiling Xerces. Instead of digging and solving into the problem I have simply copied the successful compilation of the test machine to the production machine. Everything seems to work.
    My question is very simple. Can one do that, copying one compilation to another machine with the same OS but with a different filesystem?
    Thank you
    Koen

    Hello
    Thank you. One can never be sure enough, isn't it? For your information, the copy is running fine. My question was more related to the file system. As we don't know the inner workings of dbxml, we can never tell if the knowledge of type of file system is used internally.
    Bye
    Koen

Maybe you are looking for