Question about compiling with different jdk's

Hi, I have a questions which I can't find an answer for.
If I compile my program with jdk 1.6, will some1 be able to run it
using jre 1.5 ?
a) Assuming I don't use any 1.6 new features
b) Assuming I use 1.6 new features.
Btw. I would check myself on other computer with jre 1.5, but right now I can't :-(

Thank you for your reply.
So when I use 1.6 jdk, I can compile my program with
these flags and
I'll be able to run it on the specified release jre
?yes, unless the system is broken in the beta of course.
In other words there is no way that an app compiled
without these flags,
worked on older jre ?yup. Though some betas might default to generating classfiles for 5.0 runtimes by default (some 5.0 betas generated 1.4 classfiles for example).

Similar Messages

  • Basic Questions About Compiling Source

    Hi!
    I have some very basic questions about compiling source on 10.6. BTW, if the unix discussions still exist, they've hidden them pretty well, so I hope I'm in the right place for this!
    First off, you simply cd to the source dir, wherever it may be - in my case ~/Downloads/source/  - and during the install process, everything will be installed in its proper dir, right?
    How do you know which compiler to use? There seem to be several: make, gmake, gcc, g++, etc...
    Once you do figure out which compiler to run, the process is supposed to go like this, right?
    ./configure
    make (or whatever)
    make install
    But this doesn't always work for me. For instance, I'm trying to compile 'arm', but it doesn't seem to have a 'configure' script.
    $ ls ~/Downloads/arm
    ChangeLog
    README
    armrc.sample
    setup.py
    LICENSE
    arm
    install
    /src
    Maybe it's that 'setup.py' file? What are you supposed to do?
    Of course, it's not only this one that's given me trouble. Sometimes the readme will say I have to edit a certain file for my system. Are there just a few standard changes you always make? Or is it...how can I put it...complicated? How do you find out what's needed in those cases?
    OS 10.6.8
    Xcode 3.2.4
    Python 2.7

    sudont wrote:
    I have some very basic questions about compiling source on 10.6. BTW, if the unix discussions still exist, they've hidden them pretty well, so I hope I'm in the right place for this!
    This is the place for UNIX discussions. If you have developer-related questions, there is a forum dedicated to that as well: Developer Forums
    First off, you simply cd to the source dir, wherever it may be - in my case ~/Downloads/source/  - and during the install process, everything will be installed in its proper dir, right?
    Yes. Hopefully the project you want to install follows standard conventions. If so, you can do "./configure", then "make", and finally "sudo make install" to install the software into "/usr/local".
    How do you know which compiler to use? There seem to be several: make, gmake, gcc, g++, etc...
    The make file will figure that stuff out.
    Once you do figure out which compiler to run, the process is supposed to go like this, right?
    ./configure
    make (or whatever)
    make install
    Yes, with the addition of "sudo" before "make install" because "/usr/local" is owned by root.
    But this doesn't always work for me. For instance, I'm trying to compile 'arm', but it doesn't seem to have a 'configure' script.
    $ ls ~/Downloads/arm
    ChangeLog
    README
    armrc.sample
    setup.py
    LICENSE
    arm
    install
    /src
    arm? You mean "arm (anonymizing relay monitor) - Terminal status monitor for Tor relays." You really don't want to be messing with that stuff. The only people involved with Tor that are trustworthy are US Navy intelligence who have their own uses for it. If you don't understand it as well as they do, best stay away.

  • A question about compiling

    Hello, i have a question about compiling. I always presumed that when a class is compiled and then run, the import statements just tell the executing JVM where to look in the JRE for the said imported classes before loading them into memory (is that correct?)
    What's confusing me is when happens when I write an applet which utilises the netscape.javascript.JSObject class (which after JRE 1.4.1 resides in the $JAVA/lib/plugins.jar). I have no idea what happens, as in does the relevant code get compiled into my .bin file or is that jar just referenced on the excecuting clients machine, and if the latter what happens if they are using a version before 1.4.2 where this class is residing in lib/jaws.jar, or does that not make any difference as the package names are still the same?
    You can see I'm confused and I think this highlights a fundamental gap in my knowledge,
    Thanks for any help!

    r035198x wrote:
    The classes are loaded on application start up. Not allways, no.
    <quote-self>Just use the reflections API.. </quote-self>
    If the JVM doesn't find the required class then your application probably won't have had a chance to try and catch the exception.That's exakery why we use reflections to try to load classes which may or may-not exist.
    PS: Had to do this with xerces classes to ensure we got the right version despite certain versions of Ant prepending it's version to my classpath, darn thing... sort of an "ehaustive search" for class definitions. Booger of an idea.

  • Question about function with in parameters

    Hello,
    I have a question about functions with in-parameters. In the HR schema, I need to get the minimum salary of the job_id that is mentioned as an in-parameter.
    this is what I am thinking but I dont know if it's correct or not or what should I do next!
    create or replace function get_minimum_salary (i_job_id in varchar2)
    return number
    as
    begin
    SELECT min_salary INTO min_sal
    FROM jobs
    where job_id = get_minimum_salary(xy);
    RETURN i_job_id;
    end get_minimum_salary;
    thanks in advance
    EDIT
    Thanks for your help all.
    Is it possible to add that if the i_job_id which is the in type parameter does not have a minimum salary then use the following function to register an error:
    create or replace procedure insert_error (i_error_code in number,
                                                      i_error_message in varchar2)
    as
    begin
    insert into error_table (error_user, error_date, error_code, error_message)
    values (user,sysdate,i_error_code,i_error_message);
    end insert_error;
    This function is basically to say that an error has occured and to register that error, at the same time I need to print out the error using the dbms_out.put_line.
    Any ideas of how to do that?
    Thanks again
    Edited by: Latvian83 on Jun 1, 2011 5:14 AM

    HI
    I have made little bit changes in ur code. try this
    create or replace function get_minimum_salary (i_job_id in varchar2)
    return number
    as
    v_Min_sal jobs.salary%type=0;---- Variable declaration
    begin
    SELECT min_salary INTO v_ min_sal
    FROM jobs
    where job_id = i_job_id;
    RETURN v_Min_sal;
    end get_minimum_salary;
    Regards
    Srikkanth.M

  • Can't create a compilation with different performers on iTunes 11.1.1 anymore!!! Why???

    After I updated iTunes to 11.1.1 I coudn't create a compilation with different artistes anymore! Why??? I don't want the same album cover, like 100 times...
    Thx
    DJG5500

    Generally setting a common Album title and Album Artist will fix things.
    For deeper problems see Grouping tracks into albums.
    tt2

  • Question about Communication with Oracle 7

    Hi,
    Generally we use Oracle Snapshots for Communication, but since Oracle 9.2.0.5 do not work with Oracle 7.1.5.2.4. we are thinking about do use Oracle Interconnect for this Link.
    Now I have the following two Questions about Communication with Oracle 7:
    1. Is an Adapter for Oracle 7.1.5.2.4 available?
    2. From your experience, does it make sense to install Oracle Interconnect for implementation of only one read only Link with 3 Tables if an OAS for BI is available?
    Thanks,
    Hannes

    1. The Oracle database adapter is for Oracle 8i and up. I checked the code needed in the database and doubt that will work in Oracle 7.
    1. The other option Advanced Queuing also needs 8i and up.
    2. For me it doesnt make sense that you want to connect to Oracle 7. Oracle 7 is unsupported and should not have to be developed against. Also the license costs for Oracle Interconnect ~17K without any discount is a bit steep for read only links to three tables. Having the OAS means you wont have to pay another additional ~17K for the apps server.

  • Questions about editing with io HD or Kona 3 cards

    My production company is switching from Avid to Final Cut Pro. I have a few editing system questions (not ingesting and outputting, just questions about systems for the actual editors - we will have mac pros with either kona 3 or io HD for ingest and outputs)
    1) Our editors work from home so they most likely will be using MacBook Pros - Intel Core 2 Duo 2.6GHz 4GB computers with eSata drives to work on uncompressed HD, will they be able to work more quickly in FCP if they are using the new Mac Pro 8-Core (2 Quad-Core 2.8GHz Intel Xeon) or will the mac book pro's be able to hold their own with editing hour long documentaries, uncompressed HD
    2) Will having an AJA Kona 3 (if we get the editors mac pros) or io HD (for the mac book pros) connected be a significant help to the editor's and their process, will it speed up their work, will it allow them to edit sequences without having to render clips of different formats? Or will they be just as well off without editing with the io HD?
    I'm just trying to get a better understanding of the necessity of the AJA hardware in terms of working with the editors to help them do what they have to do with projects that have been shot on many formats- DVCPro tapes, Aiptek cameras that create QTs and P2 footage.
    Thanks

    1. with the IoHD, laptops become OK working with ProRes and simply eSata setups. Without the Io, they can't view externally on a video monitor (a must in my book). It will not speed up rendering a ton, nor will it save renders of mixed formats. The idea is to get all source footage to ProRes with the Io, and then the Io also lifts the CPU from having to convert ProRes to something you can monitor externally on a video monitor, and record back to any tape format you want... all in real time.
    2. Kona 3's on Towers would run circles around render times on a Laptop... no matter what the codec, but the Kona does not really speed renders up. That's a function of the CPU and just how fast is it. (lots of CPU's at faster speeds will speed up render times).
    I'd recommend you capture to ProRes with Io's or the Kona 3 and don't work in uncompressed HD. You gain nothing doing it quality wise at all. And you only use up a ton of disk space (6 times the size in fact) capturing and working in uncompressed HD, which from your post, you're not shooting anyway. The lovely thing about ProRes is that it's visually lossless, efficient, and speeds up the editing process. Mixing formats can be done, but it's better to go to ProRes for all source footage, and edit that way.
    With either the Kona or the Io, you then can output to uncompressed HD tape... that's what they do for you no matter what codec you've edited in. ProRes is designed to be the codec of choice for all HD projects when you're shooting different formats especially... Get them all singing the same tune in your editing stations, and you'll be a much happier camper. Only reason to buy laptops is portability... otherwise you're much better off with towers and the Kona 3 speed wise.
    Jerry
    Message was edited by: Jerry Hofmann

  • Running executables that have been compiled with different versions of a same vi

    I am writing a LabVIEW 7 program on Windwos (NT 4.0 up through XP) that will have to simultaneously call and run at least two executable modules. Both of these modules will be written using some of the same utility vis from my user libraries. How can I run the two modules if they have each been compiled using different versions of the utility libraries (i.e. the two executables will have vis with the same name but with slightly different code)?
    I know i could dynamically call each vi by reference node, but that can get a bit cumbersome with dozens of vis...

    Hi meludwig,
    Unfortunately, LabVIEW keeps track of the different VIs in memory using the VI's name. Therefore, if you want to load multiple executables that use the same VIs but with different code, you will want to rename those VIs. LabVIEW cannot distinguish between 2 VIs with the same name but with different code. Dynamically calling the VIs using VI Server, like you mentioned, will also potentially cause problems because the executables might try to load same VI name into LabVIEW memory at a time and this will still causes problems.
    My suggestion would therefore to be to rename the utility VIs to another name and save it as a custom subVI in that program. Then, make sure to include that custom subVI in the App Builder executable and you should b
    e golden.
    Kileen C.
    NI

  • Question about compiled byte code

    Howdy folks,
    I have a client who wants to run an application in both
    on-line and off-line modes. The user could run the application
    locally on their laptop making changes and such which would get
    stored to local database files (probably FoxPro free tables just to
    make it easier on me). Then when the user got back to their
    internet connection they could run the application and it would
    sync with the online tables (probably MySql tables at that point).
    So the question is, if I compile Cold Fusion code into Java
    byte code, will it be able to execute independantly of the Cold
    Fusion Server? I realize that I could load ColdFusion on the user's
    laptop, but I don't think I want to do that. I'm assuming that the
    answer to my question will be "No. You can't do that. Cold Fusion
    isn't meant to work like that." To which my next question would be,
    "Well, what language would be best for the type of application I
    have described above? Action Script, maybe?"
    Any thoughts are welcome, especially if you've written an
    application like the one I've described.
    Thanks very much,
    Chris

    Well, rats.
    I wrote a nice reply to your message BKBK, but lost it
    because, apparently, my session timed out.
    The basic jist, was that I've been working on AJAX, and have
    been implementing some AJAX-like techniques at some other clients
    (using hidden iframes combined with innerHTML -- I know not a
    standard, but darn handy otherwise), but I couldn't see how that
    would solve my on-line/off-line problem (unless I stuck with the
    cookies idea).
    I also did some reading on cookies last night (obviously, I
    don't use cookies very often if at all in my daily coding), and I'm
    a bit put off by the different browser limitations. I'd hate my
    client to be chugging along, entering appointments into the
    "database" (read: data being stored as cookies to be sync'd later
    when the user goes online), and then suddenly run into the cookie
    limitation. On top of that, if I'm reading right, IE (my client's
    most likely choise of browser), will not let you know that you've
    reached this limit, but will just begin dropping the older cookies
    in favor of the newer ones. If I could programmatically sense this
    limitation and then write the cookies to some file before
    continuing that'd be geat, but since JavaScript can't write files
    (that I know of) this isn't feasable. Also, if I could write a file
    like that, I wouldn't bother with the cookies.
    I think I'm going to end up writing it in FoxPro since my
    company has a bunch of copies of it (and it's licenced per
    developer and not per copy), and there are lots of folks in my
    company who can help me get up to speed. That also means that I'll
    probably need to write a web version of the code for when my
    client's client's (does that make sense? :-) ) connect to the app
    via the internet.
    Anyway, I'm really enjoying everyones comments on the
    subject. Can anybody think of a technique for a way around the
    cookie limitations? Or perhaps another language that this whole
    thing could be written in?
    I really wish that I could compile my ColdFusion code for use
    independant of the CF server. I know, that's not the way it works
    and typically not what scripting languages like this are used for.
    I suppose I could always install the developer's version of CF on
    the user's local machine, write the code in CF and then just detect
    whether or not the user is online and behave accordingly.

  • New to Logic 9, Questions about mixing with summing box.

    Hello - glad to be aboard. I just picked up Logic9 last week.. I have been on DP...well since it was P (I guess 20yrs,) Been contemplating the move for quite some time, but as I too, pay the bills with music, I've got to stay on DP until I and Logic are full integrated into my system. With that being said, I am DP by day- getting things done, and when the day is done, Its Logic time. I'm in the studio on forums, watching a bunch of videos that I bought, taking notes creating "Key Command" Flash cards - just kidding on that one) - I am really looking forward to making the switch. - I was going to order DP6, as well, but I think there's no need for that... this might be the right move.
    On to my question....
    My setup in the nutshell - Mac2.8. with MOTU PCIe,, using MOTU audio interfaces, 2x2408mkIII's, 1x24i/o, and 1x308) - I am using 2 x Rosetta 800''s as well, and from my DAW mix out through them into a Dangerous 2BUS summing box - which means - obviously, that I group my tracks in my daw and send out various outputs (i.e, Output 1-2 might be vox, 3-4 for gtrs, 5-6 for drums, etc.) - I then run to the 2Bus, out into a TK Audio BC1 buss compressor, routed back into the Apogee, and into the DAW - where I bring the stereo mix back in. - This means (2) things
    1. I have no need for a Master Fader
    2. I don't bounce
    There are a couple of things that are confusing me - It seems that in Logic, when i create a track, Logic is "kind enough" to think ahead for me, and not only gives me the audio track, but also another fader, I guess which acts like an overall channel strip or fader for that output. It also assigns a master fader for me as well. In DP, when i create an audio track - I get just that - an audio track. Its routing assignment is indicated by the inputs and outputs I select. If I want to route it out to inputs 1-2, then I choose that output - but nothing else pops up. If I had the need to assign a Master Fader - then I would key command to add a Master Fader. While, in the scheme of things its not that difficult to just "delete" these tracks - I am sure during the course of normal work flow, it will get old. I tried deleting the master fader (on a test project I was working on) and saving as a template. But when I opened up the template and started assigning audio tracks, the ol' master fader came back. To me, it seems like fader duplication that I really don't need to see. - I just want to see my audio tracks - and route them to their appropriate outputs from the channel strip.
    I assume the automatic assigning of a master fader - would be helpful if I wasnt mixing "outside" the box, and would be required if I "bounced" my final mixes down from within Logic. - And I also would assume that these Aux channels, or whatever that are assigned when i create audio tracks, are nothing more than overall "volume: controls for that output.
    Another annoying issue related to this - I have named all of my ins and outs withing the MOTU PCI interface - I then when into the I/O assignment page in Logic and requested that Logic use the names provided by the driver (my names) - it does.... In parenthesis after their's - but outputs 1-2 - keep reverting to the name "Stereo Out".... frustrating.
    Again - While I will miss alot of things from DP....I actually am seeing quite a few benefits over DP and the videos.. while not as useful as hands on work... are training me to see the screens, workflow, etc - and they are very helpful. When I do go into mess around - I am much farther ahead.. and at least know kind of where I am.
    But I'm really trying to minimize the impact of the switch.... so perhaps some of the long-time guys can asssit. I havent seen much on the various forums about diverting from logic's norm out into summing boxes....etc.
    Thanks very much - sorry about the long winded message - But I wanted to explain it the best I could.
    kj
    orcasound

    Hey Orcasound, welcome to the forum, and also welcome to Logic.
    Nice setup BTW, especially the Dangerous 2BUS into the BC1 coming back to the Rosetta 800"s, that gonna sound sweet mate.
    OK Q1: The master fader for output 1-2 is always gonna be there, I've never found a way of getting rid of it, you can fortunately set up the mixer so that it won't show though. At the top of the mix window is a heap of boxes highlighted in blue, all you need to do is deselect the master and the output as per this screen shot:
    Save this in your template and you'll never have to see those pesky faders again.
    Q2: Same thing really, logic will always show 1-2 output as stereo out. Which is annoying, even if you manually name them from the I/O labels window it's always stereo, everything else if fine apart from 1-2. To be honest I've just learned to live with it.
    Glad you made the switch, I find DP to be bloated and a bit tired nowadays.

  • Question about Compiler Installation

    Hi everyone. Haven't been in this forum for a while.
    Anyho, I was wondering. I'm about to run a compiler program called "JCreator LE", and I came upon this message:
    "In order for you to make use of the java documentation, you need to have a recent version of JDK JavaDocs installed on your system."
    Select the JavaDocs home directory: eg. C:\jdk1.4\docs
    I tried looking into my jdk1.4.1_04 folder, but I couldn't locate the source.
    So what is JavaDocs, and what is the most appropriate site(s) to download this source?
    thanks, Greg

    The JavaDocs are basically the Java API Documentation. You can download any version at http://java.sun.com/docs/ or you can view the complete API docs online at http://java.sun.com/j2se/1.4.2/docs/api/index.html

  • Question about syncing two different iPads on 1 iMac?

    Hey all, I bought two iPad 2's today (both gifts, 1 for my mom and 1 for my dad). Bought it for them because they're probably too old at this stage for me to teach them to use a desktop efficiently. iPad is so easy for them to use the internet and listen to their music which is most important.
    My question is, I don't have an iPad myself nor any iOS devices. Maybe I'll buy an ipad in a few months or so. However I do own the only computer in the house and that's my iMac. I was going to sync both my mom and dad's iPads to my Mac, and put their songs from my iTunes library on their iPads respectively. Will I incure any problems trying to do this?
    I don't want my mom and dad's iPads to be identical and I want to sync different pictures and songs and stuff on their ipads. I want it to be their own individually.
    What steps should I take to do this? I've never really synced any iOS products before but I pick up on this stuff pretty quickly. Made the transition from a Windows desktop to a Mac easily and would do it all over again!

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • Questions about compiling kernel on archlinux

    hi...i'm new of this forum and new of archlinux
    i'm tryng to compiling a custom kernel in order not to replace the kernel26 package.. i prefere to make it with abs for managing it with pacman.. i followed the wiki but something went wrong.... i used both the pkgbuild i found on the wiki but nothing...can someone help me please??

    if it can be of any help, this works for me too. actually, it's the official arch kernel PKGBUILD (maybe not the latest one) that I've just changed according to my needs:
    # $Id: PKGBUILD 17203 2008-10-26 20:28:29Z tpowa $
    # Maintainer: Tobias Powalowski <[email protected]>
    # Maintainer: Thomas Baechler <[email protected]>
    pkgname=kernel26mm
    _basekernel=2.6.27
    pkgver=2.6.28
    pkgrel=5
    _patchname="patch-${pkgver}-${pkgrel}-ARCH"
    pkgdesc="The Linux Kernel and modules"
    arch=(i686 x86_64)
    license=('GPL2')
    groups=('base')
    url="http://www.kernel.org"
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'module-init-tools' 'mkinitcpio>=0.5.18')
    # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
    # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
    # kernel24 support is dropped since glibc24
    replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
    'alsa-driver' 'ieee80211' 'hostap-driver26'
    'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
    'gspcav1')
    install=kernel26mm.install
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.28-rc2.bz2
    http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.28-rc2/2.6.28-rc2-mm1/2.6.28-rc2-mm1.bz2
    # the main kernel config files
    config config.x86_64
    iosched-bfq-03-update-kconfig-kbuild.patch
    iosched-bfq-02-add-bfq-scheduler.patch
    iosched-bfq-01-prepare-iocontext-handling.patch
    zen.git-aircrack.patch
    march-native.patch
    # standard config files for mkinitcpio ramdisk
    kernel26mm.preset)
    build() {
    KARCH=x86
    cd $startdir/src/linux-$_basekernel
    # Add -ARCH patches
    # See http://projects.archlinux.org/git/?p=linux-2.6-ARCH.git;a=summary
    patch -Np1 -i $startdir/src/patch-2.6.28-rc2 || return 1
    patch -Np1 -i $startdir/src/2.6.28-rc2-mm1 || return 1
    patch -Np1 -i $startdir/src/iosched-bfq-01-prepare-iocontext-handling.patch || return 1
    patch -Np1 -i $startdir/src/iosched-bfq-02-add-bfq-scheduler.patch || return 1
    patch -Np1 -i $startdir/src/iosched-bfq-03-update-kconfig-kbuild.patch || return 1
    patch -Np1 -i $startdir/src/zen.git-aircrack.patch || return 1
    patch -Np1 -i $startdir/src/march-native.patch || return 1
    sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =|g' Makefile
    if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    else
    cat ../config >./.config
    fi
    # build the full kernel version to use in pathnames
    . ./.config
    ### next line is only needed for rc kernels
    #_kernver="2.6.25${CONFIG_LOCALVERSION}"
    _kernver="2.6.28${CONFIG_LOCALVERSION}"
    # load configuration
    make menuconfig
    # build!
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    make bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map26mm
    cp arch/$KARCH/boot/bzImage $startdir/pkg/boot/vmlinuz26mm
    install -D -m644 Makefile \
    $startdir/pkg/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    $startdir/pkg/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    $startdir/pkg/usr/src/linux-${_kernver}/.config
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include
    for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-${_kernver}/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers $startdir/pkg/usr/src/linux-${_kernver}
    cp -a scripts $startdir/pkg/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R $startdir/pkg/usr/src/linux-${_kernver}/scripts
    #mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    # add dm headers
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h $startdir/pkg/usr/src/linux-${_kernver}/include/linux/
    # add CLUSTERIP file for iptables
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/net/ipv4/netfilter/
    # add wireless headers
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h $startdir/pkg/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/11194
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include/config/dvb/
    cp include/config/dvb/*.h $startdir/pkg/usr/src/linux-${_kernver}/include/config/dvb/
    # add xfs and shmem for aufs building
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h $startdir/pkg/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add vmlinux
    cp vmlinux $startdir/pkg/usr/src/linux-${_kernver}
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-${_kernver}/$i
    done
    cd $startdir/pkg/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
    chown -R root.root $startdir/pkg/usr/src/linux-${_kernver}
    find $startdir/pkg/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    cd $startdir/pkg/lib/modules/${_kernver} && \
    (rm -f source build; ln -sf ../../../usr/src/linux-${_kernver} build)
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D $startdir/src/${pkgname}.preset $startdir/pkg/etc/mkinitcpio.d/${pkgname}.preset || return 1
    # set correct depmod command for install
    sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/kernel26mm.install
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${startdir}/pkg/etc/mkinitcpio.d/${pkgname}.kver
    # remove unneeded architectures
    rm -rf $startdir/pkg/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    just replace all the kernel26mm by kernel26mycustomkernelname. same below with the install file and of course in your kernel config.
    # arg 1: the new package version
    # arg 2: the old package version
    KERNEL_VERSION=2.6.28-mm
    post_install () {
    # updating module dependencies
    echo ">>> Updating module dependencies. Please wait ..."
    depmod $KERNEL_VERSION > /dev/null 2>&1
    # generate init ramdisks
    echo ">>> MKINITCPIO SETUP"
    echo ">>> ----------------"
    echo ">>> If you use LVM2, Encrypted root or software RAID,"
    echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
    echo ">>> More information about mkinitcpio setup can be found here:"
    echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
    echo ""
    echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
    /sbin/mkinitcpio -p kernel26mm
    post_upgrade() {
    pacman -Q grub &>/dev/null
    hasgrub=$?
    pacman -Q lilo &>/dev/null
    haslilo=$?
    # reminder notices
    if [ $haslilo -eq 0 ]; then
    echo ">>>"
    if [ $hasgrub -eq 0 ]; then
    echo ">>> If you use the LILO bootloader, you should run 'lilo' before rebooting."
    else
    echo ">>> You appear to be using the LILO bootloader. You should run"
    echo ">>> 'lilo' before rebooting."
    fi
    echo ">>>"
    fi
    if grep "/boot" /etc/fstab 2>&1 >/dev/null; then
    if ! grep "/boot" /etc/mtab 2>&1 >/dev/null; then
    echo "WARNING: /boot appears to be a seperate partition but is not mounted"
    echo " This is most likely not what you want. Please mount your /boot"
    echo " partition and reinstall the kernel unless you are sure this is OK"
    fi
    fi
    # updating module dependencies
    echo ">>> Updating module dependencies. Please wait ..."
    depmod -v $KERNEL_VERSION > /dev/null 2>&1
    echo ">>> MKINITCPIO SETUP"
    echo ">>> ----------------"
    echo ">>> If you use LVM2, Encrypted root or software RAID,"
    echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
    echo ">>> More information about mkinitcpio setup can be found here:"
    echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
    echo ""
    echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
    if [ "`vercmp $2 2.6.19`" -lt 0 ]; then
    /sbin/mkinitcpio -p kernel26mm -m "ATTENTION:\nIf you get a kernel panic below
    and are using an Intel chipset, append 'earlymodules=piix' to the
    kernel commandline"
    else
    /sbin/mkinitcpio -p kernel26mm
    fi
    if [ "`vercmp $2 2.6.21`" -lt 0 ]; then
    echo ""
    echo "Important ACPI Information:"
    echo ">>> Since 2.6.20.7 all possible ACPI parts are modularized."
    echo ">>> The modules are located at:"
    echo ">>> /lib/modules/$(uname -r)/kernel/drivers/acpi"
    echo ">>> For more information about ACPI modules check this wiki page:"
    echo ">>> 'http://wiki.archlinux.org/index.php/ACPI_modules'"
    fi
    op=$1
    shift
    $op $*
    Last edited by bangkok_manouel (2009-01-27 13:55:34)

  • Questions about rebuilding with end goal of mortgage in 1.5 -2 years

    Hello all. I have been reading the forum diligently for the last few months, but I’m in a conundrum as to what to do next in my rebuilding process and was hoping for advice. Here’s a snapshot of my current situation. In 2008- 2009 I had a sudden lay off and a long term relationship end. I was left holding what seemed like insurmountable debt.  I paid the collections (didn’t know about PFD) but was still left with a credit report that had a bunch of lates, a collections account and a paid judgement.  All accounts closed on me with the exception of a JCP that I had forgotten about, but American Express sent me a preapproval for the Optima Card with a 700 CL. I took it gratefully, and went off to lick my woundsAfter years of struggling in a few low paying jobs I’ve made it back to my former status salary wise and I’m looking to get myself into a small home in the next 1.5 to 2 years. What’s on my credit report? JCP( 2008) – 4800 CL again thanks to his forum, hit the luv button and got a huge CLIAmex Optima ( 2009) – 2100 CL (thanks to the 3x Amex thread I got my first CLI in years on this card)Credit Union Visa(3/ 2013)- 2500 – this card hasn’t budged in two years, but is my lowest interest rate.Care Credit (10/2014) -1500 CL wish I had known about the recon when I apped for this card. It's too low to be useful to me.Discover(4/2015)- 6000 CLAAoA is 7.9 years. Credit history is 18 + Years. Utilization is 9%1 paid CO on Experian due to fall off August 2015.1 paid judgement on all 3 CRAs due to fall off in April of 20161 inquiry on TU and 1 Inquiry on Equifax. None on Experian.No lates.CK Fakos 750, Discover TU Fico 712, Experian 665 My question is…what next?  I would love to app for the American Express Blue Cash Everyday card and the Chase Freedom in October, but it occurs to me that I have no loan info on my report as my old car loans and home loans were from nearly 16 years ago. I want to avoid a car payment until I buy a house, however, does it make more since to get a loan from my CU to flesh out my report or should I go ahead and app for those two credit cards after that Collection falls off and my Discover ages a bit?   Thanks in advance for any insites.

    PDXgigi wrote:
    Thanks Dagsky. Any ideas on how long I should take to pay the loan back for best score?  I'm wondering if I should I have it paid off before I look for a mortgage. Also, what do you consider to be small? I was thinking of taking a year to pay back 1000 to 1500. I have some concerns about score dropping when the loan was paid off as well. 
    Thanks again!Small as in no more than $500. Terms as long as you can get.  If your CU won't go more than 12 months, go somewhere else. SDFCU for example, will go 36 months on a $500 secured loan at 3.99%, monthly payments of $14 and change. 

  • Question about Comes With Music in the UK

    Ever since I heard about the service, I was quite interested in getting a Comes With Music device on contract, but looking for one is like finding a needle in a haystack.
    Ideally, I would like to stay with O2, but they don't seem to offer contracts with Comes With Music, from what I can tell. I called their sales team four times to try and find out and pretty much got a different answer every time, although the one person who did seem to know what he was talking about gave a definitive "no".
    Other than that, I'm finding it impossible to find deals. I know Orange do the 32GB X6, because a friend of mine has this contract (not that I've found anything about it online), and the Nokia site itself offers the 5800 CWM with T-Mobile. Like I said though, I'd rather stick with O2 if possible, because I've always had excellent signal from them.
    So basically, does anyone have any information that may help me? I'm starting to think the reason CWM isn't doing well over here is because nobody really knows about it and because if you do find out about it, it's virtually impossible to find a contract.

    Your only option for getting a CwM phone on O2 is to see what places like carphone warehouse and phones 4u have to offer.
    O2 have refused to sell CwM phones directly in the past.
    Instead of paying more for a CwM phone you may want to consider spotify premium instead. It's £10 per month and it allows you to either stream music or download for use on the phone.
    The X6 32gb CwM has become quite hard to find since the cheaper 16gb model (without CwM) appeared. Originally it was exclusive to phones 4u but didn't sell well due to it's overly high price.

Maybe you are looking for

  • Image creation failed?

    Trying to create a NetRestore image. Used SuperDuper to repair peremissions and create DMG of Client Zero HD Ran SIU. Log Follows. Seemed to be going OK but hung at this point, or was I too impatient to wait any longer? had been sitting there for 20+

  • FPGA Compile error - Actual of formal out port cout cannot be an expression

    Details: ERROR:HDLCompiler:192 - "C:\NIFPGA\jobs\BPO5kq2_O6tyN2U\OC4_Sine_Cosine_LUT_Constant_Amplitude_dash_optimised_vi_c.vhd" Line 1408: Actual of formal out port cout cannot be an expression ERROR:HDLCompiler:854 - "C:\NIFPGA\jobs\BPO5kq2_O6tyN2U

  • Accessing properties file value in event handler in OIM11gR2

    Hi, Can i store the bolded values in below code in a propery file and call them. I am implementing this code in Post event handler.      logger.debug("Function::Client Initiate: Initializing OIM client");      String ctxFactory = "weblogic.jndi.WLIni

  • PO amount Order Budget : PO is not blocked !

    Hi, I create an investment order (Tcode : KO01) and I assigned it a budget of 20.000 EUR (Tcode : KO22), then I create a PO assigned to this order (Tcode : ME21N), with 35.000 EUR as an amount. The problem is the system doesnu2019t block the PO despi

  • Reverse Document Error showing as incorrect status

    Have posted the document for the month of november 2009 through HR-FI integration. After that tried to reverse the same but that time period was not open and its showing as Incorrect reversal. But after opening the particular period and trying to rev