[SOLVED] Light Spreadsheet and SC,Oleo problems

Hi everyone,
I'm new to Arch Linux and i'm searching for a light spreadsheet for console. The only one in repos is Gnumeric, but it doesn't fit my needs. I hit
sc spreadsheat and
Oleo .
But Oleo stucks while running ./configure when "checking for working mktime..." and sc comes with this error while compiling:
vi.c:43:1: warning: "bool" redefined
In file included from /usr/include/curses.h:168,
from vi.c:17:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/include/stdbool.h:36:1: warning: this is the location of the previous definition
vi.c: In function 'doshell':
vi.c:1410: warning: incompatible implicit declaration of built-in function 'execl'
gcc -DSYSV3 -O2 -pipe -c -o vmtbl.o vmtbl.c
gcc -DSYSV3 -O2 -pipe -c -o xmalloc.o xmalloc.c
xmalloc.c:9: error: conflicting types for 'malloc'
xmalloc.c:10: warning: conflicting types for built-in function 'realloc'
make: *** [xmalloc.o] Error 1
Anyone know, what should be done about it? I don't understand that compiling error and in case of Oleo i think it's some kind of bug.
Last edited by ptcek (2008-07-15 13:04:17)

I applied the patch and now I am able to create binary and even run it. But I can't enter strings or numbers into the cells. For example with
=1 the input line looks like i> let A0 = 1
it should enter number 1 into the cell... instead i get an error
syntax error: let A0<= = 1
for input line which looks like
i> leftstring A0 = "money"
i get
syntax error: leftstring A0<= = "money"
I'm aware of that one equality sign which seems to me to be extra. Is it right? If it's right, how to correct it?
There's piece of code given when compiling
vi.c:43:1: warning: "bool" redefined
In file included from /usr/include/curses.h:168,
from vi.c:17:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.1/include/stdbool.h:36:1: warning: this is the location of the previous definition
vi.c: In function 'doshell':
vi.c:1410: warning: incompatible implicit declaration of built-in function 'execl'
gcc -DSYSV3 -O2 -pipe -c -o vmtbl.o vmtbl.c
gcc -DSYSV3 -O2 -pipe -c -o xmalloc.o xmalloc.c
gcc abbrev.o cmds.o color.o crypt.o format.o frame.o gram.o help.o interp.o lex.o pipe.o range.o sc.o screen.o sort.o version.o vi.o vmtbl.o xmalloc.o -lm -lncurses -o sc
rm -f pvmtbl.c
ln vmtbl.c pvmtbl.c
gcc -DSYSV3 -O2 -pipe -c -DPSC pvmtbl.c
rm -f pxmalloc.c
ln xmalloc.c pxmalloc.c
gcc -DSYSV3 -O2 -pipe -c -DPSC pxmalloc.c
gcc -DSYSV3 -O2 -pipe -o psc psc.c pvmtbl.o pxmalloc.o
rm -f qhelp.c
ln help.c qhelp.c
gcc -DSYSV3 -O2 -pipe -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c
qhelp.c: In function 'main':
qhelp.c:645: warning: incompatible implicit declaration of built-in function 'exit'

Similar Messages

  • [SOLVED] Arch64, Opera and plugins library problem

    I have Arch64 with Opera 64-bit as default browser. I have succesfully installed 32-bit flashplugin and it works nicely. The only problem is that fonts cannot be read from the flash player context menu and Open File dialog opened from flash player. The problem is that flashplugin tries to load 64-bit GTK from /usr/lib/gtk-2.0/2.10.0/ and it fails. 32-bit version is installed and it's located in /opt/lib32/usr/lib/gtk-2.0/2.10.0/.
    Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64
    Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64
    Also I have library loading problem with totem-plugin. It cannot find libxul.so and libxpcom.so, but both library files are located in /usr/lib/xulrunner-1.9.0.1/. The plugin loads fine if I create links to both files in /usr/lib/. But that doesn't seem like right solution to me.
    $ ldd libtotem-mully-plugin.so
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f94e19d9000)
    libtotem-plparser-mini.so.10 => /usr/lib/libtotem-plparser-mini.so.10 (0x00007f94e17d6000)
    libxul.so => not found
    libxpcom.so => not found
    libplds4.so => /usr/lib/libplds4.so (0x00007f94e15d2000)
    What would be a most elegant way of solving these two library loading problems?
    I think that symbolic links and moving files are not the most elegant way to solve the problem. Maybe some environment variable or some configuration setting would solve the problem (LDPATH comes to mind, but it seems that it doesn't work).
    EDIT: I wasn't sure in which section to post this question, so feel free to move it if necessary.
    Last edited by SnapShot (2008-09-12 02:50:01)

    I have solved my problem and I will post my solution because it can be usefull to others.
    First the problem with flashplugin and GTK library path. Opera uses operapluginwrapper scirpt to detect if the plugin is 32-bit or 64-bit and after detection it uses operapluiginwrapper-ia32-linux for 32-bit or operapluginwrapper-native for 64-bit plugins. operapluiginwrapper-ia32-linux loads the 32-bit flashplugin in my case which requires GTK, but it incorectly tries to load it form /usr/lib/gtk-2.0/ where 64-bit version of GTK resides.
    The solution is to set the GTK_PATH environment variable to point to /opt/lib32/usr/lib/gtk-2.0/ where 32-bit version resides. But if you set it globaly it will result in problems with other 64-bit applications. So the correct solution is to add following lines on the bottom of the operapluginwrapper script above the exec line:
    case "$wrapper" in
    *ia32*)
    export GTK_PATH="/opt/lib32/usr/lib/gtk-2.0"
    export PANGO_RC_FILE="/opt/lib32/config/pango/pangorc"
    esac
    In this way the 32-bit paths will be active only for operapluginwrapper-ia32-linux process.
    I have solved the other problem with totem-plugin requesting libxul.so and libxpcom.so, but the solution idoesn't matter because, although totem-plugin loads coreclty it doesn't work in opera. I have installed mplayer-plugin which works as it should. Also gecko-mediaplayer works correctly with opera, I have tested them both. Install one of the two plugins that work, and you will be fine.

  • Have down loaded Yosemite over Mountain Lion. Indesign CS 5 is not working and requests Java script CE6. Apple stated Java 10 , but it still does not operate although Bridge works so as Light room and Photo Elements. How do I solve this problem

    Have down loaded Yosemite over Mountain Lion. Indesign CS5 does not operate although Bridge, Light room and also Photoshop elements operate OK A sub menu from Indesign request Java SE 6, after a long play with Apple  I end up with Java 10 How can I solve this problem rapidly. Pity apple do not test there products before offering them to the public. It costs us. Many thanks Davi E-C 

    It isn't Apple's job to ensure third party software works with a new OS. But Java 6 is here:
    Java for OS X 2014-001

  • Who can shed some light on my ongoing connection problem. After upgrading my iPad Air with IOS 7.06, I could no longer connect to the internet. I have 2 MacBooks Air, 1 ipad mini and one iPhone 4S running on the same network, and they are all connected to

    Who can shed some light on my ongoing connection problem.
    After upgrading my iPad Air with IOS 7.06, I could no longer connect to the internet.
    I have 2 MacBooks Air, 1 ipad mini and one iPhone 4S running on the same network, and they are all connected to the net and function well.
    So I cleaned up the ipad completely, installed the latest firmware and reinstalled my apps : no connection.
    I tried all things of resets and forgets. No result.
    I have been fondling with my Airport Extreme 5 , but that did not help much.
    This morning I went to a neighbor , hooked my ipad air on his network, typed the password and the thing all worked fine.
    I have tried to connect the ipad air as an ethernet client, but that did not work. „Not enough power“ was the statement
    Ideas anyone ?

    Yes I tried this manyfold. But did not work.  Reading on, I took Tesserac's advice. Shut down router and computer.
    Start router after 15 minutes and wait another 10 minutes before starting the computer.
    Et voila.... everything is back in working order,
    Regards form Curacao, Dutch Caribean.
    Pete van Linden

  • Audigy SE and AL ADA885 problem needs to be solved once and for

    I just purchased the Audigy SE (I'm on a budget) and installed it. I have the Altec Lansing ADA885 THX 4. digital surround speakers. This sound card DOES NOT work correctly with them. I have been all over the net trying everything that I have seen suggested to make it work. The specs say it should work. It does not. I have tried every possible wiring configuration to no avail. One thing that I find rather annoying is that I have seen several people say that changing the SPDIF to passthrough fixes the problem, yet I cannot find anywhere to change that setting, as I cannot find Audio HQ on the driver CD or on the net to install and change that setting. Can someone, for the love of god, please come up with a valid solution to this problem? I have seen so many people with this same problem who get the run around and answers that just don't help at all. What is needed is "Here, do a, then do b, download c, and BAM! problem solved". Not "Here, do f, do h, download c, j, k, m, and p, then go back and do f again, then a, then b, then come back here and let us know that none of it fixed the problem". I don't wish to be a whiner or a jerk about this, but it is a bit frustrating to be "upgrading" to a card that won't even work right. On behalf of all those with the same problem, thanks in advance to anyone who has a valid solution to this very big, very real problem.

    OK...
    . Do you have the complete application suie of the Audigy SE installed?
    2. If so, in Control Panel do you have the Audio Console or Audio Control Panel?
    3. If you do, change the settings for Decoder Settings to SPDIF passthrough. (THis is however only of AC-3 content, it doesn't affect other formats) (I am not sure the Audigy SE does have a decoder, if not, you need to change the setting in the AC-3 decoder you use)
    4. Then go to Device settings and change the Digital Output sampling rate to 48kHz.
    Now if you cannot find Audio Console, then you should download the latest drivers. They specifically state they allow you to change the "SPDIF output Sampling rate", so you should be able to access the option. I believe your problem lies to the fact your SPDIF is configured for 96kHz output and most probably these very old speakers do not support more than 48kHz.
    PS: The instruction I posted above, are based on an Audigy 2 ZS setup, so the naming of the settings and access programs could be different on the SE, but nevertheless present.

  • Problem with solver DLL load and Excel 2010

    Since upgrading from Office 2007 to Office 2010 we've started to experience a problem with the solver addin when our own analytics addins is also loaded. I have found a solution, but I think it may highlight a problem with the latest version of the solver
    addin for Excel 2010.
    Firstly, to describe the problem - the solver addin seems to load normally when Excel 2010 starts up, however when a "Solve" is performed we are seeing a "File not found: Solver32.dll" error at the final "Keep Solver Solution" stage. This only happens our
    own analytics addin is loaded. We've been careful to make sure that our own addin does not change the working directory and also that it has been built against the correct Excel 2010 SDK libraries. We do not see this error with any other versions of Excel
    running on the same PC or any other environment.
    After some searching we found other people were having similar problems and after a bit more probing I found a solution that works - but that I'm not very happy with.
    If I copy the Solver32.dll from:
      C:\Program Files (x86)\Microsoft Office\Office14\Library\SOLVER
        (where it was installed)
    into :
      C:\Windows\SysWOW64 
        (where Windows 7 keeps its 32 bit system DLLs)
    then the problem goes away.
    This seems to indicate that somehow Office 2010 has a problem that causes it to search in the wrong folder for the Solver32.dll when another addin is loaded in between the original Solver32.XLAM at start up and the use of the Solver in the sheet (which eventually
    requires this DLL to be loaded). Oddly, this only happens after a solution is found and "Keep Solver Solution" is selected - and I'm not sure why it's not looking for Solver32.dll any earlier.
    This is not a problem with any earlier versions of Excel and I suspect is a bug in the Office14/LIBRARY/SOLVER implementation. Is there any way to get this followed up?
    Thanks,
    Andy

    I'm facing the same issue. With an Excel VSTO add-in we're building. When the add-in is enabled the assembly solver32.dll can't be found. With our add-in disabled the DLL is resolved as (Sysinternals Process Monitor trace):
    EXCEL.EXE CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\system\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Library\SOLVER\SOLVER32.DLL
    and with our add-in enabled the following locations are tried, but solver32.dll won't be found:
    excel.exe CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Solver32.dll
    excel.exe CreateFile
    C:\ArcGIS\______path to our add-in install location_____________\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    excel.exe CreateFile
    C:\Windows\system\Solver32.dll
    excel.exe CreateFile
    C:\Windows\Solver32.dll
    excel.exe CreateFile
    C:\Program Files\Common Files\Microsoft Shared\Windows Live\Solver32.dll
    excel.exe CreateFile
    C:\Program Files (x86)\Common Files\microsoft shared\Windows Live\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    excel.exe CreateFile
    C:\Windows\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\wbem\Solver32.dll
    etc...

  • Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Sorry to say it, but I think you can see from Bob's response that there's no way to solve this rapidly.
    Did you take an image of your Mountain Lion install before upgrading to Yosemite? Roll back to that. If you're not in the habit of taking a snapshot of your system before performing operating system upgrades - get in that habit. If you are dependent on anything at all on hour computer, having a reliable backup method in place is essential. If you don't have a Time Capsule, or some other way to run Time Machine onto a disk that's not in your computer, go set that up yesterday.
    If you can't just remove Yosemite and roll back to Mountain Lion for whatever reason, you can partition your drive so that you can install both Yosemite and Mountain Lion on the same drive, and then boot into Mountain Lion when you need to work in CS5. Or you can take your Mountain Lion disc (I assume you have one, no?) and then use it to create a virtual machine in something like VirtualBox to run Mountain Lion from inside Yosemite.

  • TS3276 I cannot send mail. I have logged into my SP through the internet and have no problem I have tried to rebuild the inbox and it just flashes very fast - to fast to view the activity. The mail doctor shows all green lights.

    I cannot send mail. I have logged into my SP through the internet and have no problem I have tried to rebuild the inbox and it just flashes very fast - to fast to view the activity. The mail doctor shows all green lights. This started after I disabled ICloud. I had to disable ICloud as I was not receiving all my mail.

    I cannot send mail. I have logged into my SP through the internet and have no problem I have tried to rebuild the inbox and it just flashes very fast - to fast to view the activity. The mail doctor shows all green lights. This started after I disabled ICloud. I had to disable ICloud as I was not receiving all my mail.

  • How to solve illustrator cs6 save as cs5 problem about the stroke(when the stroke with clipping mask and color is gradient, save as cs5 will change to embed ).

    how to solve illustrator cs6 save as cs5 problem about the stroke(when the stroke with clipping mask and color is gradient, save as cs5 will change to embed ).

    Because it was not possible to apply a gradient to a stroke in CS5. When you open the file in CS5, it is reduced to something that can be rendered in CS5.

  • I want a solution to my problem and i hope to see any number to contact you for information i'm from saudi arabia and the problem has not been solved so far and i sent my problem via a Email twice before

    I want a solution to my problem and i hope to see any number to contact you for information i'm from saudi arabia and the problem has not been solved so far and i sent my problem via a Email twice before

    Most of the people on these forums, including myself, are fellow users - you aren't talking to iTunes Support here.
    Have you contacted iTunes Support as was suggested on your duplicate posts :
    https://discussions.apple.com/message/22178793#22178793
    https://discussions.apple.com/message/22178411#22178411

  • When I come from outside and press the home button to turn my iPod on, there is white, light blue and red lines but it is transparent enough that I can see my background, time, etc. It hasn't been water damaged, so that cant be the problem.

    When I come from outside and press the home button to turn my iPod on, there is white, light blue and red lines but it is transparent enough that I can see my background, time, etc. It hasn't been water damaged, so that can't be the problem. I was thinking maybe it is just because of the cold but, I don't like having my iPod doing that whenever I come back from the cold. However, I was in class too and this problem happened but it was inside! So I am very worried, I have dropped my ipod a few times but it hasn't fallen that hard to effect it.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

  • Creative MuVo and Nforce2 USB Problem solved??

    http://www.nforcershq.com/forum/viewtopic.php?t=12499
    Posted: Mon Apr 07, 2003 12:43 pm    Post subject: Creative MuVo and Nforce2 USB Problem solved??  
    Creative released a official firmware for MuVo, and according to them
    Fixes
    Improved USB file transfers for computers with NVIDIA® nForceTM1 or 2 motherboards.
    Better playback performance when more than 128 music tracks are in the player.
    Uninterrupted playback for high bitrate (192 Kbps) WMA files.
    Smooth playback for WMA files even at low battery levels.
    Improved Previous/Next Track function.
    Player may be turned on even when its memory is full
    http://www.nomadworld.com/downloads/drivers/welcome.asp?region=2&LangID=1033&OS=10&prod=437&Select=Get+Files&x=47&y=11

    Quote
    Originally posted by axeluktoo
    Hi,
    Good explanation of FSB Spread Spectrum here:
    http://www.pimprig.com/forums/archive/topic/7581.html
    From what I can make out, it\'s basic function is to help prevent your machine from interfering with other electronic devices (such as TVs, Radios etc.)
    Hope this helps!
    Axel  :D
    Thanks for the link.
    It does say in there that it does tend to mess up the clock. Also why doesn't the VIA boards have this option?
    BioHaz

  • Remote and Motorola DVR Problems

    I was connected to fios internet and tv on March 5, I have called tech support at least 8 times about the remote not working . I have had 3 boxes and 2 remotes sent to me and I still have the problem . I have a Sony Bravia LCD 40" TV
    The first box was a Motorola QIP 72161 that came with the installation (remote worked intermittent)
    I was sent a new remote same results
    Sent a new box the old style 64xxxx remote worked but the hard drive was bad
    New box Motorola QIP 72161 same problem
    Tech support advised me I did not set up the remote codes properly (had same results it would work for a while then stop)
    Tech support hung up on me
    Tech support had me lower the picture settings advised me the picture was too bright and it interfered with the remote. She was very polite and helpful saying that this is a known issue and the problem is in the new Motorola boxes Sony, Samsung Sharp all are having this problem  (worked all day but not at night)
    Tech support told me I had to move the box from out from under the TV still did not work and that was all the solutions they had. By the way the remote works with the TV off. Played around with the settings on the TV ended up increasing the setting to vivid and the remote worked the rest of the night. So much for the brightness theory. But alas it did not  work again this morning. Again the remote works with the TV off. Played around some more and you know when you first turn on the power to the TV you have a blank screen well the remote won't work then either. Although when I turn off and on lights I get a response one way Or another.
    The attitude from the last techie is this is the way it is. I seems unfathomable that this is the response change your entertainment center watch a reduced quality picture or too bad.

    You are welcome funkyybuda. This seems to be a "hit or miss" problem, some people say turning off the light sensor helps, some say turning off the "vivid" mode on the TV works, some say neither helps, etc. But apparently for some people, changing a setting on the TV really does help, I guess it just depends on your TV brand and model, or perhaps the specific STB you have. Strange.....but glad it worked for you  
    As to why it works, the Verizon STBs use infrared (IR) for the remote to control the STB. Apparently some TVs generate their own IR signal for certain settings, like vivid or the light sensor, and the Verizon STB sees these signals and this prevents their reacting to the IR signal from the remote. So doing whatever you can to remove the IR from the TV, or reduce it, seems to solve the problem. I wonder why all STBs that use IR, from all manufacturers and used in all systems, don't experience this problem with TVs that generate their own IR. Just one of life's mysteries I guess.... 
    Justin
    Verizon FiOS TV, Internet, and phone
    IMG 1.6.0, Build 06.89
    Keller, TX 76248

  • Macbook Pro and Thunderbolt USB problem

    I have read a few threads regarding problems with the Thunderbolt displays and Macbook Airs. None of the suggestions in there work for me including doing an SMC Reset.
    Here is my problem. I have a brand new Macbook Pro 17", 2.5Ghz Core i7,  8gb ram, 750Gb HD etc., new Thunderbolt display. Running OS X Lion 10.7.3.
    In the back of my display I have plugged in a USB mouse from Logitech, an Apple full size keyboard and my wired ethernet connection. The monitor and peripherals stay at work and I take the Macbook Pro home every night. If I do not follow a certain sequence every morning, my computer freezes. I put the power connector in first, open the lid, wait for the screen on the laptop to show the login prompt, login and then and only then can I plug in my Thunderbolt connector. Once I do this, my second screen lights up and my mouse, keyboard and ethernet connection works. But if I plug in the Thunderbolt first before power up or if I plug it in before logging in, then I have a high probabilty that the USB hub on the back of the monitor will stop working altogether. Then I have to move my mouse and keyboard over to the laptop and everything works great (my ethernet keeps working fine though). My mouse scroll for whatever reason goes into high gear and starts scrolling much faster and I have to slow it down.
    Now, this works 90% of the time. But there are days, like today, where this process does not work. And when it doesn't, either I have to move the USB devices over or like today, the machine freezes and no longer responds to any input. It appears to still be working as the screen updates but I can never regain control of it via any keyboard or mouse.
    My co-worker has the exact same setup and exact same problem. We also have 10 Thunderbolt displays here (all new) and same problem with ANY I choose. So this is not a hardware issue. Something is wrong with the driver code for some device. And my co-worker has an Apple mouse so that's not the issue either. If this can help Apple with debugging, here is another interesting tid bit. 3 weeks ago, I had a non Thunderbolt display. And for 6 months with an older laptop, I had issues with it's USB hub. Same kind of problem. Some days, the USB hub in the monitor would work and others it would go dead until a reboot was performed.
    I think a driver needs some fixing somewhere.
    Thanks,
    EJK

    For the past 3 days I have had no issues after trying something different. After reading btully's post, what I decided to do is power off the Thunderbolt display every morning before I plug my laptop in and so far this seems to work. 3 days is not a data point but perhaps if others try too for a bit, we can see if this solves the issue for some of us. I will keep you all posted and see if this continues to work.
    One thing to note as well, is that if I power off the Thunderbolt display while logged in and do not retract the plug first, the system hangs often. I am not sure if I am imagining this as I think once you power off the display it must be just like pulling the cable out no??
    Anyways, one thing is clear, there is a problem somewhere with either Thunderbolt display firmware or Mac OS X drivers.

  • Read integer values from spreadsheet and display the values in a table

    Hi all,
    I have integer values to read from a spreadsheet and display them in a table. I am using 'Read from spreadsheet file' in 'integer' mode. I would like to display these values in a table. The problem is that the table takes only 2d-array of string as input but not integer.  
    It works fine if I change the mode of 'Read from spreadsheet file' from 'integer' to 'string' but I want to read integers and have to use the integer values for further calculations. Please give any suggestions on displaying integers to a table.
    Thank you. 
    Solved!
    Go to Solution.

    No don't take element by element just convert as a whole. See the attached example
    Good luck
    The best solution is the one you find it by yourself

Maybe you are looking for