al,
I don't often build externals with "bloodshed", but if i remember
correctly you needed to make sure you had the following
1.) -DBUILDING_DLL=1 as a compiler option
2.) --add-stdcall-alias as a linker option (which you have)
3.) Since you're building c code and not c++ you might mess with the
--driver-name option to dllwrap
something like --driver-name=c
4.) try exporting all the symbols (not good for production) with
--export-all-symbols instead of --no-export-all-symbols
--
cb
Alejandro Tejada wrote:
Hi Mark!,
Mark Wieder wrote:
AT> now, while using the same recipe to compile
AT> the external from the sdk, i get a lot of
AT> warnings and linker errors about a long list
AT> of similar undeclared objects
AT> like: "SelectObject at 8"
That's a pretty bizarre error message.
Which example are you trying to compile?
notice Mark, the at symbol (the symbol over
the key with the number 2) is converted in
the "at" word in these mails!
i'm applying the instructions of
the readme.rtf to compile the
"external.dll" that is inside the
SDK externals and the instructions
provided by Alex to compile his external.
After this message is the compile log,
create by Dev-C++ while compiling
this external. Obviusly, i'm missing
many things... Could you spot the errors?
Better yet. Could you post a recipe to
compile this dll using Dev-C++ (Bloodshed)?
Thanks in advance. :-)
al
compile log while creating "external.dll"
within Dev-C++ (latest downloable version)
---------------------------------------------
Compiler: Default compiler
Building Makefile:
"C:\WINDOWS\Desktop\ExternalSDK\Makefile.win"
Executing make...
make.exe -f
"C:\WINDOWS\Desktop\ExternalSDK\Makefile.win" all
dllwrap.exe --output-def libexternal.def --implib
libexternal.a external.o XCmdGlue.o
-L"C:/DEV-CPP/lib" -L"C:/WINDOWS/Desktop/ExternalSDK"
--no-export-all-symbols --add-stdcall-alias --def
external.def -o external.dll
external.o(.text+0x137e):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x13f9):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1408):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x141c):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1437):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1446):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x145a):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x149a):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x14b3):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x14cc):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x15aa):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x15cb):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1603):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1617):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1635):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1653):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1686):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x16a5):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x16be):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1769):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1778):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x178c):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x17a5):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x17e5):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x17fe):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x1817):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x18ab):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x18c5):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x18d5):external.c: undefined
reference to [EMAIL PROTECTED]'
external.o(.text+0x18e5):external.c: undefined
reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
C:\DEV-CPP\BIN\DLLWRAP.EXE: C:\DEV-CPP\BIN\gcc exited
with status 1
Execution terminated
--------------------------------------
end of compile log to create "external.dll"
with Dev-C++.
Visit my site:
http://www.geocities.com/capellan2000/
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution