This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems building for ARM


>I checked out a tree from CVS yesterday, did a configure for ARM, and a build. 
>When building the db2 others target, the link for one of the programs fails
>with an undefined reference to __syscall__sysctl.
>
>I believe this function should be automatically generated by the make using 
>the sysd-syscalls target and the PSEUDO macros, as long as an __NR_sysctl
>exists in unistd.h

If you copied everything accurately, that means your unistd.h is missing an 
underscore.  Try changing it to __NR__sysctl and see if that helps.

p.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]