On Fri, 4 Jan 2008, Lukas Gradl wrote:
>
>
> Michael Van Canneyt schrieb:
> >
> > On Fri, 4 Jan 2008, Lukas Gradl wrote:
> >
> > > Sorry to bother you again - but I'm just too stupid to get it to work.
> > >
> > > Using cygwin I did a gcc -c adler32.c
> > > then I renamed the created adler32.o to adler32.obj.
> > >
> > > But when trying to link I get a "Undefined symbol: ZLIBEX..."
> > >
> > > I never used gcc on Windows and I'm quite stuck with this OBJ-Files.
> > >
> > > For D7 they where compiled using
> > >
> > > bcc -c -6 -O2 -Ve -X- -pr -a8 -b -d -k- -vi -tWM -r -RT- -DFASTEST
> > > -n%OutDir%
> > > adler32.c
> > >
> > > Perhaps someone out there is able to provide me with a little HowTo?
> >
> > Probably the external definitions are using uppercase names, while gcc
> > produces lowercase symbol names.
> >
> > You might be better of using paszlib.
> >
>
> Michael,
>
> thanks for your contiuous support! If you're coming to Tyrol one day feel free
> to collect a bunch of espressos at my place... *g*
>
> But as I've to talk to an external application using ZLibEx I have to use it
> too.
>
> going back to google again,
Try to get the symbol names from the gcc-produced files, you can do
this with objdump:
objdump -t file.o
Then make sure the external definitions in the pascal files match these names
exactly.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives