Sponsored Content
Operating Systems Linux Debian Trying to native compile Debian Dialog Post 302301056 by jack2 on Wednesday 25th of March 2009 06:42:45 PM
Old 03-25-2009
follow-up

when I run
make
I get the following log file
(last part attached)

Thanks for your comments.

Jack

Code:
/opt/include/ncursest/curses.h:753: error: previous declaration of 'wclrtobot' was here
./curses.h:681: error: conflicting types for 'wclrtoeol'
/opt/include/ncursest/curses.h:754: error: previous declaration of 'wclrtoeol' was here
./curses.h:682: error: conflicting types for 'wcolor_set'
/opt/include/ncursest/curses.h:755: error: previous declaration of 'wcolor_set' was here
./curses.h:683: error: conflicting types for 'wdelch'
/opt/include/ncursest/curses.h:757: error: previous declaration of 'wdelch' was here
./curses.h:684: error: expected declaration specifiers or '...' before '-' token
./curses.h:684: error: conflicting types for 'winsdelln'
/opt/include/ncursest/curses.h:770: error: previous declaration of 'winsdelln' was here
./curses.h:685: error: conflicting types for 'wechochar'
/opt/include/ncursest/curses.h:759: error: previous declaration of 'wechochar' was here
./curses.h:686: error: conflicting types for 'werase'
/opt/include/ncursest/curses.h:760: error: previous declaration of 'werase' was here
./curses.h:687: error: conflicting types for 'wgetch'
/opt/include/ncursest/curses.h:761: error: previous declaration of 'wgetch' was here
./curses.h:688: error: conflicting types for 'wgetnstr'
/opt/include/ncursest/curses.h:762: error: previous declaration of 'wgetnstr' was here
./curses.h:689: error: expected declaration specifiers or '...' before '-' token
./curses.h:689: error: conflicting types for 'wgetnstr'
/opt/include/ncursest/curses.h:762: error: previous declaration of 'wgetnstr' was here
./curses.h:690: error: conflicting types for 'whline'
/opt/include/ncursest/curses.h:764: error: previous declaration of 'whline' was here
./curses.h:691: error: conflicting types for 'winch'
/opt/include/ncursest/curses.h:765: error: previous declaration of 'winch' was here
./curses.h:692: error: conflicting types for 'winchnstr'
/opt/include/ncursest/curses.h:766: error: previous declaration of 'winchnstr' was here
./curses.h:693: error: expected declaration specifiers or '...' before '-' token
./curses.h:693: error: conflicting types for 'winchnstr'
/opt/include/ncursest/curses.h:766: error: previous declaration of 'winchnstr' was here
./curses.h:694: error: conflicting types for 'winnstr'
/opt/include/ncursest/curses.h:768: error: previous declaration of 'winnstr' was here
./curses.h:695: error: conflicting types for 'winsch'
/opt/include/ncursest/curses.h:769: error: previous declaration of 'winsch' was here
./curses.h:696: error: conflicting types for 'winsdelln'
/opt/include/ncursest/curses.h:770: error: previous declaration of 'winsdelln' was here
./curses.h:697: error: expected declaration specifiers or '...' before numeric constant
./curses.h:697: error: conflicting types for 'winsdelln'
/opt/include/ncursest/curses.h:770: error: previous declaration of 'winsdelln' was here
./curses.h:698: error: expected declaration specifiers or '...' before '-' token
./curses.h:698: error: conflicting types for 'winnstr'
/opt/include/ncursest/curses.h:768: error: previous declaration of 'winnstr' was here
./curses.h:699: error: conflicting types for 'wmove'
/opt/include/ncursest/curses.h:775: error: previous declaration of 'wmove' was here
./curses.h:700: error: conflicting types for 'wnoutrefresh'
/opt/include/ncursest/curses.h:776: error: previous declaration of 'wnoutrefresh' was here
./curses.h:702: error: conflicting types for 'wprintw'
/opt/include/ncursest/curses.h:778: error: previous declaration of 'wprintw' was here
./curses.h:703: error: conflicting types for 'wredrawln'
/opt/include/ncursest/curses.h:779: error: previous declaration of 'wredrawln' was here
./curses.h:704: error: conflicting types for 'wrefresh'
/opt/include/ncursest/curses.h:780: error: previous declaration of 'wrefresh' was here
./curses.h:705: error: conflicting types for 'wresize'
/opt/include/ncursest/curses.h:852: error: previous declaration of 'wresize' was here
./curses.h:707: error: conflicting types for 'wscanw'
/opt/include/ncursest/curses.h:782: error: previous declaration of 'wscanw' was here
./curses.h:708: error: conflicting types for 'wscrl'
/opt/include/ncursest/curses.h:783: error: previous declaration of 'wscrl' was here
./curses.h:709: error: conflicting types for 'wsetscrreg'
/opt/include/ncursest/curses.h:784: error: previous declaration of 'wsetscrreg' was here
./curses.h:710: error: expected declaration specifiers or '...' before numeric constant
./curses.h:710: error: conflicting types for 'wattrset'
/opt/include/ncursest/curses.h:743: error: previous declaration of 'wattrset' was here
./curses.h:711: error: expected declaration specifiers or '...' before numeric constant
./curses.h:711: error: conflicting types for 'wattrset'
/opt/include/ncursest/curses.h:743: error: previous declaration of 'wattrset' was here
./curses.h:712: error: conflicting types for 'wtimeout'
/opt/include/ncursest/curses.h:789: error: previous declaration of 'wtimeout' was here
./curses.h:713: error: conflicting types for 'wtouchln'
/opt/include/ncursest/curses.h:790: error: previous declaration of 'wtouchln' was here
./curses.h:716: error: conflicting types for 'wvline'
/opt/include/ncursest/curses.h:791: error: previous declaration of 'wvline' was here
make: *** [trace.o] Error 1
[admin@oo dialog]$

Oh, I see.
I have to remove previous ncurses library installed into ncursest.
As new one ncurses-dev-addon library is installed exactly into
/ncurses-dev-addon directory

Have a next try tommorrow.

Jack
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

format to linux native?

hi again all, i am still trying to get my old win95 pc to become a unix/linux pc, running with redhat. i managed to install it on my old win32/fat partition (which is the whole hdd), but when i did this it said it may result in lower operating speed, but i couldn't manage to create a linux native... (2 Replies)
Discussion started by: gan
2 Replies

2. Programming

Problem using Java Native Interface on Debian

Hi all, First visit to this forum, hope I've chosen an appropriate place to post this. I have a Java-based application that uses native C++ libraries (built with g++-4.0) for specialized, computation-intensive routines. Within the native code, I need to catch exceptions thrown inside... (0 Replies)
Discussion started by: QED
0 Replies

3. AIX

AIX native MPIO

Hi folks, does anybody have a link to a documentation how to implement native MPIO on AIX? We are using EMC PowerPath and Datacore SanSymphony/Cambex for this so far and I wasn't able to find a good description on that topic. All I know so far is that mkpath, chpath and lspath are used to... (3 Replies)
Discussion started by: zaxxon
3 Replies

4. UNIX for Dummies Questions & Answers

HoHow to compile Linux dialog - "curses.h" missing ?

Hi, I tried native compile Linux dialog for Linux embedded device and got "curses.h" error message. As Linux dialog is already compiled and working as Debian .deb package (installed it). What is a way to import curses.h from other package sources to work for dialog sources compilation in my... (2 Replies)
Discussion started by: darius2
2 Replies

5. Programming

Regarding Native method

Hi, I am working with solaris 9 and I am using jre1.6. In my application,I am using java and C++ in my application.Basically we are using the java for front end and C/C++ for back hand.So I have to call the C/C++ source code form java code.we are using native methods for it.. So application... (1 Reply)
Discussion started by: smartgupta
1 Replies

6. Shell Programming and Scripting

Unix / Linux Dialog Utility - how to open 2+ more dialog windows ?

Hi, example of Unix / Linux dialog utility is below. I am going to use dialog as simple GUI for testing of a modem. So I need to combine some dialog boxes into one. I need to have input box, output box, info box, dialog box, radiobox as in any standard program with graphical user... (2 Replies)
Discussion started by: jack2
2 Replies

7. UNIX for Dummies Questions & Answers

Trying to native compile Linux Dialog

Hi, as my thread has been moved to Debian. I don't run Debian machine. My machine is Linux embedded router - mipsel. Sources come from Debian, but Dialog sources are GNU, so no Debian specific. Native compilation vs. crosscompilation, exactly to let you know, that I don't run Debian... (2 Replies)
Discussion started by: jack2
2 Replies

8. UNIX for Dummies Questions & Answers

Compiling gcc to compile make to compile yaboot

I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies

9. Shell Programming and Scripting

Lftp with dialog

Hi all. I want to know, if there is any chance to pass lftp listing to CLI dialog. I want to make an interactive CLI ftp manager, based on lftp. Version of dialog I use: root@dlink:~# dialog -v cdialog (ComeOn Dialog!) version 1.1-20100428 (0 Replies)
Discussion started by: n158
0 Replies
All times are GMT -4. The time now is 02:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy