jmacd / xdelta

open-source binary diff, delta/differential compression tools, VCDIFF/RFC 3284 delta compression
http://xdelta.org
1.11k stars 184 forks source link

Xdelta 3.0.2: undefined reference to `main' #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download xdelta3-3.0.2.tar.gz 
2. Extract it and navigate there
3. Issue: "make xdelta3"

What is the expected output? What do you see instead?

cc     xdelta3.c   -o xdelta3
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64/crt1.o: In function 
`_start':
/home/abuild/rpmbuild/BUILD/glibc-2.14.1/csu/../sysdeps/x86_64/elf/start.S:109: 
undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [xdelta3] Error 1

What version of the product are you using? On what operating system?
openSUSE 12.1, GCC 4.6, x64

Original issue reported on code.google.com by szots...@gmail.com on 3 Jul 2012 at 2:25

GoogleCodeExporter commented 9 years ago
The CFLAGS are not correct.  Did you run "configure" to generate the Makefile?  

Original comment by josh.mac...@gmail.com on 7 Jul 2012 at 11:23

GoogleCodeExporter commented 9 years ago

Original comment by josh.mac...@gmail.com on 15 Jul 2012 at 10:32

GoogleCodeExporter commented 9 years ago
Sorry for the late answer.

Yes, the ./configure was the problem and excuse me for the false alarm :).

Original comment by szots...@gmail.com on 16 Aug 2012 at 5:56