Opened 19 years ago
Closed 19 years ago
#166 closed Bugs (Fixed)
Cannot build jam using MINGW
Reported by: | ysv_ | Owned by: | René Rivera |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
When I'm triing to build jam I'v got error messages: ====================================== .cc bin.mingwx86\jam C:\DOCUME~1\SERGIY~1\LOCALS~1\Temp/ccCqjaaa.o (.text+0x12f):timestamp.c: undefine d reference to `file_time' C:\DOCUME~1\SERGIY~1\LOCALS~1\Temp/ccCqjaaa.o (.text+0x2cd):timestamp.c: undefine d reference to `file_archscan' C:\DOCUME~1\SERGIY~1\LOCALS~1\Temp/ccCqjaaa.o (.text+0x315):timestamp.c: undefine d reference to `file_dirscan' C:\DOCUME~1\SERGIY~1\LOCALS~1\Temp/ccimlaaa.o (.text+0x131c):builtins.c: undefine d reference to `file_dirscan' gcc -o bin.mingwx86\jam -DNDEBUG - DOPT_HEADER_CACHE_EXT -DOPT_GRAPH_DEBU G_EXT -DOPT_SEMAPHORE - DOPT_FIX_TARGET_VARIABLES_EXT - DOPT_IMPROVED_PATIENCE_EXT -DYYSTACKSIZE=5000 -s -O3 -finline-functions - DMINGW command.c compile.c exp and.c glob.c hash.c hcache.c headers.c hdrmacro.c jam.c jambase.c jamgram.c list s.c make.c make1.c newstr.c option.c parse.c regexp.c rules.c scan.c search.c su bst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c exec unix.c fileunix.c pathunix.c ...failed .cc bin.mingwx86\jam... ...failed updating 1 target... ========================================= When I look into build.sh and jam.h I've understood the problem is in definition of MINGW in jam.h # define OSMAJOR "MINGW=true" # define OSMINOR "OS=MINGW" # define OS_NT In build.jam some files are not included because MINGW is not NT and because MINGW is not UNIX. Now I decide this by inserting everything where I found $(NT) check additional check for MINGW. But I think it should be better decision.
Change History (3)
comment:2 by , 19 years ago
Logged In: YES user_id=779069 I use .\build.bat mingw to build jam version 3.1.4 from boost 1.30.0.
comment:3 by , 19 years ago
Status: | assigned → closed |
---|
Logged In: YES user_id=33595 OK thanks. This is already fixed. The fix is to not consider MINGW as an OS. See: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/boost/boost/tools/build/jam_src/build.bat?rev=1.10&content-type=text/vnd.viewcvs-markup and http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/boost/boost/tools/build/jam_src/build.jam?rev=1.21&content-type=text/vnd.viewcvs-markup
Note:
See TracTickets
for help on using tickets.