this adds lseek64 to klibc
+#define lseek64 llseek
klibc/klibc/include/unistd.h +1 -0
@@ -83,6 +83,7 @@ __extern int close(int); __extern off_t lseek(int, off_t, int); __extern loff_t llseek(int, loff_t, int); +#define lseek64 llseek __extern int dup(int); __extern int dup2(int, int); __extern int fcntl(int, int, long);
Quoted 10 lines · Harald Hoyer
+#define lseek64 llseek
------------------------------------------------------------------------
diff -ur
udev-029/klibc/klibc/include/unistd.hudev-029.new/klibc/klibc/include/unistd.h
klibc/klibc/include/unistd.h line 89
Quoted 7 lines
klibc/klibc/include/unistd.h +1
-0@@ -83,6 +83,7 @@ __extern int close(int); __extern off_t lseek(int, off_t, int); __extern loff_t llseek(int, loff_t, int); +#define lseek64 llseek __extern int dup(int); __extern int dup2(int, int); __extern int fcntl(int, int, long);
What is this for? I'm not supporting the rest of the *64() functions, or rather, they're implicit as if you compiled with -D_FILE_OFFSET_BITSd on glibc; adding just one (and as a define, too!) is ugly.
-hpa
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 11 lines · H. Peter Anvin
Quoted 1 line · Harald Hoyer
+#define lseek64 llseek
What is this for? I'm not supporting the rest of the *64() functions, or rather, they're implicit as if you compiled with -D_FILE_OFFSET_BITSd on glibc; adding just one (and as a define, too!) is ugly.
-hpa
Sorry, this was just a quickfix to compile one of the udev "extras" utilities... a grep will show which one and maybe the app should be fixed...
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 10 lines · Harald Hoyer
Quoted 9 lines · H. Peter Anvin
Quoted 1 line · Harald Hoyer
+#define lseek64 llseek
What is this for? I'm not supporting the rest of the *64() functions, or rather, they're implicit as if you compiled with -D_FILE_OFFSET_BITSd on glibc; adding just one (and as a define, too!) is ugly.
Quoted 6 lines
Quoted 2 lines
-hpa
Sorry, this was just a quickfix to compile one of the udev "extras" utilities... a grep will show which one and maybe the app should be fixed...
Probably; after all you presumably are compiling with -D_FILE_OFFSET_BITSd anyway, right?
-hpa
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel