Displaying 20 results from an estimated 10000 matches similar to: "REGPARM_OPT"
2004 Feb 21
1
sighandler_t signal(int signum, sighandler_t handler);
sighandler_t signal(int signum, sighandler_t handler);
it's in the headers ok but the function seems to be missing. I seem to recall
this working in older versions.
linking...
/home/mesa/boot/v86bios/main.c:411: undefined reference to `signal'
main.o(.text+0x613): /home/mesa/boot/v86bios/main.c:412: undefined reference to
`signal'
=====
Jon Smirl
jonsmirl@yahoo.com
2004 Oct 16
1
0.184 -- gcc: warning: `-x c' after last input file has no effect
What do I need to do to fix this?
[jonsmirl@smirl klibc-0.184]$ make
make[1]: Entering directory `/home/dri/klibc-0.184/klibc'
gcc -Wp,-MT,syscalls.nrs,-MD,./.syscalls.nrs.d -mregparm=3 -DREGPARM=3
-march=i386 -Os -g -falign-functions=0 -falign-jumps=0 -falign-loops=0
-nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32
-I../include/arch/i386 -I../include/bits32 -I../include
2004 Oct 16
1
181 and current Linus
klibc appears to build ok, some of the apps fail
gcc -Wp,-MD,.fstype.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-W -Wall -c -o fstype.o fstype.c
fstype.c: In function `romfs_image':
2004 Feb 07
1
double define of __BIT_TYPES_DEFINED__
/klibc/klibc/include/bits32/bitsize/stdint.h:8: error: redefinition of `int8_t'
/klibc/linux/include/linux/types.h:109: error: `int8_t' previously declared here
The copy in stdint.h is not protected by:
#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__
#endif /* !(__BIT_TYPES_DEFINED__) */
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
2004 Jan 24
2
mmap and getpagesize
The man page for mmap() says the size needs to be a multiple of getpagesize().
So in my code I call getpagesize() and adjust my lengths accordingly. klibc
doesn't have getpagesize() implemented. Is it safe to call mmap() with arbritary
lengths and assume the mmap will round up for you? Does this work on glibc too?
If so, I can just eliminate my getpagesize() code.
It turns out for VM86
2006 Jan 31
2
New free IBM DB2 with few restrictions
This will give you something to run on when Oracle refuses to renew
the MySQL InnoDB license next year.....
Linux and Windows versions
You can run DB2 Express-C on up to 2 dual-core CPU servers, with up to
4 GB of memory, any storage system setup and with no restrictions on
database size or any other artificial restrictions.
Business partners may choose to register for free redistribution of
2006 Jan 17
2
file_column plugin and instance variables
To make file_column work I have to copy my local variable back to an
instance variables like this:
<% for product in @products
@product = product %>
<div class="catalogentry">
<%= image_tag url_for_file_column(''product'', ''image_url'') %></p>
This is needed because file_column specifically looks for the instance
2006 Jan 12
2
ActionController#send_file
Looking at the code for ActionController#send_file I see that it is
using ruby to send the file contents. Linux supports a sendfile() OS
call. The implementation of Linux sendfile() is extremely fast and
very CPU efficient, far faster than what can be done in user space.
Does Windows support a sendfile() equivalent call? I haven''t been
working with ruby long enough to know how it handles
2004 Oct 19
1
times.h and building ash
I get this with current linus bk now and klibc 187
[jonsmirl@smirl ash]$ make
sh mknodes.sh nodetypes nodes.c.pat .
gcc -Wp,-MD,.cd.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-I../linux/include
2004 Jan 26
1
README paths to ftp and CVS
ftp should be:
ftp://ftp.zytor.com/pub/linux/klibc/
instead of:
ftp://ftp.zytor.com/pub/linux/libs/klibc/
CVS says:
http://www.zytor.com/cvsweb.cgi/klibc/
but that's broken.
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
2004 Jan 26
1
need a few additions
I have my VBIOS reset program working on klibc now. I think I have tracked down
and fixed all of the problems I was having. So to make this official I need a
few minor klibc additions:
1) fix inb/w/l to return the right variable.
2) implement getpagesize()
3) add support for vm86 - one function and one header file.
Later, if you're interested, we could modify the vm86 function to call the
2004 Feb 15
1
Macros for wait() status
Can I get the macros for interpreting wait() exit status?
wait(&status);
if (__WIFEXITED(status) && (__WEXITSTATUS(status) == 0)) { //need klibc fix
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
2004 Apr 12
1
libsysfs and klibc
libsysfs is using a few things not in klibc. udev is getting around this by
having a private copy of libsysfs with a few modifications to make it work on
klibc. What's the easiest path for getting the master libsysfs copy working on
klibc?
libsysfs needs two calls:
setmntent, getmntent
These are used to locate the mount point of /sys
It also uses errno so I get link errors for
2004 Sep 14
1
v173 and current 2.6 Linus BK on x86
v173 doesn't build on current 2.6 Linus BK on x86
Complaints about undeclared __le64, __le32, __be64, __be32, __be16
What am I doing wrong?
In file included from ../linux/include/asm/byteorder.h:57,
from ../klibc/include/endian.h:9,
from ../klibc/include/netinet/in.h:13,
from ../klibc/include/arpa/inet.h:11,
from
2004 Jan 24
1
get rid of various warnings, errors in io.h
In 0.97 io.h is wrong in several places.
it should be returning __v, not v.
static __inline__ unsigned char
inb(unsigned short __p)
{
unsigned char __v;
asm volatile("inb %1,%0" : "=a" (__v) : "dN" (__p));
return v;
}
How do I get rid of these warnings?
/home/mesa/boot/klibc/klibc/include/stdlib.h:21: warning: shadowing built-in
function `abs'
2004 Jan 24
1
iopl()
It doesn't look like iopl() is working. I'm taking an exception on every IO
instruction.
inl(0xde04) = 00000100
eip:765e eax:0100 ebx:0000 ecx:0320 edx:de04 esi:03f5 edi:0087 ebp:0000
esp:6b62 cs:c000 ss:c000 es:0000 ds:c000 fs:0000 gs:0000 eflags:00000246
exception:
code at 0x000c7661: 66 ef 5a 59 66 58 9d c3 53 bb 02 00 e8 5e ff 5b
c3 53 bb 05 00 e8 55 ff 5b c3 53
2004 Jan 24
1
Supporting multiple video cards under Linux
Supporting multiple video cards under Linux
When there are multiple video cards in a machine the system BIOS only
initializes one of them. So I'm working on a version of the DRI drivers that
will initialize these non-primary video cards. The new DRI driver achieves this
via generating a hotplug event that runs a user space program when the driver is
first loaded.
This user space program
2004 Feb 10
1
syntax problem with 2.6.3-rc3
The inet stuff is including, asm/byteorder.h
It has some inlines like this:
static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 val)
I think I'm choking on the __attribue_const__
Do we need an include of linux/compiler.h somewhere?
../linux/include/asm/byteorder.h:28: error: syntax error before "__u64"compiling
inet_ntoa.c (gcc)../linux/include/asm/byteorder.h:14:
2005 Mar 11
1
emu86 in klibc
Posting video cards usually require running x86 ROMs. This doesn't
work to well when people plug x86 video cards into ia64 and ppc
machines. People do this because the x86 versions are half the price
of the OpenFirmware ones. Even x86 machines need to run the ROMs for
secondary cards. I'm in the process of modifying fbdev to use hotplug
events to run these ROMs.
What about including emu86
2006 Jan 14
4
Rails URLs always try to open non-existent files
The lighttpd config file is set up like this...
Rails url: //host/controller/method/id
Lighttpd tries to open the file ''controller/method/id'' from the document root.
Of course this doesn''t work and generates an error 404
This gets caught with: server.error-handler-404 = "/dispatch.fcgi"
Which turns the request into "/dispatch.fcgi"
That gets caught