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 »

Talking net neutrality on RNZ Nine-to-Noon
Posted 24-Nov-2017 12:11


Air New Zealand experiments with blockchain technology
Posted 23-Nov-2017 15:39


Symantec selects Amazon Web Services to deliver cloud security
Posted 23-Nov-2017 10:40


New Zealand Ministry of Education chooses Unisys for cloud-based education resourcing management system
Posted 22-Nov-2017 22:00


Business analytics software powers profits for NZ wine producers
Posted 22-Nov-2017 21:52


Pyrios strikes up alliance with Microsoft integrator UC Logiq
Posted 22-Nov-2017 21:51


The New Zealand IT services ecosystem - it's all digital down here
Posted 22-Nov-2017 21:49


Volvo to supply tens of thousands of autonomous drive compatible cars to Uber
Posted 22-Nov-2017 21:46


From small to medium and beyond: Navigating the ERP battlefield
Posted 21-Nov-2017 21:12


Business owners: ERP software selection starts (and finishes) with you
Posted 21-Nov-2017 21:11


Why I'm not an early adopter
Posted 21-Nov-2017 10:39


Netatmo launches smart home products in New Zealand
Posted 20-Nov-2017 20:06


Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26


UFB killer app: Speed
Posted 17-Nov-2017 17:01



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.