Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 798375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:57:34+00:00 2026-05-14T22:57:34+00:00

There is a static class Pipe, defined in C++ header that I’m including. The

  • 0

There is a static class Pipe, defined in C++ header that I’m including.

The static method I’m interested in calling (from Objective-c) is here:

static ERC  SendUserGet(const UserId &_idUser,const GUID &_idStyle,const ZoneId &_idZone,const char *_pszMsg);

I have access to an objective-c data structure that appears to store a copy of userID, and zoneID — it looks like:

@interface DataBlock : NSObject
{
    GUID userID;
    GUID zoneID;
}

Looked up the GUID def, and it’s a struct with a bunch of overloaded operators for equality. UserId and ZoneId from the first function signature are #typedef GUID

Now when I try to call the method, no matter how I cast it (const UserId), (UserId), etc, I get the following linker error:

Ld build/Debug/Seeker.app/Contents/MacOS/Seeker normal i386
cd /Users/josh/Development/project/Mac/Seeker
setenv MACOSX_DEPLOYMENT_TARGET 10.5
/Developer/usr/bin/g++-4.2 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/josh/Development/TS/Mac/Seeker/build/Debug -L/Users/josh/Development/TS/Mac/Seeker/../../../debug -L/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/i686-apple-darwin10/4.2.1 -F/Users/josh/Development/TS/Mac/Seeker/build/Debug -filelist /Users/josh/Development/TS/Mac/Seeker/build/Seeker.build/Debug/Seeker.build/Objects-normal/i386/Seeker.LinkFileList -mmacosx-version-min=10.5 -framework Cocoa -framework WebKit -lSAPI -lSPL -o /Users/josh/Development/TS/Mac/Seeker/build/Debug/Seeker.app/Contents/MacOS/Seeker

Undefined symbols:
  "SocPipe::SendUserGet(_GUID const&, _GUID const&, _GUID const&, char const*)", referenced from:
  -[PeoplePaneController clickGet:] in PeoplePaneController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Is this a type/function signature error, or truly some sort of linker error? I have the headers where all these types and static classes are defined #imported — I tried #include too, just in case, since I’m already stumbling 😛

Forgive me, I come from a web tech background, so this c-style memory management and immutability stuff is super hazy.

Edit: Added full linker error text. Changed “function” to “method”. Also I’ll note that we’re using a custom makefile to compile a few projects external to this one. SocPipe static methods are referenced elsewhere, though, in this xcode project and seems to compile fine.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T22:57:34+00:00Added an answer on May 14, 2026 at 10:57 pm

    (Eh, let’s turn that comment into an answer.)

    The method signature looks fine; that is, what you’re calling matches what is declared in the header. If it was not, you would probably be getting a compilation error rather than a linker error.

    The linker’s problem is that it doesn’t have any corresponding object code to connect this call to: the method is declared but never defined.

    The latter should occur either in a C++ source file which your project can compile, or else in some precompiled library or framework that you can link to. Either way, that file needs to be included in your project so that it can be made available to the linker.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 531k
  • Answers 531k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer IList<IName> restricted = people.Cast<IName>().ToList(); May 16, 2026 at 11:53 pm
  • Editorial Team
    Editorial Team added an answer compressed matrix has an underlying linear container (unbounded_array by default,… May 16, 2026 at 11:53 pm
  • Editorial Team
    Editorial Team added an answer You can override alert: window.alert = function(txt) { // Custom… May 16, 2026 at 11:53 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have written an ASP.NET HttpModule and I have a static helper class that
How is the correct way to call a child class method from a parent
I'm reading manning book about LINQ, and there is an example: static class QueryReuse
I have static class that has a bunch of static properties. When I try
I have an extension method as follows: public static class PageExtensions { public static
Why are async callback socket methods usually static? (assume I understand static class, method
I'm trying to create a generic class which will have some static functions based
So I'm using static class members so I can share data between class methods
I have a static class in a folder off root in my solution. In
I have a static class with a static get property, and in this property,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.