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


Topic # 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


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

Maybe you should post your error messages?



77 posts

Master Geek


  Reply # 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


  Reply # 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


  Reply # 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 »

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 »

Behind Spark’s slow-burn 4.5G plan
Posted 26-Jun-2017 16:23


Red Hat unveils production-ready open source hyperconverged infrastructure
Posted 23-Jun-2017 22:10


Whatever ailed Vodafone broadband … seems to be fixed
Posted 23-Jun-2017 14:10


VMware NSX Meets Stringent Government Security Standards with Common Criteria Certification
Posted 22-Jun-2017 19:05


Brother launches next-generation colour laser printers and all-in- ones for business
Posted 22-Jun-2017 18:56


Intel and IOC announce partnership
Posted 22-Jun-2017 18:50


Samsung Galaxy Tab S3: Best Android tablet
Posted 21-Jun-2017 12:05


Wellington-based company helping secure Microsoft browsers
Posted 20-Jun-2017 20:51


Endace delivers high performance with new 1/10/40 Gbps packet capture card
Posted 20-Jun-2017 20:50


You can now integrate SMX security into Microsoft Office 365, Google and other cloud email platforms
Posted 20-Jun-2017 20:47


Ravensdown launches new decision-making tool HawkEye
Posted 19-Jun-2017 15:38


Spark planning to take on direct management of all consumer stores
Posted 19-Jun-2017 10:03


Qrious acquires Ubiquity
Posted 14-Jun-2017 12:21


Spark New Zealand prepares for 5G with Nokia
Posted 14-Jun-2017 12:16


The future-proof 10.5-inch iPad Pro
Posted 13-Jun-2017 18:16



Geekzone Live »

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



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.