Bugs item #963945, was opened at 2004-05-31 18:43 Message generated for change (Tracker Item Submitted) made by Item Submitter 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. ---------------------------------------------------------------------- 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: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Sisuite-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-devel