NO

Author Topic: POLINK: error: Unresolved external symbol '__penter'.  (Read 4473 times)

IanCupp

  • Guest
POLINK: error: Unresolved external symbol '__penter'.
« on: December 13, 2013, 07:11:28 AM »
I am getting back into programming downloaded Pelles C ran a simple code and came up with a strange error and can't seem to find anywhere how to fix it does anyone know what I can do to fix it. The error is "POLINK: error: Unresolved external symbol '__penter'."
the program code is as follows.
#include<stdio.h>
int main()
{
   int a;
   int b;
   int c;
   printf("Enter value for a \n");
      scanf("%d",&a);
   printf("Enter value for b \n");
      scanf("%d",&b);
   c=a+b;
      printf("The value of c is %d \n",c);
   return 0;
   }
I have rewritten it many times and can't seem to figure out how to fix this error any help would be appreciated.

Offline jj2007

  • Member
  • *
  • Posts: 536
Re: POLINK: error: Unresolved external symbol '__penter'.
« Reply #1 on: December 13, 2013, 07:17:21 AM »
Compiles fine here (WinXP SP3). Can you post the commandlines of your projects please?

Welcome to the Forum, Ian.

IanCupp

  • Guest
Re: POLINK: error: Unresolved external symbol '__penter'.
« Reply #2 on: December 13, 2013, 07:26:03 AM »
I got it to work but now its telling me access is denied. My anti virus is preventing me from running the program. It keeps identifying it as a virus.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: POLINK: error: Unresolved external symbol '__penter'.
« Reply #3 on: December 13, 2013, 10:12:56 AM »
The error is "POLINK: error: Unresolved external symbol '__penter'."
From project take off compiler option 'Enable hook function call' -Gh
« Last Edit: December 13, 2013, 09:08:30 PM by timovjl »
May the source be with you

Offline Vortex

  • Member
  • *
  • Posts: 865
    • http://www.vortex.masmcode.com
Re: POLINK: error: Unresolved external symbol '__penter'.
« Reply #4 on: December 14, 2013, 11:10:56 AM »
Hi IanCupp,

Are you using Avira? I got the same result. It's a false-positive :

Code: [Select]
Virus or unwanted program 'TR/Agent.41445879 [trojan]'
detected in file 'C:\Documents and Settings\Vortex\Local Settings\Temp\~0652138.TMP.
Action performed: Deny access
Code it... That's all...

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: POLINK: error: Unresolved external symbol '__penter'.
« Reply #5 on: December 14, 2013, 11:25:24 AM »
virustotal
Same with code with msvc virustotal
« Last Edit: December 14, 2013, 11:38:33 AM by timovjl »
May the source be with you

Offline Vortex

  • Member
  • *
  • Posts: 865
    • http://www.vortex.masmcode.com
Re: POLINK: error: Unresolved external symbol '__penter'.
« Reply #6 on: December 14, 2013, 11:35:31 AM »
I wonder when those crappy AV programs will identify a simple hello world application as malware.
Code it... That's all...

IanCupp

  • Guest
Re: POLINK: error: Unresolved external symbol '__penter'.
« Reply #7 on: December 15, 2013, 08:59:06 AM »
I am using AVG and it just won't let me run it period and when it identifies it as a virus it removes it so my projects keep getting deleted. Its quite frustrating.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: POLINK: error: Unresolved external symbol '__penter'.
« Reply #8 on: December 15, 2013, 11:05:37 AM »
Exclude that folder from scanning like here
« Last Edit: December 15, 2013, 11:15:19 AM by timovjl »
May the source be with you