Ticket #23 (closed defect: fixed)
Compilation errors with command 'make'
| Reported by: | simonjpaulger@… | Owned by: | peter@… |
|---|---|---|---|
| Priority: | P2 | Milestone: | 0.4.0 |
| Component: | Build Tools / Libraries | Version: | 0.3.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Upon running make, i get the following error message: /usr/bin/perl ./modules/preprocs/nasm/macros.pl ./modules/preprocs/nasm/standard.mac ./modules/preprocs/nasm/standard.mac:6: error unterminated quote at ./modules/preprocs/nasm/macros.pl line 40, <INPUT> line 6. make: *** [nasm-macros.c] Error 255 Running make again, i get a different error: gcc -DHAVE_CONFIG_H -I. -I. -I. -DYASM_MODULEDIR=\"/usr/local/lib/yasm\" -I./check -I./libltdl -ansi -pedantic -Wall -g -O2 -c modules/preprocs/nasm/nasm-pp.c -MT nasm-pp.lo -MD -MP -MF .deps/nasm-pp.TPlo -fPIC -DPIC -o .libs/nasm-pp.o modules/preprocs/nasm/nasm-pp.c:399: parse error before "static" modules/preprocs/nasm/nasm-pp.c:418: variable `blocks' has initializer but incomplete type modules/preprocs/nasm/nasm-pp.c:418: warning: excess elements in struct initializer modules/preprocs/nasm/nasm-pp.c:418: warning: (near initialization for `blocks') modules/preprocs/nasm/nasm-pp.c:418: warning: excess elements in struct initializer modules/preprocs/nasm/nasm-pp.c:418: warning: (near initialization for `blocks') modules/preprocs/nasm/nasm-pp.c: In function `read_line': modules/preprocs/nasm/nasm-pp.c:649: `stdmacpos' undeclared (first use in this function) modules/preprocs/nasm/nasm-pp.c:649: (Each undeclared identifier is reported only once modules/preprocs/nasm/nasm-pp.c:649: for each function it appears in.) modules/preprocs/nasm/nasm-pp.c:654: `any_extrastdmac' undeclared (first use in this function) modules/preprocs/nasm/nasm-pp.c:656: `extrastdmac' undeclared (first use in this function) modules/preprocs/nasm/nasm-pp.c: In function `new_Block': modules/preprocs/nasm/nasm-pp.c:927: dereferencing pointer to incomplete type modules/preprocs/nasm/nasm-pp.c:928: dereferencing pointer to incomplete type modules/preprocs/nasm/nasm-pp.c:930: dereferencing pointer to incomplete type modules/preprocs/nasm/nasm-pp.c:933: dereferencing pointer to incomplete type modules/preprocs/nasm/nasm-pp.c:933: sizeof applied to an incomplete type modules/preprocs/nasm/nasm-pp.c:935: dereferencing pointer to incomplete type modules/preprocs/nasm/nasm-pp.c:936: dereferencing pointer to incomplete type modules/preprocs/nasm/nasm-pp.c:937: dereferencing pointer to incomplete type modules/preprocs/nasm/nasm-pp.c: In function `delete_Blocks': modules/preprocs/nasm/nasm-pp.c:955: dereferencing pointer to incomplete type modules/preprocs/nasm/nasm-pp.c:956: dereferencing pointer to incomplete type modules/preprocs/nasm/nasm-pp.c:958: dereferencing pointer to incomplete type modules/preprocs/nasm/nasm-pp.c: In function `new_Token': modules/preprocs/nasm/nasm-pp.c:975: `freeTokens' undeclared (first use in this function) modules/preprocs/nasm/nasm-pp.c: In function `delete_Token': modules/preprocs/nasm/nasm-pp.c:1007: `freeTokens' undeclared (first use in this function) modules/preprocs/nasm/nasm-pp.c: In function `pp_reset': modules/preprocs/nasm/nasm-pp.c:4090: `stdmacpos' undeclared (first use in this function) modules/preprocs/nasm/nasm-pp.c:4092: `TASM_MACRO_COUNT' undeclared (first use in this function) modules/preprocs/nasm/nasm-pp.c:4094: `any_extrastdmac' undeclared (first use in this function) modules/preprocs/nasm/nasm-pp.c:4094: `extrastdmac' undeclared (first use in this function) modules/preprocs/nasm/nasm-pp.c: In function `pp_extra_stdmac': modules/preprocs/nasm/nasm-pp.c:4447: `extrastdmac' undeclared (first use in this function) /usr/include/ctype.h: At top level: modules/preprocs/nasm/nasm-pp.c:418: storage size of `blocks' isn't known make[2]: *** [nasm-pp.lo] Error 1 make[2]: Leaving directory `/home/spaulger/yasm-0.3.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/spaulger/yasm-0.3.0' make: *** [all] Error 2 Sorry to submit a bug report if its my fault. I have no idea what all the above means but it looks important enough to report. If you'd like more info do not hesitate to contact me. I currently use NASM and want the AMD64 support. Yasm sounds very promising, nice one! Dangamoose
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
