Summary: | ASTERISK-07799: asterisk 1.4b2 not compiling (using make < 3.81 and configure script not catching it) | ||
Reporter: | Holger Hornung (netview) | Labels: | |
Date Opened: | 2006-09-22 06:27:50 | Date Closed: | 2006-09-23 22:47:45 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) configure.txt | |
Description: | I receive the follwoing compiler-error: overlinux-2-xxl:/home/share/asterisk-1.4.0 # make menuselect/menuselect --check-deps menuselect.makeopts ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c *.cc 2> /dev/null` ../build_tools/mkdep -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 `ls *.c *.cc 2> /dev/null` Generating embedded module rules ... gcc -I../include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 -c -o smsq.o smsq.c make[1]: *** No rule to make target `strcompat.o', needed by `smsq'. Stop. make: *** [utils] Error 2 ****** ADDITIONAL INFORMATION ****** The system is a i686-linux (Pentium III) | ||
Comments: | By: Russell Bryant (russell) 2006-09-22 10:39:51 What version of make are you using? "make --version" Also, for this kind of weird issue, it may be easiest to debug if you hop into #asterisk-dev on IRC and let someone log in and figure it out. By: Holger Hornung (netview) 2006-09-22 10:48:07 Hello russel! It's an older version: linux:/home/share/asterisk-1.4.0 # make --version GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i686-pc-linux-gnu Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to <bug-make@gnu.org>. By: Russell Bryant (russell) 2006-09-22 10:51:00 Please update to version 3.81 and try again. The configure script should have told you that your version of make would likely not work correctly. Did it not? By: Holger Hornung (netview) 2006-09-22 11:03:42 I saw no error-message during configuration (please take a look at configure.txt) By: Holger Hornung (netview) 2006-09-22 12:32:14 Hello serge-v! Now I have installed make-3.81 but there is the next problem: overlinux-2-xxl:/home/share/asterisk-1.4.0 # make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i686-pc-linux-gnu overlinux-2-xxl:/home/share/asterisk-1.4.0 # make menuselect/menuselect --check-deps menuselect.makeopts make[1]: Nothing to be done for `depend'. make[1]: Nothing to be done for `depend'. make[1]: Nothing to be done for `depend'. make[1]: Nothing to be done for `depend'. make[1]: Nothing to be done for `depend'. make[1]: Nothing to be done for `depend'. make[1]: Nothing to be done for `depend'. make[1]: Nothing to be done for `depend'. make[1]: Nothing to be done for `depend'. make[1]: Nothing to be done for `depend'. make[1]: Nothing to be done for `depend'. [LD] smsq.o strcompat.o -> smsq /usr/i486-suse-linux/bin/ld: cannot open crtbegin.o: No such file or directory make[1]: *** [smsq] Error 1 make: *** [utils] Error 2 Can you please tell me something about the module crtbegin.o? By: Holger Hornung (netview) 2006-09-22 13:33:23 okay - I found the module: crtbegin.o is a part of the gcc-lib! But how can I modify the Makefile so that the modul is found? All my problems are solved now! By: Clod Patry (junky) 2006-09-23 21:19:48 since reporter has solve his issue. |