Linker errors with Dev-C++

From: JimBo (jimbo_at_yahoo.com)
Date: 09/22/04


Date: Wed, 22 Sep 2004 12:36:19 GMT

I am trying to compile a simple tutorial program for the Fox Toolkit gui
and I am getting all kinds of linker errors. Can someone tell me how to
get around it. I am using Bloodshed DEV-C++

How can I fix this undefined reference errors ??

TIA

Compiler: Default compiler
Building Makefile: "D:\CProgramming\Projects\Project1\Makefile.win"
Executing make...
make.exe -f "D:\CProgramming\Projects\Project1\Makefile.win" all
g++.exe main.o -o "Project1.exe" -L"C:/Dev-Cpp/lib" -
L"D:/CProgramming/fox-1.2.9/src" -L"D:/CProgramming/fox-1.2.9/include"

main.o(.text+0x9c):main.cpp: undefined reference to
`FX::FXString::FXString(char const*)'
main.o(.text+0xc8):main.cpp: undefined reference to
`FX::FXString::FXString(char const*)'
main.o(.text+0xf4):main.cpp: undefined reference to `FX::FXApp::FXApp
(FX::FXString const&, FX::FXString const&)'
main.o(.text+0x11a):main.cpp: undefined reference to `FX::FXString::
~FXString()'
main.o(.text+0x140):main.cpp: undefined reference to `FX::FXString::
~FXString()'
main.o(.text+0x166):main.cpp: undefined reference to `FX::FXString::
~FXString()'
main.o(.text+0x1a2):main.cpp: undefined reference to `FX::FXString::
~FXString()'

main.o(.text+0x1d0):main.cpp: undefined reference to `FX::FXApp::init
(int&, char**, unsigned char)'
main.o(.text+0x209):main.cpp: undefined reference to
`FX::FXString::FXString(char const*)'
main.o(.text+0x29d):main.cpp: undefined reference to
`FX::FXMainWindow::FXMainWindow(FX::FXApp*, FX::FXString const&,
FX::FXIcon*, FX::FXIcon*, unsigned, int, int, int, int, int, int, int,
int, int, int)'
main.o(.text+0x2d6):main.cpp: undefined reference to `FX::FXString::
~FXString()'
main.o(.text+0x2fc):main.cpp: undefined reference to `FX::FXString::
~FXString()'
main.o(.text+0x375):main.cpp: undefined reference to
`FX::FXString::FXString(char const*)'
main.o(.text+0x403):main.cpp: undefined reference to
`FX::FXButton::FXButton(FX::FXComposite*, FX::FXString const&,
FX::FXIcon*, FX::FXObject*, unsigned, unsigned, int, int, int, int, int,
int, int, int)'
main.o(.text+0x430):main.cpp: undefined reference to `FX::FXString::
~FXString()'
main.o(.text+0x456):main.cpp: undefined reference to `FX::FXString::
~FXString()'
main.o(.text+0x4f9):main.cpp: undefined reference to
`FX::FXToolTip::FXToolTip(FX::FXApp*, unsigned, int, int, int, int)'
main.o(.text+0x5c4):main.cpp: undefined reference to `FX::FXApp::create
()'
main.o(.text+0x5f5):main.cpp: undefined reference to `FX::FXApp::run()'
main.o(.text+0x613):main.cpp: undefined reference to `FX::FXApp::~FXApp
()'
main.o(.text+0x645):main.cpp: undefined reference to `FX::FXApp::~FXApp
()'