Linker error when compiling Fortran program

I have some problems when linking a Fortran program. The compiling (with gfortran) works without problems and produces (amongst others) several ".mod" files. As soon as the products are to be linked, these .mod-files provoke a "bad magic number (not a Mach-O file)" error from the linker.
I use gcc 4.3 with gfortran. Any ideas?
Powerbook G4 12", 1.33 GHz/MacBook Pro 2GHz   Mac OS X (10.4.8)  

Possibly, but the error doesn't come from gfortran itself, but from the linker (ld), so I don't see right now, why this should make a difference.
You think it is because these .mod-files are compiled incorrectly?

Similar Messages

  • Linker error when compiling Fortran code

    I have some problems when linking a Fortran program. The compiling (with gfortran) works without problems and produces (amongst others) several ".mod" files. As soon as the products are to be linked, these .mod-files provoke a "bad magic number (not a Mach-O file)" error from the linker.
    I use gcc 4.3 with gfortran. Any ideas?

    The .mod files are (at least in this case) the compiler products of source files with an .F90 extension (in contrast to source files with the lowercase .f90). I have to admit that I'm not very much into Fortran (I'm just trying to get this thing compiled), but the source files are actually treated differently depending on the lowercase or uppercase extension. I have read somewhere, what the precise difference is, but I cannot neither remember this right now nor find this again.

  • Database link error when compiling forms 6.0 and forms 6i.

    Dear sirs,
    We have a database link between two databases of the same version oracle 8.0.5.
    Recently we have upgraded one of our databases to version 9.2.0.1 (the database where the database link was originally created ) and now we are having problems when compiling forms that have PL/SQL blocks using the database link.
    The error message received when compiling the form is the following:
    ORA-02068: Following severe error from dbproduc.world
    ORA-00600: Internal error code, arguments: [No conversion op],[],[],[],[],[],[],[]
    The forms did not present this error before, it began when we made the upgrade.
    Is this a FORMS 6.0 problem ?
    Is this an ORACLE 8.0.5 problem ?
    Is this an ORACLE 9.2.0.1 problem ?
    Can you please give me some advice to solve this problem ?
    Thanks in advance

    As I see, when you use a non-oracle database the tables don`t appear, you must create the realation with the table manually, on the properties

  • Error When Compiling MailTest  Program ?

    HI. Guys. I am getting this error when i try to compile a program which send an email.
    Compiling 1 source file to F:\Projects\JavaMail\war\WEB-INF\classes
    [javac] F:\Projects\POC\JavaMail\src\SendMailBean.java:3: package javax.mail does not exist
    [javac] import javax.mail.*; //JavaMail packages
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:4: package javax.mail.internet does not exist
    [javac] import javax.mail.internet.*; //JavaMail Internet packages
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:24: cannot find symbol
    [javac] symbol : class Session
    [javac] location: class SendMailBean
    [javac] Session l_session = Session.getDefaultInstance(l_props, null);
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:24: cannot find symbol
    [javac] symbol : variable Session
    [javac] location: class SendMailBean
    [javac] Session l_session = Session.getDefaultInstance(l_props, null);
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:29: cannot find symbol
    [javac] symbol : class MimeMessage
    [javac] location: class SendMailBean
    [javac] MimeMessage l_msg = new MimeMessage(l_session); // Create a New message
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:29: cannot find symbol
    [javac] symbol : class MimeMessage
    [javac] location: class SendMailBean
    [javac] MimeMessage l_msg = new MimeMessage(l_session); // Create a New message
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:31: cannot find symbol
    [javac] symbol : class InternetAddress
    [javac] location: class SendMailBean
    [javac] l_msg.setFrom(new InternetAddress(p_from)); // Set the From address
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:34: package Message does not exist
    [javac] l_msg.setRecipients(Message.RecipientType.TO,
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:35: cannot find symbol
    [javac] symbol : variable InternetAddress
    [javac] location: class SendMailBean
    [javac] InternetAddress.parse(p_to, false));
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:38: package Message does not exist
    [javac] l_msg.setRecipients(Message.RecipientType.CC,
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:39: cannot find symbol
    [javac] symbol : variable InternetAddress
    [javac] location: class SendMailBean
    [javac] InternetAddress.parse(p_cc, false));
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:43: package Message does not exist
    [javac] l_msg.setRecipients(Message.RecipientType.BCC,
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:44: cannot find symbol
    [javac] symbol : variable InternetAddress
    [javac] location: class SendMailBean
    [javac] InternetAddress.parse(p_bcc, false));
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:49: cannot find symbol
    [javac] symbol : class MimeBodyPart
    [javac] location: class SendMailBean
    [javac] MimeBodyPart l_mbp = new MimeBodyPart();
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:49: cannot find symbol
    [javac] symbol : class MimeBodyPart
    [javac] location: class SendMailBean
    [javac] MimeBodyPart l_mbp = new MimeBodyPart();
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:53: cannot find symbol
    [javac] symbol : class Multipart
    [javac] location: class SendMailBean
    [javac] Multipart l_mp = new MimeMultipart();
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:53: cannot find symbol
    [javac] symbol : class MimeMultipart
    [javac] location: class SendMailBean
    [javac] Multipart l_mp = new MimeMultipart();
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:64: cannot find symbol
    [javac] symbol : variable Transport
    [javac] location: class SendMailBean
    [javac] Transport.send(l_msg);
    [javac] ^
    [javac] F:\Projects\JavaMail\src\SendMailBean.java:79: cannot find symbol
    [javac] symbol : class MessagingException
    [javac] location: class SendMailBean
    [javac] } catch (MessagingException mex) { // Trap the MessagingException Error
    [javac] ^
    [javac] 19 errors

    Looks like you're using ant. You need to configure your ant build.xml file
    so that mail.jar (and activation.jar unless you're using JDK 6) is in your
    classpath when you compile (and run, of course).

  • Ucbhook Linking error when compiling simucb.dll

    I'm trying to compile a simucb.dll and one of the linking errors is "ucbhook.obj : error LNK2001: unresolved external symbol _gstdwrt". Since ucbhook.c is generated automatically by MarixX and it presumably knows what it is doing, I'm guessing that I haven't included the library that defines gstdwrt in my C++ project. Does anyone know what this library is and where I should look for it? Thanks!
    Eric

    Thanks for the reply. My first question is: What is an Sa_user.cmd file and what's it look like? Is it like a makefile?
    I'm compiling an ugly mixture of C and legacy Fortran code. There is a user code block written in C (which the ucbhook function calls) which calls a Fortran function which then calls other Fortran functions. I don't know what that may do to the complexity of Sa_user.cmd. Currently, I'm learning how to use Microsoft Visual C++ to compile and link all my disparate files into a simucb.dll and I'm mired in the linking errors. Once I have the simucb.dll, I'm gonna stick that in my project directory and let MatrixX do its thing.

  • Linking error when compiling patched version

    I should understand this stuff better by now
    I'm trying to build a patched version of zoneminder includung the libv4l libraries to better support web cams. In zm_local_camera.cpp I've added
    #include <libv4l2.h>
    #include <libv4l1.h>
    and replaced all the ioctl() open() close() mmap() etc statements with the v4l2_ioctl()v4l2_ open() v4l2_close() v4l2_mmap() etc versions.
    The first stage of compiling goes without error, but then linking (relinking?) stage it bails with this error
    collect: relinking
    zm_local_camera.o: In function `vidioctl(int, int, void*)':
    zm_local_camera.cpp:(.text+0x2ff): undefined reference to `v4l2_ioctl'
    zm_local_camera.o: In function `LocalCamera::PostCapture()':
    zm_local_camera.cpp:(.text+0x4b8): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x50b): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x547): undefined reference to `v4l2_ioctl'
    zm_local_camera.o: In function `LocalCamera::Contrast(int)':
    zm_local_camera.cpp:(.text+0x9f2): undefined reference to `v4l2_ioctl'
    zm_local_camera.o:zm_local_camera.cpp:(.text+0xa1b): more undefined references to `v4l2_ioctl' follow
    zm_local_camera.o: In function `LocalCamera::GetCurrentSettings(char const*, char*, int, bool)':
    zm_local_camera.cpp:(.text+0x1d21): undefined reference to `v4l1_open'
    zm_local_camera.cpp:(.text+0x1d89): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x20a4): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x218d): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x257b): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x26ad): undefined reference to `v4l1_close'
    zm_local_camera.o: In function `LocalCamera::Terminate()':
    zm_local_camera.cpp:(.text+0x3e6f): undefined reference to `v4l1_close'
    zm_local_camera.cpp:(.text+0x3e9f): undefined reference to `v4l1_munmap'
    zm_local_camera.cpp:(.text+0x3f37): undefined reference to `v4l2_munmap'
    zm_local_camera.o: In function `LocalCamera::Initialise()':
    zm_local_camera.cpp:(.text+0x4182): undefined reference to `v4l1_open'
    zm_local_camera.cpp:(.text+0x4775): undefined reference to `v4l2_mmap'
    zm_local_camera.cpp:(.text+0x49b9): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x4a46): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x4a89): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x4ad8): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x4b0a): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x4b9d): undefined reference to `v4l1_mmap'
    zm_local_camera.cpp:(.text+0x560a): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x564d): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x5671): undefined reference to `v4l2_ioctl'
    zm_local_camera.cpp:(.text+0x56a3): undefined reference to `v4l2_ioctl'
    zm_local_camera.o: In function `LocalCamera::PrimeCapture()':
    zm_local_camera.cpp:(.text+0x6018): undefined reference to `v4l2_ioctl'
    collect2: ld returned 1 exit status
    make[2]: *** [zmc] Error 1
    Can someone tell me what I am missing. I will do my homework if someone can just give me a hint.

    The above suggestion worked the last time I built zoneminder, but when I tried upgrading today, with kernel 2.6.31 and the same exact zoneminder release (1.24.2), I'm getting the same error again.  As you can see, -lv4l1 and -lv4l2 are in the g++ command.  This is using the latest gcc package, 4.4.1, and I think the last build might have been on 4.4.0.  I've also upgraded x264 and ffmpeg to svn latest in the last couple of days, but I doubt that should have anything to do with is.  Can somebody help?  Thanks.
    make  all-recursive
    make[1]: Entering directory `/home/ben/abs/zoneminder/src/ZoneMinder-1.24.2'
    Making all in src
    make[2]: Entering directory `/home/ben/abs/zoneminder/src/ZoneMinder-1.24.2/src'
    g++ -frepo -march=x86-64 -mtune=generic -O2 -pipe  -L/usr/lib -L/usr/lib/mysql -Wl,--hash-style=gnu -Wl,--as-needed -lv4l1 -lv4l2 -o zmc  zmc.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_debug.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.ozm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o  -lz -lbz2 -lswscale -lavformat -lavcodec -lavutil -lpcre -lcrypto -ldl -lpthread -ljpeg -lmysqlclient
    zm_local_camera.o: In function `vidioctl(int, int, void*)':
    zm_local_camera.cpp:(.text+0x28f): undefined reference to `v4l2_ioctl'
    zm_local_camera.o: In function `LocalCamera::PostCapture()':
    zm_local_camera.cpp:(.text+0x454): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x4a5): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x4de): undefined reference to `v4l1_ioctl'
    zm_local_camera.o: In function `LocalCamera::Contrast(int)':
    zm_local_camera.cpp:(.text+0x86b): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x891): undefined reference to `v4l1_ioctl'
    zm_local_camera.o:zm_local_camera.cpp:(.text+0xa6b): more undefined references to `v4l1_ioctl' follow
    zm_local_camera.o: In function `LocalCamera::GetCurrentSettings(char const*, char*, int, bool)':
    zm_local_camera.cpp:(.text+0x1866): undefined reference to `v4l1_open'
    zm_local_camera.cpp:(.text+0x18c8): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x1bbb): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x1c93): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x205a): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x2159): undefined reference to `v4l1_close'
    zm_local_camera.o: In function `LocalCamera::Terminate()':
    zm_local_camera.cpp:(.text+0x367d): undefined reference to `v4l1_close'
    zm_local_camera.cpp:(.text+0x36ac): undefined reference to `v4l1_munmap'
    zm_local_camera.cpp:(.text+0x3755): undefined reference to `v4l2_munmap'
    zm_local_camera.o: In function `LocalCamera::Initialise()':
    zm_local_camera.cpp:(.text+0x3939): undefined reference to `v4l1_open'
    zm_local_camera.cpp:(.text+0x3eaa): undefined reference to `v4l2_mmap'
    zm_local_camera.cpp:(.text+0x409d): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x413d): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x41ab): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x4207): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x4233): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x42aa): undefined reference to `v4l1_mmap'
    zm_local_camera.cpp:(.text+0x45e7): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x4633): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x4650): undefined reference to `v4l1_ioctl'
    zm_local_camera.cpp:(.text+0x467c): undefined reference to `v4l1_ioctl'
    zm_local_camera.o: In function `LocalCamera::PrimeCapture()':
    zm_local_camera.cpp:(.text+0x5320): undefined reference to `v4l1_ioctl'
    collect2: ld returned 1 exit status
    make[2]: *** [zmc] Error 1
    make[2]: Leaving directory `/home/ben/abs/zoneminder/src/ZoneMinder-1.24.2/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ben/abs/zoneminder/src/ZoneMinder-1.24.2'
    make: *** [all] Error 2

  • Error when compile my program.

    Can someone help me out, please. I've been trying to figure out why I got this error message when I compile the app.
    This is the error message:
    Account.java:27: cannot find symbol
    symbol : variable balance
    location: class Account
    currentBalance = balance amount;
    +^+
    Account.java:27: incompatible types
    found   : <nulltype>
    required: double
    currentBalance = balance amount;
    ^
    Account.java:32: cannot find symbol
    symbol : variable balance
    location: class Account
    if(balance >= amount){
    ^
    Account.java:33: cannot find symbol
    symbol : variable balance
    location: class Account
    currentBalance = balance - amount;
    ^
    This is my program:
    import java.util.Scanner;
    public class Account
    protected String accountHolder;
    protected int accountNumber;
    protected double currentBalance;
    public Account(String holder, int number, double balance)
    accountHolder = holder;
    accountNumber = number;
    if(balance > 00.00){
    currentBalance = balance;
    public Account()
    currentBalance = 00.00;
    public void deposit(double amount)
    currentBalance = balance + amount;
    public double withdraw(double amount)
    if(balance >= amount){
    currentBalance = balance - amount;
    return amount;
    public void setHolder( String holder )
    accountHolder = holder;
    public String getHolder()
    return accountHolder;
    public void setNumber(int number)
    accountNumber = number;
    public int getNumber()
    return accountNumber;
    public void setBalance(double balance)
    currentBalance = balance;
    public double getBalance()
    return currentBalance;
    public String toString()
    return String.format("%s %s\n %s %f\n %s %.2f\n", "Name", accountHolder, "AccountNmber", accountNumber, "Current balance", currentBalance);
    }//end class Account

    Yanepe wrote:
    Can someone help me out, please. I've been trying to figure out why I got this error message when I compile the app.
    This is the error message: No, that is *4* error messages. It pays to write, compile & debug code in small steps. Ending up with 71 lines of code with 4 compilation errors is not doing things in small steps.
    Account.java:27: cannot find symbol
    symbol : variable balance
    location: class Account
    currentBalance = balance amount;
    +^+Where did you declare the 'balance' variable?
    As an aside, is this a template you are working from? I find it hard to understand how you got this far, yet are unable to identify what to do with that compile error.
    Also, when posting code, code snippets, HTML/XML or input/output, please use the code tags. Using the code tags helps rreatin the indentation and formatting of the sample. To use the code tags, select the sample and click the CODE button.
    Here is how your code might appear in the code tags.
    import java.util.Scanner;
    public class Account
       protected String accountHolder;
       protected int    accountNumber;
       protected double currentBalance;
       public Account(String holder, int number, double balance)
           accountHolder = holder;
           accountNumber = number;
           if(balance > 00.00){
              currentBalance = balance;
       public Account()
           currentBalance = 00.00;
       public void deposit(double amount)
           currentBalance = balance + amount;
       public double withdraw(double amount)
           if(balance >= amount){
              currentBalance = balance - amount;
              return amount;
       public void setHolder( String holder )
           accountHolder = holder;
       public String getHolder()
           return accountHolder;
       public void setNumber(int number)
           accountNumber = number;
       public int getNumber()
           return accountNumber;
       public void setBalance(double balance)
           currentBalance = balance;
       public double getBalance()
           return currentBalance;
       public String toString()
           return String.format("%s %s\n %s %f\n %s %.2f\n", "Name", accountHolder, "AccountNmber", accountNumber, "Current balance", currentBalance);
    }//end class Account

  • Error when compiling C program

    Hello,
    I am trying to compile a small C program in X11 with the gcc command and got the following error message:
    cut_fid_mf_mac.c: In function 'main':
    cut_fid_mf_mac.c:57: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:62: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:65: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:86: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
    cut_fid_mf_mac.c:90: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:100: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:118: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:122: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:126: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:130: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:166: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:174: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:197: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:204: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:208: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:230: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
    cut_fid_mf_mac.c:241: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:274: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:284: warning: incompatible implicit declaration of built-in function 'exit'
    cut_fid_mf_mac.c:287: warning: incompatible implicit declaration of built-in function 'exit'
    I have XQuarts2.3.6
    Can anyone tell me what's the problem and how can I resolve it?
    THanks.

    For the printf type format issue, try llu instead of d. For the others, I think you are missing some include.  Also, these are warnings, so your code should have compiled.

  • Linking errors when using ibsta

    Hello,
    I have been trying to write C code to automate a Keithley 2410 through GPIB.  I am using Windows XP 32-bit, and VC++.
    I believe I was successful in getting a handle to the gpib-32.dll. However, I am getting a linking error when I try to use ibsta:  1>helloworld.obj : error LNK2001: unresolved external symbol _ibsta
    1>C:\Documents and Settings\Prober\My Documents\C Programs\helloworld\Debug\helloworld.exe : fatal error LNK1120: 1 unresolved externals
    However, when I look through the ni488.h, I see that ibsta is a global variable.  Therefore I am confused as to why I am getting a linking error
    I am following this guide: http://na.tm.agilent.com/pna/help/latest/Programming/GPIB_Example_Programs/GPIB_using_Visual_C++.htm
    My code is attached
    Attachments:
    code.c ‏3 KB

    Check out the 4882query.c example located on your computer at National Instruments > NI-488.2 > Examples > Standard C > 4882query.  The National Instruments folder might be in a sub-folder of Public or Public Documents.  Look at the ReadMe.txt file first.  It contains a C++ section.  Then try compiling the example and see what happens.
    Jeff Munn
    Applications Engineer
    National Instruments

  • "Not an executable or is a link" errors when starting Messaging Server

    "Not an executable or is a link" errors when starting Messaging Server
    <P>
    If Calendar Server 3.x has been installed to the same server root
    as Messaging server, it is possible that the command 'NscpMail start'
    to restart the server will return a string of errors:
    # /etc/NscpMail start
    19971207145610:Dispatch:Notification:Local Module
    (Account-Handler) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Account-Manager) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (AutoReply-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Configuration-Manager) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Error-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Mailbox-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Program-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Router) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (UNIX-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (Finger-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (IMAP4-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (POP3-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (SMTP-Accept) is not an executable or is a link.
    Module not loaded.
    Startup Problem:
    Module Error-Handler is required for proper operation.
    Netscape Messaging Server Exiting!
    The Calendar server 3.x installation may have changed the permissions
    on [server-root]/bin directory from 755 to 750. Simply issue the
    command (as root) 'chmod 755 [server-root]/bin' and then start
    the server with the 'NscpMail start' command, and it should start
    without a problem.

    "Not an executable or is a link" errors when starting Messaging Server
    <P>
    If Calendar Server 3.x has been installed to the same server root
    as Messaging server, it is possible that the command 'NscpMail start'
    to restart the server will return a string of errors:
    # /etc/NscpMail start
    19971207145610:Dispatch:Notification:Local Module
    (Account-Handler) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Account-Manager) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (AutoReply-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Configuration-Manager) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Error-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Mailbox-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Program-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Router) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (UNIX-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (Finger-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (IMAP4-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (POP3-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (SMTP-Accept) is not an executable or is a link.
    Module not loaded.
    Startup Problem:
    Module Error-Handler is required for proper operation.
    Netscape Messaging Server Exiting!
    The Calendar server 3.x installation may have changed the permissions
    on [server-root]/bin directory from 755 to 750. Simply issue the
    command (as root) 'chmod 755 [server-root]/bin' and then start
    the server with the 'NscpMail start' command, and it should start
    without a problem.

  • .class expected error when compiling

    Ive been getting this frustrating error when compiling. My program is essentially supposed to add the values in two matrixes and return a new matrix using the added values
    Heres my code:
       public Matrix add(Matrix comp)
            int[][] temp = new int[this.numRows()][this.numCols()];
            for (int a = 0; a < comp.numRows(); a++) {
                for (int b = 0; b < comp.numCols(); b++) {
                    temp[a] = this.myCells[a][b] + comp.getVal(a, b);
    Matrix addedMatrix = new Matrix(temp[][]);
    return addedMatrix;
    heres the constructor for Matrix object:
      public Matrix(int[][] mat)
            int[][] myCells = new int[mat.length][mat[0].length];
            for (int i = 0; i < mat.length; i++) {
                for (int j = 0; j < mat[0].length; j++) {
                    myCells[i][j] = mat[i][j];
        }getVal, numRows, and numCols are all helper methods that just return values.
    The error is '.class' expected in the line which says Matrix addedMatrix = new Matrix(temp[][]); I checked for extra brackets but there dont seem to be any.
    Any help would be appreciated. Thanks.

    I think you just needMatrix addedMatrix = new Matrix(temp);

  • Pragma error when compiling with SDK X

    Hi,
    I am trying to compile my plugin application (which compiled fine with the previous sdk) using the SDK X, but receive errors in CAVAlert.h on the exception handler construct DURING, HANDLER, END_HANDLER.
    The errors are listed here:
    Headers/API/CAVAlert.h:156:3: error: 'suppress' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: 'warning' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: '__pragma' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: expected ';' before 'jmp_buf'
    Headers/API/CAVAlert.h:156:3: error: 'ASException' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: expected ')' before ':' token
    Headers/API/CAVAlert.h:156:3: error: expected ';' before 'struct'
    Headers/API/CAVAlert.h:162:3: error: request for member 'E_RETURNOutsideDURINGBlock' in 'gBadReturnCatcher', which is of non-class type 'int'
    Headers/API/CAVAlert.h:162:3: error: expected ')' before ':' token
    Headers/API/CAVAlert.h:162:3: error: expected ';' before 'int'
    Headers/API/CAVAlert.h:165:3: error: 'ENDHANDLEROutsideHANDLER' was not declared in this scope
    To compile against to SDK X all I did was:
    1) Used PIMain.c from the SDK X API directory.
    2) Changed ACRO_SDK_LEVEL=0x00090000 => ACRO_SDK_LEVEL=0x000A0000
    3) Changed the include directories to point to the new SDK X directories
    Is there another directive I must add to get the plugin to compile with SDK X?
    My preprocessor list is as follows:
    ACRO_SDK_LEVEL=0x000A0000
    HAVE_W32API_H
    PDMETADATA_HFT=1
    PLUGIN=1
    WIN32
    WIN_ENV
    WIN_PLATFORM
    WXUSINGDLL
    _CRT_SECURE_NO_DEPRECATE
    _DEBUG
    _WINDOWS
    __GNUWIN32__
    __WIN32__
    __WXMSW__
    Thank you,
    Magda

    Without seeing your code, I can't really help.
    If you want help with your code, open a formal support ticket.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 6 Dec 2011 04:09:25 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Pragma error when compiling with SDK X
    Pragma error when compiling with SDK X
    created by magdakuit<http://forums.adobe.com/people/magdakuit> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4066378#4066378

  • Error when Generating the Program

    Recently there was an SP upgrade and my Planning Book started giving me this error message (SCM version =5.0 and SP = 7)
    "Error when generating the program" Message no. /SAPAPO/TSM141
    Diagnosis: Generated programs are programs that are generated based on individual data objects, such as planning object structure, planning areas and Infocubes. These programs are then executed in the transaction. An error occured during the generation of such a program
    Possible causes:
    1. The template has been corrupted
    2. The object that the template uses to generate the program contains inconsistencies; for instance an Infocube has not been activated
    This error occurs when I try to open the my planning book/creating the selection profile. I've re-activated the Infocube and later deactivate and active my POS and tried to do the same for the Planning Area....but the error still persists. I tried to create a new planning area and tried it again but the error still persists. I've tried to fix any inconsistencies in the planning area time series objects by running the consistency check....however the same error pops up during the consistency check....
    Anyone encountered this error message and any possible solutions to this issue.
    Thanks
    Surender

    I did find an ABAP Dump when looking at ST22.  The short message is as follows:
    Runtime Errors         GEN_BRANCHOFFSET_LIMIT_REACHED
    Date and Time          05/14/2007 19:33:54
    Short text
         Jump distance is too large and cannot be generated.
    What happened?
         A jump distance is too large and cannot be generated.
         A control structure or a routine with "CHECK" or "EXIT" contains
         too many ABAP statements.
         Error in the ABAP Application Program
         The current ABAP program "GP_MET_PSTRU_BASIC_FORMS" had to be terminate
          because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         During the generation of program "GP_MET_PSTRU_BASIC_FORMS", the system
          determined that
         within an ABAP event a control structure (for example, IF..ENDIF
         or LOOP..ENDLOOP) or a routine (for example, FORM routine) has
         become too large. The resulting jump distance is too large so that
        it could no longer be generated.
        With the internal load format, the jump distance must not be
        greater than 32768 (this is the size of approximately 10.000
        ABAP statements).
        The jump distance that is to be generated, however, is 50885.
    How to correct the error
       The ABAP application program must be changed.

  • Method not found in class errors when compiling project

    Hi,
    I am getting the following errors when compiling my project:
    Error(3,8): ReqLinesNotificationsVORowImpl not found
    Error(25,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(31,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(37,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(43,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(49,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(55,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(61,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(79,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(85,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(91,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(97,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(103,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(109,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(115,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(121,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(127,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(133,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(139,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(145,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(151,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(157,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(163,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(169,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(175,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(181,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(187,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(193,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(199,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImplError(205,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    I have ReqLinesNotificationsVORowImpl and ReqLinesNotificationsVOImpl files in myprojects directory. Can anyone help please?
    Thanks

    Hi,
    From the error it seems that the code is refering ReqLinesNotificationsVOExRowImpl file.
    Please make sure that its class file is present in myclasses folder.
    Since u have mentioned that ReqLinesNotificationsVORowImpl is already placed in myclasses folder. Hope this should resolve your issue.
    Regards,
    Raj Papdeja

  • Mass processing - Error when processing Java programs / VMC out of memory

    When running a mass update background process that updates the status of a service order in CRM the job fails due to error 'Error when processing Java programs'. I checked the VMC (SM52) and noticed that there is an error about the VMC running out of memory.
    The background program can either be a PPF Action or a Z-ABAP program that performs the update. Both programs are performing a CRM_ORDER_INITIALIZE but it seems that the VMC is not releasing the memory fast enough.
    Is there anyway we can force the VMC to release the memory after processing of each individual order?
    Thanks!

    I got  similar issue and it got resolved by useing CRM_ORDER_INITILAIZE. Initalization should happen after every Order processing and see that only one header guid is passed to the the FM. May not be good option ,but just try by putting wait for 5secs after CRM_ORDER_INITILAIZE.

Maybe you are looking for