Click here to Skip to main content
11,489,693 members (71,494 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C
I am getting 2 errors during glomosim simulator installation:-
1)Fatal error LNK1104 : cannot open file 'kernel32.lib'
2)C:\\program on line 69 : syntax error before '['. Parsec detected 1 error.
Because of which, i cant proceed further.
Can any1 tell........ how to fix it!!!
Posted 23-Jan-13 5:41am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

1. Check that you have set the correct directories in your Linker properties.
2. No idea, you need to show the line of code as well as the full text of the message.
  Permalink  
Comments
Member 9771035 at 25-Jan-13 1:48am
   
I have not written any code till now........ The error is coming in including library parsec files during installation itself.
Richard MacCutchan at 25-Jan-13 4:42am
   
I would suggest you go to the person or site where you got this package and ask for help there.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

What you are describing seems to be a mix of linker error ("LNK1104") and compile time error. The compile error is incomplete. Because you list the link error before the compile error, I would assume that you have multiple execution units. The compile error should give you more info about what type of error occurred.

If this doesn't answer your question, perhaps provide more of the error info...
  Permalink  
Comments
Member 9771035 at 26-Jan-13 2:12am
   
The actual errors are as follows :-
1. call pcc -user_main -Zi -Ox -I_ _ _ \include\-clock longlong -o _ _ _ \bin\glomosim
driver.pc
temp.lib tmp -2920.c
parse error
Error : C: \\ program on line 69:
C: \\ program : on line 69 : syntax error before '['.
PARSEC detected 0 warnings and 1 error

2. call cl -Ox -MT -Zi -Za.... -nologo.... \mac\tsma_param_gen.c /Fe _ _ _ \bin\tsma_para_gen.exe
tsma_param_gen.c
Fatal error LNK1104 : cannot open file 'kernel132.lib'.
Actually all .c files are getting executed but .pc files are not. It means parsec files are having some errors.
How to fix it??
H.Brydon at 26-Jan-13 13:44pm
   
An important detail that I missed in my earlier comments is that the linker error is complaining that it can't find kernel32.lib. This is a system file that should always be found. From the lines above it appears that you are trying to compile/link with command line (or make file) and you do not have the proper compiler environment set up.

I looked up Glomosim and Parsec... the supported platforms are Windows NT/2000, but I wouldn't assume that to be a problem here. Parsec will have some kind of pointers (eg. environment variables) that identify where to find link files. You need to chase that down in their docs.

As for the source error... line 69 (or earlier) is clearly flagged as having a problem. If this is not your code, it might be due to a symbol or variable missing or incorrectly set. You should really be chasing this down with the folks at UCLA.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

At last, I left glomosim........ tried on 2 different systems and downloaded from 2 different sources........ but getting the same error.
Searching for some other option.......
I am greatly disappointed after wasting so many days on it.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

At last, I left glomosim........ tried on 2 different systems and downloaded from 2 different sources........ but getting the same error.
Searching for some other option.......
I am greatly disappointed after wasting so many days on it.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 530
1 OriginalGriff 238
2 Maciej Los 190
3 Andy Lanng 183
4 _duDE_ 141
0 Sergey Alexandrovich Kryukov 9,488
1 OriginalGriff 8,425
2 Sascha Lefèvre 3,344
3 Maciej Los 3,066
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 29 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100