🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
7 messages
7 total messages Started by John Wed, 01 Jun 2005 12:18
Indy: Unresolved external ...
#3830
Author: John
Date: Wed, 01 Jun 2005 12:18
15 lines
1571 bytes
Hi, this is my first letter here..
I have a little problem with Indy. If I place a TIdAntiFreeze component at 
design-time and compile my project, I get this error:
"[Linker Error] Unresolved external 'Idantifreeze::TIdAntiFreeze::' 
referenced from C:\TEST\UNIT1.OBJ"

The are also some other components which cause a similar error. Also I want 
to use the FileSizeByName() function, defined in IdGlobal.hpp. The same 
error:
"[Linker Error] Unresolved external '__fastcall 
Idglobal::FileSizeByName(System::AnsiString)' referenced from 
C:\TEST\UNIT1.OBJ"

All other components works - no errors. I use Borland C++Builder 6 Pro. Can 
somebody help me please? 
Re: Unresolved external ...
#3832
Author: Remy Lebeau (TeamB)
Date: Wed, 01 Jun 2005 17:04
23 lines
1485 bytes
"John" <qwertzuiopmiller@web.de> wrote in message
news:429da7ab$1@newsgroups.borland.com...

> "[Linker Error] Unresolved external 'Idantifreeze::TIdAntiFreeze::'
> referenced from C:\TEST\UNIT1.OBJ"
<snip>
> "[Linker Error] Unresolved external '__fastcall
> Idglobal::FileSizeByName(System::AnsiString)' referenced from
> C:\TEST\UNIT1.OBJ"

Looks like your project is not actually include the Indy package at all.

> All other components works - no errors.

All other Indy components?  Or just all other components in general?

> I use Borland C++Builder 6 Pro.

Which version of Indy?


Gambit
Re: Unresolved external ...
#3834
Author: John
Date: Thu, 02 Jun 2005 00:07
36 lines
2343 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:429deb7d@newsgroups.borland.com...

> Looks like your project is not actually include the Indy package at all.

I have included the source and the "C6" directory and installed the 
dclIndy60.bpl

> All other Indy components?  Or just all other components in general?

I mean only the Indy components. These are the components, which cause the 
errors:

TIdAntiFreeze
TIdIMAP4  (here are many C++ errors in IdCoderQuotedPrintable.hpp)
TIdRexec    ([C++ Fehler] IdRexec.hpp(37): E2303 Typname erwartet
                    [C++ Fehler] IdRexec.hpp(38): E2303 Typname erwartet)
TIdFTPServer  (here are many C++ errors in IdFTPServer.hpp
TIdMappedFTP  (many C++ errors in IdMappedFTP.hpp)
TIdMappedPop3    ([C++ Fehler] Unit1.h(22): E2303 Typname erwartet
                                [C++ Fehler] Unit1.h(22): E2139 In 
Deklaration fehlt ;
                                [C++ Fehler] Unit1.h(22): E2109 Kein 
zul�ssiger Typ)
TIdMappedTelnet  ( " )
TIdPOP3Server  (many C++ errors in IdMailBox.hpp)
TIdSMTPServer  (many C++ errors in IdIOHandlerSocket.hpp)
TIdIOHandlerSocket  ( " )
TIdIOHandlerStream  ( " )
TIdServerIOHandlerSocket  ( " )


> Which version of Indy?
I have tried the Indy 9 snapshot, 9.0.17, 9.0.15 and 9.0.10. In all versions 
I get the errors. 
Re: Unresolved external ...
#3836
Author: Remy Lebeau (TeamB)
Date: Thu, 02 Jun 2005 02:58
63 lines
2667 bytes
"John" <qwertzuiopmiller@web.de> wrote in message
news:429e4db0$1@newsgroups.borland.com...

> I have included the source and the "C6" directory and installed
> the dclIndy60.bpl

That does not mean that the project is actually using the library.  Did you
actually install the Indy package into the IDE?  With your application
project loaded in the IDE, is the Indy package listed and checked in the
"Install Packages" dialog?

> TIdIMAP4  (here are many C++ errors in IdCoderQuotedPrintable.hpp)

Such as?

> TIdRexec    ([C++ Fehler] IdRexec.hpp(37): E2303 Typname erwartet
>                     [C++ Fehler] IdRexec.hpp(38): E2303 Typname erwartet)

What eactly does the compiler think is unknown?

> TIdFTPServer  (here are many C++ errors in IdFTPServer.hpp

Such as?

> TIdMappedFTP  (many C++ errors in IdMappedFTP.hpp)

Such as?

> TIdMappedPop3    ([C++ Fehler] Unit1.h(22): E2303 Typname erwartet
>                                 [C++ Fehler] Unit1.h(22): E2139 In
> Deklaration fehlt ;
>                                 [C++ Fehler] Unit1.h(22): E2109 Kein
> zul�ssiger Typ)

What eactly does the compiler think is unknown?

> TIdMappedTelnet  ( " )

???

> TIdPOP3Server  (many C++ errors in IdMailBox.hpp)

Such as?

> TIdSMTPServer  (many C++ errors in IdIOHandlerSocket.hpp)

Such as?

> TIdIOHandlerSocket  ( " )
> TIdIOHandlerStream  ( " )
> TIdServerIOHandlerSocket  ( " )

???

> I have tried the Indy 9 snapshot, 9.0.17, 9.0.15 and 9.0.10. In
> all versions I get the errors.

I've used all of those versions in BCB without any errors.  There has to be
a problem on youtr particular machine/configuration.


Gambit
Re: Unresolved external ...
#3840
Author: John
Date: Thu, 02 Jun 2005 09:37
35 lines
2256 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:429e75b8$1@newsgroups.borland.com...
>
> That does not mean that the project is actually using the library.  Did 
> you
> actually install the Indy package into the IDE?  With your application
> project loaded in the IDE, is the Indy package listed and checked in the
> "Install Packages" dialog?

Yes it is. Otherwise I could not use the other Indy components like 
TIdPOP3.....

>> TIdRexec    ([C++ Fehler] IdRexec.hpp(37): E2303 Typname erwartet
>>                     [C++ Fehler] IdRexec.hpp(38): E2303 Typname erwartet)
>
> What eactly does the compiler think is unknown?

?? Those are the complete errors. There is nothing more.

>> TIdMappedTelnet  ( " )
>
> ???

" = same problem like above

> I've used all of those versions in BCB without any errors.  There has to 
> be
> a problem on youtr particular machine/configuration.

No. I tested it also on another computer - the same problem.
Could you please compile for me the Indy source files for BCB6, so I only 
need to install them into the IDE? I do not need the source - only the 
compiled packages. I would be very grateful!

best regards 
Re: Unresolved external ...
#3841
Author: Remy Lebeau (TeamB)
Date: Thu, 02 Jun 2005 17:04
23 lines
1731 bytes
"John" <qwertzuiopmiller@web.de> wrote in message
news:429ed370$1@newsgroups.borland.com...

> Yes it is. Otherwise I could not use the other Indy components
> like TIdPOP3.....

Then your install of Indy is messed up.  Have you tried completely removing
it and completely recompiling it?

> >> TIdRexec    ([C++ Fehler] IdRexec.hpp(37): E2303 Typname erwartet
> >>                     [C++ Fehler] IdRexec.hpp(38): E2303 Typname
erwartet)
> >
> > What eactly does the compiler think is unknown?
>
> ?? Those are the complete errors. There is nothing more.

Yes, but those errors do have filenames and line numbers in them.  So what
do the files actually look like at the places where the errors are occuring?


Gambit
Re: Unresolved external ...
#3842
Author: John
Date: Thu, 02 Jun 2005 19:10
4 lines
1217 bytes
Hmmm... there are too many errors so I will install simply the old Indy 
components.

Thank you for your help. 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads