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.




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
268 posts

Ultimate Geek


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

Maybe you should post your error messages?



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

 
 
 
 




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.

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



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Kiwi workers still falling victim to old cyber tricks
Posted 12-Aug-2019 20:47


Lightning Lab GovTech launches 2019 programme
Posted 12-Aug-2019 20:41


Epson launches portable laser projector
Posted 12-Aug-2019 20:27


Huawei launches new distributed HarmonyOS
Posted 12-Aug-2019 20:20


Lenovo introduces single-socket servers for edge and data-intensive workloads
Posted 9-Aug-2019 21:26


The Document Foundation announces LibreOffice 6.3
Posted 9-Aug-2019 16:57


Symantec sell enterprise security assets for US$ 10.7 billion to Broadcom
Posted 9-Aug-2019 16:43


Artificial tongue can distinguish whisky and identify counterfeits
Posted 8-Aug-2019 20:20


Toyota and Preferred Networks to develop service robots
Posted 8-Aug-2019 20:11


Vodafone introduces new Vodafone TV device
Posted 7-Aug-2019 17:16


Intel announces next-generation Intel Xeon Scalable processors with up to 56 cores
Posted 7-Aug-2019 15:41


Nokia 2.2 released in New Zealand
Posted 5-Aug-2019 19:38


2degrees celebrating ten years
Posted 5-Aug-2019 05:00


Sure Petcare launches SureFeed microchip pet feeder
Posted 2-Aug-2019 17:00


Symantec Threat Intelligence: revival and rise of email extortion scams
Posted 2-Aug-2019 16:55



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.