Build failed due to linking error.

new topic     » topic index » view thread      » older message » newer message

Hello,

I attempted to download and build Euphoria. So I installed hg and downloaded the latest from the repo. The build seemed to go ok until linking. The following is my output of just the errors and warnings. As you can see, there are several warnings but no errors. Then a failure to link.

Thanks for your help.

  
[ronald@localhost source]$ make  > make.out 
/home/ronald/dev/open_euphoria/euphoria/source/be_callc.c: In function ‘call_c’: 
/home/ronald/dev/open_euphoria/euphoria/source/be_callc.c:1269:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘intptr_t {aka long int}’ [-Wformat=] 
   snprintf(TempBuff, TEMP_SIZE, "C routine %s() needs %d argument%s, not %d", 
                                 ^ 
/home/ronald/dev/open_euphoria/euphoria/source/be_callc.c:1269:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘intptr_t {aka long int}’ [-Wformat=] 
/home/ronald/dev/open_euphoria/euphoria/source/be_callc.c:1269:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘intptr_t {aka long int}’ [-Wformat=] 
/home/ronald/dev/open_euphoria/euphoria/source/be_callc.c:1269:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘intptr_t {aka long int}’ [-Wformat=] 
/home/ronald/dev/open_euphoria/euphoria/source/be_callc.c:1161:15: warning: variable ‘argsize’ set but not used [-Wunused-but-set-variable] 
  volatile int argsize;   // !!!! number of bytes to pop 
               ^ 
/home/ronald/dev/open_euphoria/euphoria/source/be_rterror.c: In function ‘LookBackForSubscriptSymbol’: 
/home/ronald/dev/open_euphoria/euphoria/source/be_rterror.c:1275:27: warning: initialization makes pointer from integer without a cast [-Wint-conversion] 
    symtab_ptr assign_to = *(pc+3); 
                           ^ 
/usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../../lib64/crt1.o: In function `_start': 
(.text+0x20): undefined reference to `main' 
/home/ronald/dev/open_euphoria/euphoria/source/build/intobj/back/be_task.o: In function `ctask_create': 
be_task.c:(.text+0xa74): undefined reference to `_00' 
/home/ronald/dev/open_euphoria/euphoria/source/build/intobj/back/be_task.o: In function `start_task': 
be_task.c:(.text+0x1086): undefined reference to `_00' 
/home/ronald/dev/open_euphoria/euphoria/source/build/intobj/back/be_runtime.o: In function `ctrace': 
be_runtime.c:(.text+0x3130): undefined reference to `Argc' 
/home/ronald/dev/open_euphoria/euphoria/source/build/intobj/back/be_runtime.o: In function `eu_startup': 
be_runtime.c:(.text+0x328d): undefined reference to `Argc' 
/home/ronald/dev/open_euphoria/euphoria/source/build/intobj/back/be_runtime.o: In function `shift_args': 
be_runtime.c:(.text+0x3dd6): undefined reference to `Argc' 
be_runtime.c:(.text+0x3de9): undefined reference to `Argv' 
be_runtime.c:(.text+0x3df9): undefined reference to `Argv' 
be_runtime.c:(.text+0x3e17): undefined reference to `Argv' 
/home/ronald/dev/open_euphoria/euphoria/source/build/intobj/back/be_runtime.o: In function `Command_Line': 
be_runtime.c:(.text+0x3e50): undefined reference to `Argc' 
be_runtime.c:(.text+0x3e57): undefined reference to `Argv' 
be_runtime.c:(.text+0x3e68): undefined reference to `Argc' 
collect2: error: ld returned 1 exit status 
make[3]: *** [/home/ronald/dev/open_euphoria/euphoria/source/build/eui] Error 1 
make[2]: *** [interpreter] Error 2 
make[1]: *** [interpreter] Error 2 
make: *** [all] Error 2 

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu