What I can make a static programs? I run this $(CC) -Wall `wx-config --cxxflags --libs --static=yes` prog.o and get many errors. prog.cc:(.gnu.linkonce.t._ZN10MyListCtrlC1EP8wxWindowiRK7wxPointRK6wxSizel[MyListCtrl::MyListCtrl(wxWindow*, int, wxPoint const&, wxSize const&, long)]+0x8): undefined reference to `wxListCtrlNameStr' ............