Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


haloo101

77 posts

Master Geek


#42291 1-Oct-2009 16:51
Send private message

Hi

I am developing association data mining software on Java. However I have difficulty running synthetic data generator avialable here http://www.almaden.ibm.com/cs/projects/iis/hdb/Projects/data_mining/datasets/syndata.html

I was trying to compiled on Cygwin without success..

Please help

Thanks

Create new topic
friedCrumpet
268 posts

Ultimate Geek


  #260452 2-Oct-2009 09:21
Send private message

Maybe you should post your error messages?

haloo101

77 posts

Master Geek


  #260460 2-Oct-2009 09:56
Send private message

friedCrumpet: Maybe you should post your error messages?


When I compiled main.c using g++ compiler on cygwin the errors was

$ g++ main.c
In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/backward/fst
ream.h:31,
                 from main.c:1:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated heade
r. Please consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h> header
for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. T
o disable this warning use -Wno-deprecated.
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x1a1): undefined reference to
 `get_args(TransPar&, int, char**)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x1f7): undefined reference to
 `get_args(SeqPar&, int, char**)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x250): undefined reference to
 `get_args(TaxPar&, int, char**)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x284): undefined reference to
 `print_version()'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x2ac): undefined reference to
 `print_version()'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x4b7): undefined reference to
 `StringSet::StringSet(int, PatternPar, Taxonomy*, float, float)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x50e): undefined reference to
 `RandSeed::set_seed(long)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x5a5): undefined reference to
 `TransPar::write(std::basic_ostream<char, std::char_traits<char> >&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x5ba): undefined reference to
 `StringSet::display(std::basic_ofstream<char, std::char_traits<char> >&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x6e1): undefined reference to
 `Transaction::write_asc(std::basic_ofstream<char, std::char_traits<char> >&, in
t)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x70a): undefined reference to
 `Transaction::write(std::basic_ofstream<char, std::char_traits<char> >&, int)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x734): undefined reference to
 `Transaction::~Transaction()'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xa03): undefined reference to
 `Taxonomy::Taxonomy(int, int, float, float)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xa61): undefined reference to
 `Taxonomy::write_asc(std::basic_ofstream<char, std::char_traits<char> >&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xa82): undefined reference to
 `Taxonomy::write(std::basic_ofstream<char, std::char_traits<char> >&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xbc8): undefined reference to
 `StringSet::StringSet(int, PatternPar, Taxonomy*, float, float)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xc1d): undefined reference to
 `TaxPar::write(std::basic_ostream<char, std::char_traits<char> >&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xc32): undefined reference to
 `StringSet::display(std::basic_ofstream<char, std::char_traits<char> >&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xd77): undefined reference to
 `Transaction::write_asc(std::basic_ofstream<char, std::char_traits<char> >&, in
t)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xda0): undefined reference to
 `Transaction::write(std::basic_ofstream<char, std::char_traits<char> >&, int)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xdca): undefined reference to
 `Transaction::~Transaction()'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xe02): undefined reference to
 `Transaction::~Transaction()'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0xfc8): undefined reference to
 `Transaction::Transaction(int)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x1024): undefined reference t
o `StringSetIter::get_pat()'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x1041): undefined reference t
o `Transaction::add(String&, unsigned char)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x1050): undefined reference t
o `StringSetIter::unget_pat()'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x12db): undefined reference t
o `StringSet::StringSet(int, PatternPar, Taxonomy*, float, float)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x13e2): undefined reference t
o `StringSet::StringSet(int, PatternPar, Taxonomy*, float, float)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x1437): undefined reference t
o `SeqPar::write(std::basic_ostream<char, std::char_traits<char> >&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x1453): undefined reference t
o `StringSet::display(std::basic_ofstream<char, std::char_traits<char> >&, Strin
gSet&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x15b5): undefined reference t
o `CustSeq::write_asc(std::basic_ofstream<char, std::char_traits<char> >&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x15d6): undefined reference t
o `CustSeq::write(std::basic_ofstream<char, std::char_traits<char> >&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x1600): undefined reference t
o `CustSeq::~CustSeq()'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x177a): undefined reference t
o `CustSeq::CustSeq(int, int, int)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x17de): undefined reference t
o `StringSetIter::get_pat()'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x17fa): undefined reference t
o `CustSeq::add(String&, StringSet&)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text+0x1809): undefined reference t
o `StringSetIter::unget_pat()'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text$_ZN11PoissonDistclEv[PoissonDi
st::operator()()]+0x16): undefined reference to `PoissonDist::poidev(float)'
/cygdrive/c/WINDOWS/TEMP/ccrB1YER.o:main.c:(.text$_ZN11UniformDistC1Ev[UniformDi
st::UniformDist()]+0x15): undefined reference to `RandSeed::new_seed()'
collect2: ld returned 1 exit status

 
 
 
 


haloo101

77 posts

Master Geek


  #260464 2-Oct-2009 10:04
Send private message

was i used the right compiler.. it seem like their are lots of error. since the web site said to use c++ compiler.


If you are using AIX (IBM's version of Unix), just run "make". If not, replace "xlC" with your favorite C++ compiler in the Makefile. Make sure the compiler treats these as C++ and not C files -- xlC for example requires the -+ flag to treat files with .c or .h extensions as C++ files.

ronindanbo
180 posts

Master Geek


  #260483 2-Oct-2009 10:38
Send private message

looks like you have a whole heap of methods that havent been declared, look at the following link for an easy example...

http://74.125.95.132/search?q=cache:RHMN-Fgue7QJ:ubuntuforums.org/showthread.php%3Ft%3D662844+c%2B%2B+undefined+reference+to&cd=2&hl=en&ct=clnk&gl=nz

Create new topic





News »

Vodafone enables 5G roaming - for when international travel comes
Posted 30-Oct-2020 15:03


Spark awards funding to Kiwi businesses in 5G funding initiative
Posted 30-Oct-2020 14:58


Huawei launches IdeaHub Pro in New Zealand
Posted 27-Oct-2020 16:41


Southland-based IT specialist providing virtual services worldwide
Posted 27-Oct-2020 15:55


NASA discovers water on sunlit surface of Moon
Posted 27-Oct-2020 08:30


Huawei introduces new features to Petal Search, Maps and Docs
Posted 26-Oct-2020 18:05


Nokia selected by NASA to build first ever cellular network on the Moon
Posted 21-Oct-2020 08:34


Nanoleaf enhances lighting line with launch of Triangles and Mini Triangles
Posted 17-Oct-2020 20:18


Synology unveils DS16211+
Posted 17-Oct-2020 20:12


Ingram Micro introduces FootfallCam to New Zealand channel
Posted 17-Oct-2020 20:06


Dropbox adopts Virtual First working policy
Posted 17-Oct-2020 19:47


OPPO announces Reno4 Series 5G line-up in NZ
Posted 16-Oct-2020 08:52


Microsoft Highway to a Hundred expands to Asia Pacific
Posted 14-Oct-2020 09:34


Spark turns on 5G in Auckland
Posted 14-Oct-2020 09:29


AMD Launches AMD Ryzen 5000 Series Desktop Processors
Posted 9-Oct-2020 10:13









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.