project-navigation
Personal tools

Author Topic: Compilation Error: junk at end of line  (Read 19443 times)

domein

  • Guest
Compilation Error: junk at end of line
« on: July 20, 2009, 10:37:59 pm »
I try to build latest dev version from source under windows, using Code::Blocks an following instructions in wiki. Any project in workspace fails to build with following messages:
Code: [Select]
-------------- Build: windows in game ---------------

Compiling: ..\..\src\game\g_ai.c
C:\Users\domein\AppData\Local\Temp\ccgPBU1o.s: Assembler messages:
C:\Users\domein\AppData\Local\Temp\ccgPBU1o.s:3859: Error: junk at end of line, first unrecognized character is `,'
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings

Code: [Select]
-------------- Build: windows in uforadiant_model ---------------

Compiling: ..\..\src\tools\radiant\plugins\model\model.cpp
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s: Assembler messages:
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:969: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:970: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:971: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:972: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:973: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:974: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:1270: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:2904: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:2905: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:2932: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:2933: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:2934: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:3954: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:3955: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:3956: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:4273: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:5872: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:5873: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:5946: Error: junk at end of line, first unrecognized character is `,'
Process terminated with status 1 (0 minutes, 2 seconds)
19 errors, 0 warnings
Any suggestions how to fix this?

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: Compilation Error: junk at end of line
« Reply #1 on: July 20, 2009, 11:25:45 pm »
The C::B zip is currently being worked on (by Mattn for me).
I get the same error as you.

Be patient for a day or two. I'll post here once the prob is gone.
Feel free to bump this if I do not post within three days (to remind me).

odie

  • Guest
Re: Compilation Error: junk at end of line
« Reply #2 on: July 21, 2009, 05:23:00 am »
The C::B zip is currently being worked on (by Mattn for me).
I get the same error as you.

Be patient for a day or two. I'll post here once the prob is gone.
Feel free to bump this if I do not post within three days (to remind me).


Duke,

I saw a commit today for the CB zip, does that mean that i have to rebuild my CB package??

:D

U can PM me if u wan, or simply post here, i am putting this on notify. :)

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: Compilation Error: junk at end of line
« Reply #3 on: July 21, 2009, 05:33:57 am »
I`ve had the same problem and fix it by taking previous version of cb\minGW\bin.

odie

  • Guest
Re: Compilation Error: junk at end of line
« Reply #4 on: July 21, 2009, 05:42:53 am »
I`ve had the same problem and fix it by taking previous version of cb\minGW\bin.

I am still using a version of MingGW and Cb alright. And its alright for me even now. I built the R25298 w/o unusual errors. Yupz.

I guess waiting for Duke and Mattn. :D

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: Compilation Error: junk at end of line
« Reply #5 on: July 21, 2009, 09:39:52 pm »
Odie,
Mattn tries to make the codeblocks.zip fully work for Windoze users too, adding the libs needed to compile radiant. That's what I want to do, so going back a version is not an option for me.

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: Compilation Error: junk at end of line
« Reply #6 on: July 21, 2009, 10:55:35 pm »
there is a new zip file online - please retry with that one. it's the same gcc but redownloaded everything and repacked it, too.

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: Compilation Error: junk at end of line
« Reply #7 on: July 21, 2009, 11:03:37 pm »
there is a new zip file online - please retry with that one. it's the same gcc but redownloaded everything and repacked it, too.

I'm downloading it now - I've been using Muton's package for a long time and I'm curious to see if this new package works.

I'll report back shortly on how it works - give me ~half an hour or so.

- Destructavator

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: Compilation Error: junk at end of line
« Reply #8 on: July 21, 2009, 11:22:28 pm »
OK, I got errors, even after double-checking all the paths and libraries were set in CB, build log is as follows:

Code: [Select]
-------------- Clean: windows_debug in game ---------------

Cleaned "game - windows_debug"

-------------- Clean: windows_debug in ufo2map ---------------

Cleaned "ufo2map - windows_debug"

-------------- Clean: windows_debug in ufo_ded ---------------

Cleaned "ufo_ded - windows_debug"

-------------- Clean: windows_debug in ufo ---------------

Cleaned "ufo - windows_debug"

-------------- Clean: windows_debug in uforadiant_model ---------------

Cleaned "uforadiant_model - windows_debug"

-------------- Clean: windows_debug in uforadiant_entity ---------------

Cleaned "uforadiant_entity - windows_debug"

-------------- Clean: windows_debug in uforadiant_image ---------------

Cleaned "uforadiant_image - windows_debug"

-------------- Clean: windows_debug in uforadiant_map ---------------

Cleaned "uforadiant_map - windows_debug"

-------------- Clean: windows_debug in uforadiant_shader ---------------

Cleaned "uforadiant_shader - windows_debug"

-------------- Clean: windows_debug in uforadiant_vfspk3 ---------------

Cleaned "uforadiant_vfspk3 - windows_debug"

-------------- Clean: windows_debug in uforadiant_archivezip ---------------

Cleaned "uforadiant_archivezip - windows_debug"

-------------- Clean: windows_debug in uforadiant_ufoai ---------------

Cleaned "uforadiant_ufoai - windows_debug"

-------------- Clean: windows_debug in uforadiant_brushexport ---------------

Cleaned "uforadiant_brushexport - windows_debug"

-------------- Clean: windows_debug in uforadiant ---------------

Cleaned "uforadiant - windows_debug"

-------------- Build: windows_debug in game ---------------

Compiling: ..\..\src\game\g_ai.c
Compiling: ..\..\src\game\g_ai_lua.c
C:\DOCUME~1\Dave\LOCALS~1\Temp\cc6KSk0L.s: Assembler messages:
C:\DOCUME~1\Dave\LOCALS~1\Temp\cc6KSk0L.s:4576: Error: junk at end of line, first unrecognized character is `,'
Process terminated with status 1 (0 minutes, 1 seconds)
1 errors, 0 warnings
 
C:\DOCUME~1\Dave\LOCALS~1\Temp\ccUKSk0L.s: Assembler messages:
C:\DOCUME~1\Dave\LOCALS~1\Temp\ccUKSk0L.s:10: Error: junk at end of line, first unrecognized character is `,'
C:\DOCUME~1\Dave\LOCALS~1\Temp\ccUKSk0L.s:11: Error: junk at end of line, first unrecognized character is `,'
Process terminated with status 1 (0 minutes, 1 seconds)
3 errors, 0 warnings
 

Build messages:

Code: [Select]
||=== game, windows_debug ===|
C:\DOCUME~1\Dave\LOCALS~1\Temp\cc6KSk0L.s|4576|Error: junk at end of line, first unrecognized character is `,'|
||=== Build finished: 1 errors, 0 warnings ===|
C:\DOCUME~1\Dave\LOCALS~1\Temp\ccUKSk0L.s|10|Error: junk at end of line, first unrecognized character is `,'|
C:\DOCUME~1\Dave\LOCALS~1\Temp\ccUKSk0L.s|11|Error: junk at end of line, first unrecognized character is `,'|
||=== Build finished: 3 errors, 0 warnings ===|

Edit: This is with revision 25316.

odie

  • Guest
Re: Compilation Error: junk at end of line
« Reply #9 on: July 22, 2009, 04:07:55 am »
I'm downloading it now - I've been using Muton's package for a long time and I'm curious to see if this new package works.

I'll report back shortly on how it works - give me ~half an hour or so.

- Destructavator

Mattn / Destructavator,

Is it possible to post the link of that download page here pls? Thanks.
I would like to try it too. ;D

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: Compilation Error: junk at end of line
« Reply #10 on: July 22, 2009, 07:54:33 am »
I've posted the information already!

I've done a diff C::B 7z file
Base was C::B from mattn
http://www.4shared.com/file/104530411/49a9d228/codeblocks.html
There you find what is different from mattn's C::B

More infos @
http://ufoai.ninex.info/forum/index.php?topic=3553.msg26044#msg26044
http://ufoai.ninex.info/forum/index.php?topic=3551.msg25940#msg25940

'couse of this
http://ufoai.ninex.info/forum/index.php?topic=3553.msg26085#msg26085
shall i do the job?

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: Compilation Error: junk at end of line
« Reply #11 on: July 22, 2009, 07:59:13 am »
'couse of this
http://ufoai.ninex.info/forum/index.php?topic=3553.msg26085#msg26085
shall i do the job?

if you mean maintaining the script to produce a codeblocks package then yes. if you mean providing an own script that i'm not able to run on my own from my linux box - then no. I've seen so many people come and go. It's a must-have for me that i'm able to create that package even if they all lost interest. I hope you understand - no offense.

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: Compilation Error: junk at end of line
« Reply #12 on: July 24, 2009, 12:25:59 am »
@domein:
Mattn managed to create a codeblocks.zip that works for me, so it should work for you too.
Get it from the usual place.
Delete your old codeblocks dir before extracting the zip to avoid unwanted leftovers.

Offline bfett14

  • Rookie
  • ***
  • Posts: 10
    • View Profile
Re: Compilation Error: junk at end of line
« Reply #13 on: July 28, 2009, 05:17:56 am »
I'm new to this forum. Got exactly the same error. Tracked it down to C++ compiler generating .lcomm directive
which assembler does not understand (extra alignment parameter). Even the "Hello world" C++
project would not compile, not to mention the game. Downloaded package from C::B web site,
same effect. I'm afraid previous discussion does not address the issue in subj and got a bit
off track. How do I tell the compiler that assembler (from the same package!) needs different code?
The GNU compiler has mind boggling number of options. None of them seems to change the .lcomm thing.

Thanks.

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: Compilation Error: junk at end of line
« Reply #14 on: July 28, 2009, 08:18:32 am »
redownload the c::b package from mattn.ninex.info