Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

Unresolved external symbols

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> Unresolved external symbols Page: [1]
Login
Message << Older Topic   Newer Topic >>
Unresolved external symbols - May 31, '06, 8:11:48 AM   
bigc

 

Posts: 2
Joined: May 30, '06,
Status: offline
Hi,

I have installed SFU on WinXP SP2 (with all sdks) and I was attempting to compile an application which I know compiles correctly on Linux. In the link stage it gives the errors:
Unresolved external symbol ___security_cookie
Unresolved external symbol @__security_check_cookie@4

In order to check that the problem was not specific to my app, I tried to compile gawk in /usr/examples and it gives the errors:
Undefined reference to __fto12_sse
Undefined reference to ___security_cookie
Undefined reference to @__security_check_cookie@4

I have also tried to compile and install the latest make and grep off of the GNU ftp and those worked fine.

For info, I have turned DEP off.

Does anyone have any ideas?
Post #: 1
RE: Unresolved external symbols - May 31, '06, 1:11:27 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
DEP only has to do with code that's running.

I've compiled gawk many times and have never had these unresolved symbols (2.X, 3.X & 5.2).
These API's aren't with any of the Interix libraries and not in the gawk code.
With your unresolved message it should have told you which object it is in.

(in reply to bigc)
Post #: 2
RE: Unresolved external symbols - Jun. 5, '06, 10:45:30 AM   
bigc

 

Posts: 2
Joined: May 30, '06,
Status: offline
The problem with the unresolved symbols seemed to stop after I installed some of the extra packages. After a number of code changes and SFU configuration changes, I still could not successfully compile the unix application that I needed to get working and eventually resorted to using Cygwin. I think it was the networking in particular, but even with libport I could not resolve the issues I was having.

(in reply to Rodney)
Post #: 3
RE: Unresolved external symbols - Jun. 5, '06, 11:24:54 AM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
If you got gawk going after installing additional library packages from /Tools then
you likely chose a configuration that is not a "default". Gawk as I have built it
has always been on a "stock" Interix (with both Interix SD and th Interix GNU SDK installed).

Libport specifically addresses specific issues and thus may not address the ones you
have run into. If you tell us more information we might be able to help.

(in reply to bigc)
Post #: 4
RE: Unresolved external symbols - Jun. 6, '06, 8:46:59 AM   
shan.ks

 

Posts: 7
Joined: Mar. 9, '06,
Status: offline
I believe you are using Visual Studio 2005. Cl of VS 2005 enables /GS flag. SFU 3.5 libs were compiled with CL of VS 2003. I believe this is the reason for 'Unresolved external symbol ___security_cookie ' error.

SFU 3.5 will work without any changes with VS 2003. If you want to use cc/c89 with VS 2005, pass -X /GS- in the CC/c89 script.

<snip>
unresolved symbols seemed to stop after I installed some of the extra packages
</snip>
what packages were these? and What are the other issues that you are running in to?

(in reply to bigc)
Post #: 5
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> Unresolved external symbols Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.063