On Mon, May 31, 2004 at 09:51:17PM -0400, Stephen Grandinetti wrote:
> I'm trying to build the systemimager RPMs on ia32 RH EL3.0 via .spec 
> file and 3.2.2 sources.  When the build gets to the dosfstools make, the 
> following happens
> 
> make -C dosfsck all
> 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.....
> 
> Note that I've entered bug 963945 for this problem.  Any help appreciated.

Try this:
--- systemimager/make.d/dosfstools.rul  2003-09-16 00:23:07.000000000 -0600
+++ systemimager-3.2.x/make.d/dosfstools.rul    2004-05-23 00:13:30.000000000 -0600
@@ -17,7 +17,7 @@
                && (cd $(DOSFSTOOLS_DIR) && (cat $(DOSFSTOOLS_PATCHES) < /dev/null | 
patch -p0)) )
        ## these CFLAGS stolen from the src rpm in redhat 9, and go along
        ## with dosfstools.10llseek.patch
-       $(MAKE) -C $(SRC_DIR)/$(DOSFSTOOLS_DIR) \
+       $(MAKE) -C $(SRC_DIR)/$(DOSFSTOOLS_DIR)/mkdosfs \
          'CFLAGS=-O2 -Dllseek=lseek64 -D_LARGEFILE64_SOURCE'
 
 # download the dosfstools tarball


-------------------------------------------------------
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-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to