bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

glibc-2.2.2


From: m . brulisauer
Subject: glibc-2.2.2
Date: Wed, 7 Mar 2001 16:09:49 +0100

Hi,
I'm compiling glibc-2.2.2 on Linux/Alpha 2.4.2.

The file ./sysdeps/unix/sysv/linux/alpha/ftruncate64.c
contains only one line:
        /* ftruncate64 is the same as ftruncate  */
I suggest to write it like:

  int
  __ftruncate64 (fd, length)
       int fd;
       off_t length;
  {
    return __ftruncate (fd, length);
  }
  
  weak_alias (__ftruncate64, ftruncate64)
  
  stub_warning (ftruncate64)
  #include <stub-tag.h>

If we have only the remark, the make will fail
with:

  ../libc.so.6.1: undefined reference to `__ftruncate64'
  collect2: ld returned 1 exit status

Best Regards, 
              \\\ /// 
              ( @ @ ) 
----------oOOO--(_)--OOOo----------
Martin Brülisauer
Engineering & Support 
Systime Informatik AG
Bruggacherstrasse 26
8117 Fällanden
SWITZERLAND
Tel: +(411) - 806 - 8650 
Fax: +(411) - 806 - 8622 
Email: address@hidden 
Web: www.systime.ch 
-----------------------------------
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]