OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Local Zaurus Compile Of An Ncurses Application, HELP!!!!!
andresgriego
post Feb 24 2006, 10:44 AM
Post #1





Group: Members
Posts: 48
Joined: 22-January 06
Member No.: 8,972



Greetings!

I am trying to compile a program written in C++, (no STL or Templates), that uses ncurses for the UI. The program was originally written in Windows under Bloodsheds Dev-C++.

Ncurses was supplied using a DEV Package for Bloodshed, called pdcurses2.6.

Well, my application doesn't compile and I think it is because I am not linking to the ncurses library, because most of the errors are undefined reference to ncurses calls :

IE. undefined reference to 'wattr_on'
undefined reference to 'waddch'
etc.

So, for starters, here is my ZGCC.SH file :

export GCC_EXEC_PREFIX=/mnt/cf/.zgcc/lib/gcc-lib/arm-linux/2.95.2/
export COMPILER_PATH=/mnt/cf/.zgcc/bin:/mnt/cf/.zgcc/lib/gcc-lib/arm-linux/2.95.2/
export CPATH=/mnt/cf/.zgcc/
export LIBRARY_PATH=/mnt/cf/.zgcc/lib/:/mnt/cf/.zgcc/lib/gcc-lib/arm-linux/2.95.2/:/lib/:/home/QtPalmtop/lib/
export CPLUS_INCLUDE_PATH=/mnt/cf/.zgcc/g++-3/
PATH=/mnt/cf/.zgcc/bin:$PATH
export PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mnt/cf/.zgcc/lib
export LD_LIBRARY_PATH
TMAKEPATH="/mnt/cf/.zgcc/tmake/lib/sharp-onboard/"
export TMAKEPATH
ln -sf /lib/libc.so.6 /usr/lib/libc.so
ln -sf /lib/libm.so.6 /usr/lib/libm.so
ln -sf /mnt/cf/.zgcc/bin/libstdc++-3-libc6.1-2-2.10.0.so /home/QtPalmtop/lib/libstdc++-libc6.2-2.so.3




Anybody know what's going on?


Thanks,

Andres
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2014 - 11:56 PM