Compile message

--------------------Configuration: <Default>--------------------
EDCCarRentalGUI.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
Process completed.

http://onesearch.sun.com/search/onesearch/index.jsp?qt=deprecated&subCat=siteforumid%3Ajava31&site=dev&qp=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums

Similar Messages

  • [svn:fx-trunk] 9021: Tweaking non-contiguous default property compiler message.

    Revision: 9021
    Author:   [email protected]
    Date:     2009-08-03 09:04:28 -0700 (Mon, 03 Aug 2009)
    Log Message:
    Tweaking non-contiguous default property compiler message.
    QE notes: None     
    Doc notes: None
    Localization: Requires string table update.
    Bugs: SDK-20122.
    Reviewer: Paul     
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-20122
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties

  • Please help with PL/SQL compiler message

    Hi
    When I compile a procedure, I get the message
    "Expected Symbol Name is missing"
    "Procedure created"
    The procedure actually got created in the database and runs.
    Can someone please let me know the meaning of "Expected Symbol Name is missing" and any side-effects of this message?
    Thanks in advance.

    Suresh,
    I'm getting the message when I start the file that has the code for the stored procedure (like @X.sql). The first line of the code is CREATE OR REPLACE PROCEDURE .....
    Thanks

  • Files were not compiled message

    Whenever I compile my HTML Help project, I get the following
    message:
    "The following files were not compiled:
    http:\www.aldon.com"
    I have searched the entire project folder for this string of
    characters with both the RH Multi-file Search tool and with Windows
    search. Neither tool found such a string. The string also does not
    appear in the list of URLs.
    Any suggestions?
    Bob Boller

    Hi, Bob,
    Is that URL the target of a "Jump" button that you added to
    the toolbar of a help window? If so, the error message is nothing
    to worry about. It just signifies that the compiler, which normally
    only pulls local source files into the help file, was incapable of
    fetching a remotely-held one.
    Pete

  • Compiler message

    What does this message mean, when all works fine?
    Note: C:\JWork\M.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.

    It means that somethere in your code is a reference to a deprecated method. Deprecation is a way of warning you that a particular method (or member) might not be available in future JDKs.
    As the compiler says, add -deprecation to the javac command line, i.e.:javac -deprecation SomeClass.javaand you will be informed where you have made such a reference.
    You can then use the documentation for that API to see what alternative is recommended.
    Hope this helps...
    Chris.

  • Compiler messages screen disappeared

    Windows Xp
    Database Oracle 10.2.1
    I have a package body I was working on.
    I am trying to compile it through the pl/sql editor but the window with the warning and error messages has disappeared. I tried to load up another procedur ejust to test this and I still don't get the window with error messages and warnings.
    I then decided to shutdown sqldeveloper and restart it, and still no joy.
    The sqlDeveloper screen does say Saved nodes(1) on the status bar in the bottom left hand corner, but I know I didnt save anything to disk. Certainly not deliberately anyway

    Hi Sue,
    I am/have been using the PL/SQL editor and I am pretty familiar with SQLDeveloper at this stage. I had never encountered this problem until yesterday.
    I have been compiling from the compiler tabs on the Pl/SQL Editor.
    The strange thing is that I have had nothing new installed on my PC and everything was all working fine.
    This problem now happens if I use the shortcut to start sqldeveloper.
    However if I use sqldeveloper.bat to kick everything off, everything works fine. I can also see code processing in the batch window.
    eg
    14-Aug-2007 10:45:12 oracle.dbtools.db.DBUtil executeQuery
    INFO: Prepared:SELECT LINE,POSITION,TEXT,ATTRIBUTE FROM USER_ERRORS WHERE TYPE=?
    AND NAME=?
    14-Aug-2007 10:45:12 oracle.dbtools.db.DBUtil bind
    INFO: Bind:0:PACKAGE
    14-Aug-2007 10:45:12 oracle.dbtools.db.DBUtil bind
    INFO: Bind:1:BRACARCHIVE
    reloadBuffers(): 7 nodes checked in 6.35446E-4 second(s)
    reloadBuffers(): 7 nodes checked in 5.82628E-4 second(s)
    reloadBuffers(): 7 nodes checked in 5.44492E-4 second(s)
    reloadBuffers(): 7 nodes checked in 5.87708E-4 second(s)
    reloadBuffers(): 7 nodes checked in 5.95059E-4 second(s)I am going to try a reboot to see if anything is caught in memory.

  • Weird weird compile message

    $ javac com/iolabs/pepe/internalTools/ToolIoUpdateMan.java
    com/iolabs/pepe/internalTools/ToolIoUpdateMan.java:17: cannot access com.iolabs.pepe.internalTools.ToolIoModule
    bad class file: .\com\iolabs\pepe\internalTools\ToolIoModule.class
    class file contains wrong class: ToolIoModule
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    public class ToolIoUpdateMan extends ToolIoModule
    ^
    1 error
    Does someone understand something to this?
    the class file i want to extend is the right one, and the specified class file does contain the right class, or at least i believe so. In the error, it prints exactly the same name... i don't understand this error...

    IDEs and their oddities... if you had compiled everything from command line there wouldn't have been this problem!
    This is what happened: Forte compiles the classes so that the classpath contains the roots of all the files in the project (or "workspace") separately. This time it gave you the classpath "<workspaceroot>;<workspaceroot>/com/iolabs/pepe/internalTools" because ToolIoModule.java was in the default package and not in com.iolabs.pepe.internalTools, resulting in that ToolIoModule.java was compiled to the class ToolIoModule and written to the file <workspaceroot>/com/iolabs/pepe/internalTools/ToolIoModule.class. But when ToolIoUpdateMan.java needed compiling something required the class com.iolabs.pepe.internalTools.ToolIoModule. Javac looked at the file <workspaceroot>/com/iolabs/pepe/internalTools/ToolIoModule.class in order to find that class but it wasn't there - javac found ToolIoModule instead. This was something that javac did not expect.
    Now the error message makes perfect sense: "class file contains wrong class: ToolIoModule" when it should have contained com.iolabs.pepe.internalTools.ToolIoModule.

  • Strange compiler message

    I've just upgraded to 1.3.1 SDK on Windows 2000.
    I now get very strange messages during the compile.
    e.g. for the source :
    * The HelloWorldApp class implements an application that
    * displays "Hello World!" to the standard output.
    public class HelloWorldApp {
    public static void main(String[] args) {
    // Display "Hello World!"
    System.out.println("Hello World!");
    the compiler displays :
    javac HelloWorldApp.java
    count = 0, total = 518
    count = 0, total = 518
    count = 0, total = 518
    count = 0, total = 518
    Why ? How can I get rid of these ?
    Regards

    OK - after more investigation I found that although I had changed my PATH entry to point to the new \bin , I forgot to change the CLASSPATH entries for dt.jar and tools.jar which were pointing to the \lib directory of my previous SDK. Changing these to point to the 1.3.1 SDK cured the problem.
    Thanks

  • Compiling message "cannot read" (new to java)

    Sorry about yet another question on compiling. I'm new to java. I've read alot of the threads on this, but my HelloJava.java won't compile.
    I'm working on w2k. I've set my path to
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\j2sdk1.4.0\bin
    using the environment variables in the system properties box.
    This seems to work fine.
    but I keep getting the "cannot read" when compiling.
    I've created a classpath variable in the environment variables
    CLASSPATH = .;C:\src
    and my java file is definately .java not .java.txt and it's in the src folder on my c drive.
    Do I need to set classpath? Also I've put my HelloJava.java file in the same folder as my javac and it still won't compile. What am I doing wrong?
    By the way, the HelloJava file came from the book "Learning Java".
    thanks in advance.

    OK -
    If you place your .java files in C:\src, to compile you must either
    1. Go to (change the current directory to, using cd command) c:\src and then enter "javac ...."
    or
    2 From any directory enter "javac C:\src\...."
    Classpath is used by javac and java, but not in this way.
    Read here for the full story:
    The Path is a set of pointers that Windows uses to locate programs that you execute, like javac.exe and java.exe. This setting is explained here:
    http://java.sun.com/j2se/1.4/install-windows.html
    Scroll down to: 5. Update the PATH variable
    The CLASSPATH is another set of pointers that is used by Java to find the files that you create and want compiled and/or run. This setting is explained here:
    Setting the Classpath:
    http://java.sun.com/j2se/1.4/docs/tooldocs/windows/classpath.html
    [NOTE: always start your classpath with ".;" which means the current directory. See my classpath, below]
    How Classes are Found:
    http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.html

  • Help with a compile error message

    Hello
    The compiler reports " ReadTVFile.java:7: duplicate class: ....
    It is only one file (and class) in my filesystem that is called this, so what can the message mean?
    I might be doing something stupid :). This is how my program structure is:
    The class ReadTVfile has a method: public ArrayList Dfile() {...}
    In Main file: import com.JT.IO.*; //the ReadTVfile is in this package
    ArrayList a = ReadTVFile.DFile();
    Is this not valid?
    My idea is to create several method to read files with. I have not created any objects of ReadTVFile since reading a file is no object. Maybe there is a better solution?
    Much regard
    JT

    Hi
    Please :) I dont have any pride in Java. As you can
    read above, I apologized for my naming convention used
    here, rewrote it for clarity and said ill do better
    next time.
    However, how does "you write confusing.. are you a VB programmer?"When I see someone who capitalizes method names it suggests VB, because that's the convention for that language. It's a fair question, because people who change from one language to another tend to write in the idiom they know until they learn differently.
    "you dont know how to read compile messages, I do" help me solve my problem? The "I do" part certainly doesn't, but that came in the second note. The first time I told you read more of the stack trace comes from seeing too many new programmers who post a stack trace for something like a NullPointerException that tells them the class, the .java source file, and the line at which it occurred, AND THEY STILL CAN'T FIGURE IT OUT. I thought you were one of those.
    Kariann
    tried to solve it. Admittenly dufymo did help me
    realize the importance of clarity in postings, but he
    did not adress my problem. If he did, I dont
    understand it, and I humbly ask you to clarify it for
    me.Sometimes it's hard to pinpoint what someone has done wrong. Your post was one of those. There's very little information to go on from your original note.
    If the class isn't too big, and there aren't too many of them, post all the code. Stack traces are good. Maybe some details about how you tried to compile and run the code, because screwing up the commands can be the reason for your problem.

  • Error compiling movie: out of memory !!! Premiere CS3

    Hey every1 --- desperate need of some guidance here. I've been all over the internet and these boards --- have seen this come up with a lot of people but no real solid answers that I'd seen or that have helped.
    First off, my comp is an imac 3.06 Ghz Core 2 Duo, 4GB memory. (just bought the computer last year)
    I'm shooting with a canon 7d in HD (1920 x 1080p) and I'm editing using Premiere CS3. I've noticed that editing has become very difficult since I started using HD; playback is very choppy and the 'quality settings' in the preview monitor are a joke and do absolutely nothing whether it's on draft or automatic.
    Anyway, despite the choppiness and slow editing, I was able to get a 3 min clip completed. These are my export settings:
    Export > Movie
    H.264
    960 x 540
    23.976 fps
    Square pixels,
    100% quality,
    recompress: unchecked.
    Once exported (I was able to export smaller timelines previously--- say, 50 secs of footage or so) the files look AMAZING and from there I use them for online video via vimeo -- stuff looks really awesome.
    Anyway, recently I'm getting: 'Error compiling movie. Out of Memory. Change optimization preferences to memory', etc. etc. Well, I did as it asked and that did absolutely nothing.
    So, I decided to open up my activity monitor and watch what's going on with my memory while premiere is exporting. I also closed ALL unused applications. System runs at about 2.16gb free memory before I start exporting. Memory seems stable during export UNTIL around the 50% exporting mark, and then its starts climbing like crazy and my memory just gets eaten up --- finally resulting in a crash at about 70% render.
    I really don't know what else to do. Does my computer not have the power to export 3 min of HD footage??? This seems surprising to me ... I don't know what else to try.
    Thanks for any help !!!
    -Mark

    Hi Mark,
    Hope you are having a wonderful day.
    Sorry to hear that you are having such a hard time. Although I did not specifically get the out of memory error, I can only be convinced that that is the problem.
    Although I am not a computer whiz, I have learned my share of things. I have been troubleshooting a video all this week (really, a couple of months), but I had to put it aside and come back to it.
    I tend to be talkative; so I will get back on topic or at least try to stay on topic, so bare with me. Smile....
    Here is what I have learned and maybe it will help you with yours if you have not found a solution already.
    Based on your hard drive specs and ram, I was thinking the same thing e.g. hard to believe that you are not able to render 3 minutes of video in HD. I primarily work in HD/1080p.
    The place where we are similar is that I eventually could get the video to render by reducing the workspace that is rendered piece by piece until I was able to render the entire file. When I tried to encode the video, I kept getting error compiling messages. I tried different codecs, deleting xmpses, not rendering xmpses, etc. I could not figure out the keyframe trick so I just put in a black video from after effects. By the way, all of my videos intro the same and no problems with the other videos fading from black to a still photo.
    Here is the problem from what I could gather.
    Simply, out of memory. I was rendering and trying to encode a 45 minute video with after effects compositions and the dynamic linking kept timing out once the file reached a certain size. There were no other true fancy effects. I do alot on the green screen and just use after effects to make a white background. Smaller videos, rendering has been slow, but doable. This massive video would never compile. I won't bore you with my system specs, but know that similar to your situation, the system in theory should have been adequate.
    Work around...
    I ended up exporting the video as 3 separate 15 minute video clips. I could not get them to encode as .wmv files so I encoded them as .mp4 files. By the way, I still encoded in HD.
    Here is the kool stuff.
    After what seems like forever, I found a converter that could convert .mp4 to .wmv and rejoin the files to play as one large file with the same quality as my source file and no audio synching issues. By the way, I do not work for this company. I just found this encoder at 4 o'clock this morning after trying all of these other converters that were straight garbage or were free to try and not really free if you wanted quality. By the way, the conversion tool is not only user friendly, but free which is awesome.
    The name of the software is Media Cope. Just visit www.mediacope.com.... Be sure to send the owner an e-mail to thank him and let him know that Mark sent you. I just sent him an e-mail earlier to let him know that I was going to post on Adobe what a wonderful software he created. I just needed something free, quick, easy, and user-friendly.
    Whoops... got off topic....
    I'll do a summary at the end for my recommendation to you.
    Here are some other tidbits that I learned as well that may save you some time.
    When editing this is what I do now...
    1) I use CCleaner from www.piriform.com to quickly clean my system especially temporary files before I start editing and if I am switching from project to project.
    2) In all of my troubleshooting this week, I found a kool little software call Smart Close. (Just google to find this one.) It closes all of your non-critical background files in order to maximize system resources. (When I am done editing, I just reboot and all of my background programs start up again. You do not have to do it that way, that's just how I do it. The nice thing is that it is a wizard interface; so you do not have to try to figure out if a process in the background is critical or non-critical.)
    3) Depending on my mood and if I did not forget, smile.... I change the priority to high for the adobe products in the task manager.
    More things that I learned...
    1) We are not able to change the temp file for how Adobe encodes. My logic was if I could change the encoding to a hard drive that was simply empty so Adobe can render there, then I would be good. Wrong.... Adobe does not allow you to change the temp location. (Note: This is what I discovered in the different forums; so encoding to an external hard drive is not the best move. Read more to se why.)
    2) It is best to have your scratch disks as your internal disk. If you have multiple internal disks, then you shoud check some other forums for the best way to set up your scratch disks. When I was just starting out, I bought an external hard drive enclosure with the thought that I would work primarily off of those external drives with the option of doing some RAID work. Bad idea... Even the simplest of tasks took forever. It was best to work off of the internal drive. By the way, I still use the enclosure hard drives for backups in order to allow me to free up some space on the primary hard drive. When rendering, it is truely a use of the RAM and the hard drive space in the editing process.
    I'll leave you with this...
    I take back what I said earlier, you do need a new computer with more RAM. If you can get 16 GB, great. The primary reason is that if you are editing in Premiere and if you do anything with dynamic linking into your after effects, it will cause your ram to climb as the file gets larger. Of course, be sure to get the largest hard drive possible as an internal drive, the maximum on processor speed, 64 bit operating system, etc.
    I know you are like by now, Mark, what is the point of all of your gibberish... Really, it was to share with you and others on some really kool work arounds.
    My recommendation for you are as follows.
    1) You have already proven that you can render and encode 50 second clips and you are very happy with those clips, so create separate smaller clips for this particular project.
    2) Once you have the final clips outputted, then use Media Cope to rejoin the files as one large file and you are done.
    (Note: The one thing that I did notice is that there is a small break right between where the files are merged. The nice thing is that as a video editor/film maker, you will be the only person likely to notice it because you know where the breaks are. The other nice thing is that the untrained eye will not notice it and if you had to submit your work to a television station especially on DVD, the video system should recognize the file as one large file and play all the way through. Note: For the last sentence, I said 'should play all the way through' as I have not had a chance to check this one yet as I just finished this project today and still have to turn in all of my videos. I still have some more videos to merge.)
    By the way, the only specs that I will share are that I work on a PC and it has 8 GB of ram.
    The summary of the summary is that sometimes an error compiling message could simply be that your system does not have resources to render and the encode that large of a file. At least that is what I learned this week or at least my specific situation. The confirmation is that I just finished shooting a documentary which was one hour and some change and was able to render and encode to .wmv with no problems. Of course, I was not using after effects for this particular project.
    In either case, hope all the information helps you with your project.
    Have a wonderful day and happy holidays everyone.
    Mark

  • JSP too big to compile error

    I am developing an web application and i am getting the following error
    when trying to run the application.
    org.apache.jasper.JasperException: JSP cannot be compiled
    compiler message file broken: key=compiler.err.compiler.err.limit.code.too.large.for.try.stmt arguments=null, null, null, null, null, null, nullI tried looking for the solution but without luck.
    What causes this problem and how can it be solved?
    any help? thanx a lot in advance

    A Java sourcefile may not contain more than 65KB of code in a single method.
    All the code you type in your JSP either directly or through static imports will be contained in a single method in the generated source.
    Adding that one line to your JSP pushed it over the limit causing the compiler to complain, but if your JSP is that large you have problems as it is.
    There are 2 ways around it:
    1) code more efficiently by scrapping code that's not needed
    2) use dynamic includes
    Ideally you should probably do both of these.
    Yes, I've run into it as well. Luckily it was not a JSP I'd originally written but had been asked to complete for someone else who had gotten lost in the complexity of a 5000 line piece of code (doh!).

  • [Solved]Compiling audit with staticlibs options

    Hi everyone, I wanted e4rat to boost my boot time on my laptop, but recent updates requires me to recompile audit with static libs:
    Index» Newbie Corner» [Solved] e4rat-preload cannot work
    I made a copy of the audit PKGBUILD from the repositories and altered the options as indicated
    depends=(krb5 libcap-ng)
    makedepends=(libldap swig linux-headers python2)
    license=(GPL)
    options=(emptydirs staticlibs)
    but when I run makepkg, the compile message tells me that:
    libtool: link: ranlib .libs/libauparse.a
    /usr/bin/sed: can't read Packages/audit/src/audit-2.3.2/lib/libaudit.la: No such file or directory
    libtool: link: `Packages/audit/src/audit-2.3.2/lib/libaudit.la' is not a valid libtool archive
    Makefile:895: recipe for target 'libauparse.la' failed
    ==> ERROR: A failure occurred in build().
    Aborting...
    but when I nagivate to the audit-2.3.2/lib/ directory, libaudit.la exists there. Am I missing out on something?
    Last edited by enochnotsocool (2013-12-15 01:56:36)

    Here is my entire /etc/makepkg.conf is it helps at all:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync --no-motd -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    #CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    #CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CPPFLAGS="-D_FORTIFY_SOURCE=2"
    CFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
    CXXFLAGS="${CFLAGS}"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j5"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    #-- sign: Generate PGP signature file
    BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- staticlibs: Leave static library (.a) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    #-- upx: Compress binary executable files using UPX
    #-- debug: Add debugging flags as specified in DEBUG_* variables
    OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Log files: specify a fixed directory where all log files will be placed
    #LOGDEST=/home/makepkglogs
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    #-- Specify a key to use for package signing
    #GPGKEY=""
    # COMPRESSION DEFAULTS
    COMPRESSGZ=(gzip -c -f -n)
    COMPRESSBZ2=(bzip2 -c -f)
    COMPRESSXZ=(xz -c -z -)
    COMPRESSLRZ=(lrzip -q)
    COMPRESSLZO=(lzop -q)
    COMPRESSZ=(compress -c -f)
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    #PKGEXT='.pkg.tar.xz'
    PKGEXT='.tar'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Those were the options I used to build. I installed the depends and then built in my home directory after making the change to the PKGBUILD (adding staticlibs to options array) as you specified. My cpu is i7 sandybridge. Aside from that I'm not sure how much help I can be.

  • How do you compile shared dynamic library in OS/X?

    I am trying to compile a open source component in OS/X (gcc, ANSI C) from the following makefile:
    include makefile_header #standard system makefile variables in this
    # include additional makefile headers here
    # add needed cflags here
    DSI_CFLAGS=$(GLOBUS_CFLAGS)
    # add needed includes here
    DSI_INCLUDES=$(GLOBUS_INCLUDES) -I/opt/bes/include/bes
    # added needed ldflags here
    DSI_LDFLAGS=$(GLOBUS_LDFLAGS) -L/opt/bes/lib -L/opt/bes/lib/bes
    # add needed libraries here
    DSI_LIBS= -lbes_ppt -lbes_dispatch
    FLAVOR=gcc32dbg
    globus_gridftp_server_bes.o:
    $(GLOBUS_CC) $(DSI_CFLAGS) $(DSI_INCLUDES) \
    -shared -o libglobus_gridftp_server_bes_$(FLAVOR).so \
    globus_gridftp_server_bes.c \
    $(DSI_LDFLAGS) $(DSI_LIBS)
    install:
    cp -f libglobus_gridftp_server_bes_$(FLAVOR).so $(GLOBUS_LOCATION)/lib
    #end makefile
    -shared is not recognized by OS/X's gcc variant. Substituting -dynamiclib or -bundle does not seem to be correct method (errors). How should I go about changing the compile command so that it will build me the libglobus_server_bes_gcc32.so lib file?
    Thanks.
    --Stephan
    Macbook Pro, Powerbook G4   Mac OS X (10.4.9)   *NIX OSS developer

    I get the following compile message:
    /usr/bin/gcc -g -m32 -fno-common -Wall -I/usr/local/globus/include/gcc32dbg -I/opt/bes/include/bes \
    -o libglobusgridftp_server_besgcc32dbg.so \
    globusgridftp_serverbes.c \
    -L/usr/local/globus/lib -L/usr/local/globus//lib -m32 -L/opt/bes/lib -L/opt/bes/lib/bes -lbes_ppt -lbes_dispatch
    In file included from /usr/local/globus/include/gcc32dbg/globus_common.h:58,
    from /usr/local/globus/include/gcc32dbg/globusgridftpserver.h:26,
    from globusgridftp_serverbes.c:12:
    /usr/local/globus/include/gcc32dbg/globuscommoninclude.h:28: error: syntax error before 'extern'
    make: * [globusgridftp_serverbes.o] Error 1
    The compile command with -shared works in linux, no error in globuscommoninclude.h as above.
    globuscommoninclude.h upto the error:
    #if !defined(GLOBUSCOMMON_INCLUDEH)
    #define GLOBUSCOMMON_INCLUDEH 1
    #include "globus_config.h"
    #ifdef _GNUC_
    #define GlobusFuncName(func) static const char * globus_funcname \
    _attribute__((__unused_)) = #func
    #else
    #define GlobusFuncName(func) static const char * globus_funcname = #func
    #endif
    extern const char * globus_funcname; //<- error on this line
    <br>
    Macbook Pro, Powerbook G4   Mac OS X (10.4.9)   *NIX OSS developer

  • Flash limitations, Invisible Compiler Errors, swc files...

    This question is for expert users of Flash CS4/CS5 and actionscript.   Please do not comment or offer suggestions if you have no experience  with these errors or their causes.
    ===================================================
    Question:
    =======
    Publishing  an extremely complex file can sometimes result in a blank swf being  created, and no compiler errors being shown even though some may exist.   Are there any suggested methods for dealing with this?
    =======
    Details:
    =======
    Those who have written flash files with large actionscript components  will be familiar with needing to set the JAVA_TOOL_OPTIONS evinronment  variable in order to prevent the Flash compiler from crashing due to  memory limits.  The majority of the files in question require this as a  bare minimum in order to be compiled at all.
    The project in question involves several main "launcher" components,  in addition to hundreds of "modules".  The modules themselves are being  developed in a distributed manner by several programmers.  Each module  can be executed as a standalone swf, for testing and production  purposes.  Each module has a companion swc file which holds its assets  and exports them.  All of the modules make use of a shared custom code  library that sits on top of actionscript.
    The launcher program also uses the shared library code, and runs the  modules  (never more than one at a time, and clearing previously loaded ones  before loading a new one) inside of itself.  The launcher contains a  reference file(the class names typed in an include file, referencing all  of the available exported assets from the swcs) that makes all the  necessary assets available to the modules, such that any module can be  run at any time.
    ===========
    The Error:
    ===========
    Seemingly random in occurence, every now and then a file will  "compile blank".  Essentially, the compile time is very short, the swf  pops up as a blank white box, and there is absolutely nothing listed in  the "Compiler Errors" tab, nor in the output tab.  Sometimes closing  flash and relaunching it will bring the Compiler Error messages back,  though usually not.  More often opening the file on another computer in a  different copy of flash and compiling it again will show the errors.   The original computer will still not show anything, but the other  computer can be used to fix the error, and then the file will start  reporting errors again properly.
    However, sometimes, the file will "compile blank" on all computers,  and all copies of flash.  Then the only resort to find the hidden errors  and fix them, is to comment out the entire file, and slowly uncomment  out sections one at a time.  In this manner, the area where the hidden  errors are occuring can be determined, and the error found manually.
    Obviously this is an extremely frustrating situation, but one that can be "worked around".
    However, there are two more serious incarnations of this which cannot be as easily side stepped.
    1.) Sometimes certain computers/copies of flash will "compile blank" a  file that doesnt actually have errors in it.  The same file will  compile and work perfectly on one machine, and not on another.
    2.) The most severe of all...The two more complex components compile fine in cs4, but always "compile blank"  on cs5, no matter what.  The module files all compile much faster on  cs5 and work great.  However, the shared code library and the launcher  program cannot be compiled in cs5, though they compile fine in cs4.   Both compile blank every single time on cs5, with no errors reported.
    --Just as a side note here are the compile times on two different  types of computers, for cs4 and cs5, for the three types of compiled  files:
    =====================
    CS4 Compile time averages:
    =====================
    Dual Core - Pentium 4:
            Module File = 1-4 minutes
            Shared Code Library = 10+ minutes
            Launcher Program = Unusable
    6 Core AMD w 16 GBs of RAM:
             Module File = less than 10 seconds
             Shared Code Library = approx. 1 minute
             Launcher Program = 15-25 minutes
    =====================
    CS5 Compile time averages:
    =====================
    Dual Core - Pentium 4:
            Module File = less than 20 seconds
            Shared Code Library = 2-4 minutes
            Launcher Program = Compiles blank
    6 Core AMD w 16 GBs of RAM:
             Module File = less than 10 seconds
             Shared Code Library = less than 30 seconds
             Launcher Program = Compiles blank
    ========================================
    Summary:
    ========================================
    1.) Large and complex files in cs4 or cs5 can sometimes false compile, showing a blank swf, and no errors.
    2.) Large interlinked projects containing many swcs that can compile on cs4 always compile blank on cs5
    The issues involved "appear" to deal with interlinked swcs and swfs, memory, and compiler messages.
    The best solution i can think of would be some sort of verbose mode  setting, where the cs4/cs5 compilers can be set to trace all the actions  they are taking, either to a log file, or to the screen.  Rather than  simply giving a summary of the results, a real-time display of what is  occuring might lead to the actual bugs/issues.
    Eisley79

    For the future people who come searching this forum and find my thread.
    http://kb2.adobe.com/cps/405/kb405257.html
    Above is a link to adobe's official version of admitting this situation exists(and its true for cs5 as well).
    If you are reading this, and simply have a single large file that won't compile.  Attempt their solutions suggested.  Also, click the link in the comments by the user refering to a blog that helped him.
    That will explain the JAVA_TOOL_OPTIONS memory issue (which you can find many explanations on google as well).
    If however, you are working with a large number of separate swf's that load each other, and share assets and are getting the REAL problem, neither adobe's solutions, nor the JAVA_TOOL_OPTIONS will correct the problem for you.  My best suggestion to you is, have one SWF launch the next one, and break your project into pieces.  Whatever the parent SWF needed to have, can be either copied into all the children SWFs, or into several "brother" SWFs which share the loaded children SWFs, (and can actually be successfully compiled).  Then as you move from brother to brother, they can be made to appear as if they were actually ONE file, loading the children, instead of several launching each other, and sharing the loading duties.
    and as far as adobe is concerned, if i told you what i thought of you, i would get this post deleted...and myself banned.
    Anyone considering doing Enterprise level projects in Flash, DONT.  I wanted to use JAVA, but my company went with flash.  I am stuck working around it constantly, and would have been better off coding foundation classes to mimic whatever functionality we needed from flash into java.
    Maybe when actionscript 4 comes along, it will magically bring with it true object oriented programming, and Adobe will spend the time and money to make a real working compiler.  Somehow i doubt it.

Maybe you are looking for