Re: cannot build ebtables-v2.0.8-rc3 on 64bit architecture

Bart De Schuymer <[email protected]> Wed, 30 May 2007 19:18:20 +0200
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <[email protected]>
Op wo, 30-05-2007 te 16:24 +0000, schreef lwang:
> Hi, 
> I build ebtables-v2.0.8-rc3 on AMD 3500+ 64bit processor, 
> OS is suse 10. 

Hi,

Please apply the attached patch by going to the source directory and
doing 'patch -p1 < patch_x64.diff'.
Somehow I ended up reverting this fix.
The same problem exists for ebtables-v2.0.8-1 ...

Cheers,
Bart

PS: the among match reportedly is broken on x64. If you could verify
this and be prepared to give feedback and test patches, that would be
great.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Ebtables-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebtables-user
patch_x64.diff (text/x-patch, 580 B)
--- ebtables-v2.0.8-rc3/Makefile.old	2007-05-30 19:13:05.000000000 +0200
+++ ebtables-v2.0.8-rc3/Makefile	2007-05-30 19:13:43.000000000 +0200
@@ -101,7 +101,7 @@ libebtc: $(OBJECTS2)
 	$(LD) -shared -soname libebtc.so -o libebtc.so -lc $(OBJECTS2)
 
 ebtables: $(OBJECTS) ebtables-standalone.o libebtc
-	$(CC) $(CFLAGS) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \
+	$(CC) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \
 	-Wl,-rpath,$(LIBDIR)
 
 ebtablesu: ebtablesu.c