Bugs item #963945, was opened at 2004-06-01 01:43 Message generated for change (Comment added) made by jerrygd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100259&aid=963945&group_id=259
Category: packaging Group: v3.2.0 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: dann frazier (dannf) Summary: undefined reference to `__le16_to_cpu' Initial Comment: When attempting to build the systemimager packages (RPMs) via .spec file on RH EL3.0 (ia32), the following error occurs during the dosfstools make: make[3]: Entering directory `/home/spg/xc/build/xc/systemimager/obj/systemimager-3.2.2/src/dosfstools-2.8/dosfsck' gcc -c -O2 -Dllseek=lseek64 -D_LARGEFILE64_SOURCE boot.c gcc -c -O2 -Dllseek=lseek64 -D_LARGEFILE64_SOURCE check.c gcc -c -O2 -Dllseek=lseek64 -D_LARGEFILE64_SOURCE common.c gcc -c -O2 -Dllseek=lseek64 -D_LARGEFILE64_SOURCE dosfsck.c gcc -c -O2 -Dllseek=lseek64 -D_LARGEFILE64_SOURCE fat.c gcc -c -O2 -Dllseek=lseek64 -D_LARGEFILE64_SOURCE file.c gcc -c -O2 -Dllseek=lseek64 -D_LARGEFILE64_SOURCE io.c gcc -c -O2 -Dllseek=lseek64 -D_LARGEFILE64_SOURCE lfn.c gcc -o dosfsck boot.o check.o common.o dosfsck.o fat.o file.o io.o lfn.o boot.o(.text+0x96): In function `dump_boot': : undefined reference to `__le16_to_cpu' boot.o(.text+0xc1): In function `dump_boot': : undefined reference to `__le16_to_cpu' boot.o(.text+0xdd): In function `dump_boot': : undefined reference to `__le16_to_cpu' boot.o(.text+0x1ee): In function `dump_boot': : undefined reference to `__le16_to_cpu' boot.o(.text+0x1fd): In function `dump_boot': and so on..... Suspect there's something going on in the following segment of dosfsck.h which looks like its working on the "endian-ness". /* 2.1 kernels use le16_to_cpu() type functions for CF_LE_W & Co., but don't * export this macros, only __le16_to_cpu(). */ #ifndef le16_to_cpu #define le16_to_cpu __le16_to_cpu #define le32_to_cpu __le32_to_cpu #define cpu_to_le16 __cpu_to_le16 #define cpu_to_le32 __cpu_to_le32 #endif Any help appreciated. Thanks. -Steve. ---------------------------------------------------------------------- >Comment By: Jerry DeLapp (jerrygd) Date: 2004-06-02 04:29 Message: Logged In: YES user_id=512778 Referenced macros are provided by the glibc-kernheaders RPM in rh9. You should check to see that the corresponding ES3 rpm is installed on your system. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100259&aid=963945&group_id=259 ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Sisuite-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-devel