Recommended Posts

  Maxious said:
I'll take a stab in the dark and say you need the pam development files. Didn't say which distro but for ubuntu/debian thats package "libpam0g-dev" and for redhat/fedora thats "pam-devel"

586585132[/snapback]

Thanks. I am on debian\kubuntu.

I apt-got the package, and I'm compiling at the moment.

I'll tell you if it works.

I came longer this time, but not without errors.

This is what I got (sorry, but it seems as if

 doesn't work here.

[code]text-mode.c:39:21: error: ncurses.h: No such file or directory
text-mode.c:71: error: syntax error before ?*? token
text-mode.c:71: warning: function declaration isn?t a prototype
text-mode.c:72: error: syntax error before ?*? token
text-mode.c:72: warning: function declaration isn?t a prototype
text-mode.c:73: error: syntax error before ?*? token
text-mode.c:73: warning: function declaration isn?t a prototype
text-mode.c:74: error: syntax error before ?*? token
text-mode.c:74: warning: function declaration isn?t a prototype
text-mode.c:76: error: syntax error before ?*? token
text-mode.c:76: warning: function declaration isn?t a prototype
text-mode.c:78: error: syntax error before ?*? token
text-mode.c:78: warning: function declaration isn?t a prototype
text-mode.c:81: error: syntax error before ?*? token
text-mode.c:81: warning: function declaration isn?t a prototype
text-mode.c:104: error: syntax error before ?screen_attr?
text-mode.c:104: warning: type defaults to ?int? in declaration of ?screen_attr?
text-mode.c:104: error: ?A_NORMAL? undeclared here (not in a function)
text-mode.c:104: warning: data definition has no type or storage class
text-mode.c:105: error: syntax error before ?dialog_attr?
text-mode.c:105: warning: type defaults to ?int? in declaration of ?dialog_attr?
text-mode.c:105: error: ?A_REVERSE? undeclared here (not in a function)
text-mode.c:105: warning: data definition has no type or storage class
text-mode.c:106: error: syntax error before ?highlight_border_attr?
text-mode.c:106: warning: type defaults to ?int? in declaration of ?highlight_border_attr?
text-mode.c:106: warning: data definition has no type or storage class
text-mode.c:107: error: syntax error before ?shadow_border_attr?
text-mode.c:107: warning: type defaults to ?int? in declaration of ?shadow_border_attr?
text-mode.c:107: warning: data definition has no type or storage class
text-mode.c:108: error: syntax error before ?title_attr?
text-mode.c:108: warning: type defaults to ?int? in declaration of ?title_attr?
text-mode.c:108: warning: data definition has no type or storage class
text-mode.c:109: error: syntax error before ?button_active_attr?
text-mode.c:109: warning: type defaults to ?int? in declaration of ?button_active_attr?
text-mode.c:109: warning: data definition has no type or storage class
text-mode.c:110: error: syntax error before ?button_inactive_attr?
text-mode.c:110: warning: type defaults to ?int? in declaration of ?button_inactive_attr?
text-mode.c:110: warning: data definition has no type or storage class
text-mode.c: In function ?TextMode?:
text-mode.c:143: warning: implicit declaration of function ?initscr?
text-mode.c:143: warning: nested extern declaration of ?initscr?
text-mode.c:144: warning: implicit declaration of function ?noecho?
text-mode.c:144: warning: nested extern declaration of ?noecho?
text-mode.c:145: warning: implicit declaration of function ?nonl?
text-mode.c:145: warning: nested extern declaration of ?nonl?
text-mode.c:146: warning: implicit declaration of function ?keypad?
text-mode.c:146: warning: nested extern declaration of ?keypad?
text-mode.c:146: error: ?stdscr? undeclared (first use in this function)
text-mode.c:146: error: (Each undeclared identifier is reported only once
text-mode.c:146: error: for each function it appears in.)
text-mode.c:153: warning: implicit declaration of function ?has_colors?
text-mode.c:153: warning: nested extern declaration of ?has_colors?
text-mode.c:154: warning: implicit declaration of function ?start_color?
text-mode.c:154: warning: nested extern declaration of ?start_color?
text-mode.c:155: warning: implicit declaration of function ?init_pair?
text-mode.c:155: warning: nested extern declaration of ?init_pair?
text-mode.c:155: error: ?COLOR_BLACK? undeclared (first use in this function)
text-mode.c:156: error: ?A_BOLD? undeclared (first use in this function)
text-mode.c:156: warning: implicit declaration of function ?COLOR_PAIR?
text-mode.c:156: warning: nested extern declaration of ?COLOR_PAIR?
text-mode.c:158: error: ?COLOR_WHITE? undeclared (first use in this function)
text-mode.c:167: error: ?COLOR_BLUE? undeclared (first use in this function)
text-mode.c:181: warning: implicit declaration of function ?refresh?
text-mode.c:181: warning: nested extern declaration of ?refresh?
text-mode.c:280: warning: implicit declaration of function ?endwin?
text-mode.c:280: warning: nested extern declaration of ?endwin?
text-mode.c: In function ?ClearScreen?:
text-mode.c:2406: warning: implicit declaration of function ?wattrset?
text-mode.c:2406: warning: nested extern declaration of ?wattrset?
text-mode.c:2406: error: ?stdscr? undeclared (first use in this function)
text-mode.c:2407: error: ?LINES? undeclared (first use in this function)
text-mode.c:2408: warning: implicit declaration of function ?wmove?
text-mode.c:2408: warning: nested extern declaration of ?wmove?
text-mode.c:2409: error: ?COLS? undeclared (first use in this function)
text-mode.c:2410: warning: implicit declaration of function ?waddch?
text-mode.c:2410: warning: nested extern declaration of ?waddch?
text-mode.c:2410: error: ?ACS_PLUS? undeclared (first use in this function)
text-mode.c:2412: warning: implicit declaration of function ?touchwin?
text-mode.c:2412: warning: nested extern declaration of ?touchwin?
text-mode.c: In function ?Dialog?:
text-mode.c:2420: error: ?WINDOW? undeclared (first use in this function)
text-mode.c:2420: error: ?dialog? undeclared (first use in this function)
text-mode.c:2422: error: ?COLS? undeclared (first use in this function)
text-mode.c:2423: error: ?LINES? undeclared (first use in this function)
text-mode.c:2425: warning: implicit declaration of function ?newwin?
text-mode.c:2425: warning: nested extern declaration of ?newwin?
text-mode.c:2452: warning: implicit declaration of function ?wrefresh?
text-mode.c:2452: warning: nested extern declaration of ?wrefresh?
text-mode.c:2456: warning: implicit declaration of function ?wgetch?
text-mode.c:2456: warning: nested extern declaration of ?wgetch?
text-mode.c:2458: error: ?KEY_LEFT? undeclared (first use in this function)
text-mode.c:2459: error: ?KEY_RIGHT? undeclared (first use in this function)
text-mode.c:2480: warning: implicit declaration of function ?delwin?
text-mode.c:2480: warning: nested extern declaration of ?delwin?
text-mode.c: At top level:
text-mode.c:2488: error: syntax error before ?*? token
text-mode.c:2489: warning: function declaration isn?t a prototype
text-mode.c: In function ?PaintWindow?:
text-mode.c:2492: error: ?title_str? undeclared (first use in this function)
text-mode.c:2493: error: ?width? undeclared (first use in this function)
text-mode.c:2495: error: ?win? undeclared (first use in this function)
text-mode.c:2496: error: ?x? undeclared (first use in this function)
text-mode.c:2496: error: ?y? undeclared (first use in this function)
text-mode.c:2499: warning: implicit declaration of function ?waddstr?
text-mode.c:2499: warning: nested extern declaration of ?waddstr?
text-mode.c:2506: error: ?height? undeclared (first use in this function)
text-mode.c:2510: error: ?ACS_LLCORNER? undeclared (first use in this function)
text-mode.c:2512: error: ?ACS_LRCORNER? undeclared (first use in this function)
text-mode.c:2514: error: ?ACS_HLINE? undeclared (first use in this function)
text-mode.c:2516: error: ?ACS_VLINE? undeclared (first use in this function)
text-mode.c: At top level:
text-mode.c:2526: error: syntax error before ?*? token
text-mode.c:2527: warning: function declaration isn?t a prototype
text-mode.c: In function ?PaintBox?:
text-mode.c:2530: error: ?win? undeclared (first use in this function)
text-mode.c:2532: error: ?height? undeclared (first use in this function)
text-mode.c:2533: error: ?y? undeclared (first use in this function)
text-mode.c:2533: error: ?x? undeclared (first use in this function)
text-mode.c:2534: error: ?width? undeclared (first use in this function)
text-mode.c:2536: error: ?ACS_ULCORNER? undeclared (first use in this function)
text-mode.c:2538: error: ?ACS_LLCORNER? undeclared (first use in this function)
text-mode.c:2540: error: ?ACS_URCORNER? undeclared (first use in this function)
text-mode.c:2542: error: ?ACS_LRCORNER? undeclared (first use in this function)
text-mode.c:2544: error: ?ACS_HLINE? undeclared (first use in this function)
text-mode.c:2548: error: ?ACS_VLINE? undeclared (first use in this function)
text-mode.c: At top level:
text-mode.c:2558: error: syntax error before ?*? token
text-mode.c:2559: warning: function declaration isn?t a prototype
text-mode.c: In function ?PaintButton?:
text-mode.c:2562: error: ?win? undeclared (first use in this function)
text-mode.c:2562: error: ?y? undeclared (first use in this function)
text-mode.c:2562: error: ?x? undeclared (first use in this function)
text-mode.c:2563: error: ?selected? undeclared (first use in this function)
text-mode.c:2565: error: ?label? undeclared (first use in this function)
text-mode.c:2565: warning: left-hand operand of comma expression has no effect
text-mode.c: At top level:
text-mode.c:2580: error: syntax error before ?*? token
text-mode.c:2581: warning: function declaration isn?t a prototype
text-mode.c: In function ?PrintWrap?:
text-mode.c:2583: error: ?prompt? undeclared (first use in this function)
text-mode.c:2585: error: ?x? undeclared (first use in this function)
text-mode.c:2586: error: ?y? undeclared (first use in this function)
text-mode.c:2600: error: ?width? undeclared (first use in this function)
text-mode.c:2604: error: ?win? undeclared (first use in this function)
text-mode.c:2606: warning: implicit declaration of function ?getyx?
text-mode.c:2606: warning: nested extern declaration of ?getyx?
text-mode.c: In function ?DialogMenu?:
text-mode.c:2624: error: ?WINDOW? undeclared (first use in this function)
text-mode.c:2624: error: ?dialog? undeclared (first use in this function)
text-mode.c:2624: error: ?menu? undeclared (first use in this function)
text-mode.c:2624: warning: left-hand operand of comma expression has no effect
text-mode.c:2624: warning: statement with no effect
text-mode.c:2629: error: ?COLS? undeclared (first use in this function)
text-mode.c:2630: error: ?LINES? undeclared (first use in this function)
text-mode.c:2651: warning: implicit declaration of function ?subwin?
text-mode.c:2651: warning: nested extern declaration of ?subwin?
text-mode.c:2667: warning: implicit declaration of function ?wnoutrefresh?
text-mode.c:2667: warning: nested extern declaration of ?wnoutrefresh?
text-mode.c:2680: error: ?KEY_PPAGE? undeclared (first use in this function)
text-mode.c:2687: warning: implicit declaration of function ?scrollok?
text-mode.c:2687: warning: nested extern declaration of ?scrollok?
text-mode.c:2688: warning: implicit declaration of function ?wscrl?
text-mode.c:2688: warning: nested extern declaration of ?wscrl?
text-mode.c:2703: error: ?KEY_NPAGE? undeclared (first use in this function)
text-mode.c:2727: error: ?KEY_UP? undeclared (first use in this function)
text-mode.c:2749: error: ?KEY_DOWN? undeclared (first use in this function)
text-mode.c:2757: warning: implicit declaration of function ?scroll?
text-mode.c:2757: warning: nested extern declaration of ?scroll?
text-mode.c:2787: error: ?KEY_LEFT? undeclared (first use in this function)
text-mode.c:2788: error: ?KEY_RIGHT? undeclared (first use in this function)
text-mode.c: At top level:
text-mode.c:2842: error: syntax error before ?*? token
text-mode.c:2843: warning: function declaration isn?t a prototype
text-mode.c: In function ?PaintItem?:
text-mode.c:2846: error: ?win? undeclared (first use in this function)
text-mode.c:2846: error: ?selected? undeclared (first use in this function)
text-mode.c:2847: error: ?choice? undeclared (first use in this function)
text-mode.c:2852: error: ?item? undeclared (first use in this function)
text-mode.c: At top level:
text-mode.c:2856: error: syntax error before ?*? token
text-mode.c:2857: warning: function declaration isn?t a prototype
text-mode.c: In function ?PaintScroller?:
text-mode.c:2860: error: ?lenght? undeclared (first use in this function)
text-mode.c:2860: error: ?visible? undeclared (first use in this function)
text-mode.c:2861: error: ?offset? undeclared (first use in this function)
text-mode.c:2864: error: ?win? undeclared (first use in this function)
text-mode.c:2867: error: ?ACS_BLOCK? undeclared (first use in this function)
text-mode.c:2867: error: ?ACS_VLINE? undeclared (first use in this function)
text-mode.c: In function ?DialogCheckBox?:
text-mode.c:2877: error: ?WINDOW? undeclared (first use in this function)
text-mode.c:2877: error: ?dialog? undeclared (first use in this function)
text-mode.c:2877: error: ?menu? undeclared (first use in this function)
text-mode.c:2877: warning: left-hand operand of comma expression has no effect
text-mode.c:2877: warning: statement with no effect
text-mode.c:2882: error: ?COLS? undeclared (first use in this function)
text-mode.c:2883: error: ?LINES? undeclared (first use in this function)
text-mode.c:2928: error: ?KEY_PPAGE? undeclared (first use in this function)
text-mode.c:2952: error: ?KEY_NPAGE? undeclared (first use in this function)
text-mode.c:2976: error: ?KEY_UP? undeclared (first use in this function)
text-mode.c:2998: error: ?KEY_DOWN? undeclared (first use in this function)
text-mode.c:3036: error: ?KEY_LEFT? undeclared (first use in this function)
text-mode.c:3037: error: ?KEY_RIGHT? undeclared (first use in this function)
text-mode.c: At top level:
text-mode.c:3098: error: syntax error before ?*? token
text-mode.c:3099: warning: function declaration isn?t a prototype
text-mode.c: In function ?PaintCheckItem?:
text-mode.c:3102: error: ?win? undeclared (first use in this function)
text-mode.c:3102: error: ?selected? undeclared (first use in this function)
text-mode.c:3103: error: ?choice? undeclared (first use in this function)
text-mode.c:3108: warning: implicit declaration of function ?wprintw?
text-mode.c:3108: warning: nested extern declaration of ?wprintw?
text-mode.c:3108: error: ?checked? undeclared (first use in this function)
text-mode.c:3109: error: ?item? undeclared (first use in this function)
text-mode.c: In function ?DialogInput?:
text-mode.c:3119: error: ?WINDOW? undeclared (first use in this function)
text-mode.c:3119: error: ?dialog? undeclared (first use in this function)
text-mode.c:3121: error: ?COLS? undeclared (first use in this function)
text-mode.c:3122: error: ?LINES? undeclared (first use in this function)
text-mode.c:3174: error: ?KEY_UP? undeclared (first use in this function)
text-mode.c:3175: error: ?KEY_DOWN? undeclared (first use in this function)
text-mode.c:3177: error: ?KEY_LEFT? undeclared (first use in this function)
text-mode.c:3191: error: ?KEY_RIGHT? undeclared (first use in this function)
text-mode.c:3207: error: ?KEY_BACKSPACE? undeclared (first use in this function)
text-mode.c:3237: error: ?KEY_HOME? undeclared (first use in this function)
text-mode.c:3265: error: ?KEY_END? undeclared (first use in this function)
text-mode.c:3319: warning: implicit declaration of function ?flash?
text-mode.c:3319: warning: nested extern declaration of ?flash?
make[6]: *** [text-mode.o] Error 1
make[6]: Leaving directory `/home/johan/Kompileringar/xc/programs/Xserver/hw/xfree86/xf86cfg'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/johan/Kompileringar/xc/programs/Xserver/hw/xfree86'
make[4]: *** [hw/xfree86] Error 2
make[4]: Leaving directory `/home/johan/Kompileringar/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/johan/Kompileringar/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/johan/Kompileringar/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/johan/Kompileringar/xc'
make: *** [World] Error 2
[/code]

  • 3 months later...
  • 3 weeks later...
  _R2D2 said:

text-mode.c:39:21: error: ncurses.h: No such file or directory

This type of error during compile ("error: ncurses.h: No such file or directory") usually means you have a needed development package missing (in this case ncurses).

You can help yourself often when this error occurs, by using "apt-cache search" (I note you're using a Debian based distro).

eg. do something like

apt-cache search ncurses | grep dev

or for your previous problem

apt-cache search pam | grep dev

At least you can get some idea of what packages you might need to install by doing this.

I've got Xorg from CVS installed on Breezy, but I find it a lot slower than 6.8.

Without xcompmgr running, dragging windows over the desktop causes the system to lock for several seconds while it redraws at a snail's pace. Also sub pixel font rendering is slow enough to make gedit unusable for me.

Anyway thanks for the guide Rezza, I'm going to go looking for patches now ...

Edited by hornett
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Media Player Classic - Home Cinema 2.5.0 by Razvan Serea Media Player Classic - Home Cinema (MPC-HC) is a free and open-source video and audio player for Windows. MPC-HC is based on the original Guliverkli project (which is no longer maintained) and contains many additional features and bug fixes. As the continuation of the original Media Player Classic, MPC-HC isn’t flashy but it works with nearly any media format. MPC-HC uses DXVA technology to pass decoding operations to your modern video card, enhancing your viewing experience. And MPC-HC supports both physical and software DVDs with menus, chapter navigation, and subtitles. Overview of features A lot of people seem to be unaware of some of the awesome features that have been added to MPC-HC in the past years. Here is a list of useful options and features that everyone should know about: Dark interface Menu > View > Dark Theme When using dark theme it is also possible to change the height of the seekbar and size of the toolbar buttons. Options > Advanced Video preview on the seekbar Options > Tweaks > Show preview on seek bar Adjust playback speed Menu > Play > Playback rate The buttons in the player that control playback rate take a 2x step by default. This can be customized to smaller values (like 10%): Options > Playback > Speed step Adjusting playback speed works best with the internal audio renderer. This also has automatic pitch correction. Options > Playback > Output > Audio Renderer MPC-HC can remember playback position, so you can resume from that point later Options > Player > History You can quickly seek through a video with Ctrl + Mouse Scrollwheel. You can jump to next/previous file in a folder by pressing PageUp/PageDown. You can perform automatic actions at end of file. For example to go to next file or close player. Options > Playback > After Playback (permanent setting) Menu > Play > After Playback (for current file only) A-B repeat - You can loop a segment of a video. Press [ and ] to set start and stop markers. You can rotate/flip/mirror/stretch/zoom the video Menu > View > Pan&Scan This is also easily done with hotkeys (see below). There are lots of keyboard hotkeys and mouse actions to control the player. They can be customized as well. Options > Player > Keys Tip: there is a search box above the table. You can stream videos directly from Youtube and many other video websites You can stream videos directly from Youtube and many other video websites Put yt-dlp.exe or youtube-dl.exe in the MPC-HC installation folder. Then you can open website URLs in the player: Menu > File > Open File/URL You can even download those videos: Menu > File > Save a copy Tip: to be able to download in best quality with yt-dlp/youtube-dl, it is recommended to also put ffmpeg.exe in the MPC-HC folder. Several YDL configuration options are found here: Options > Advanced This includes an option to specify the location of the .exe in case you don't want to put it in MPC-HC folder. Play HDR video This requires using madVR or MPC Video Renderer. After installation these renderers can be selected here: Options > Playback > Output Ability to search for and download subtitles, either automatically or manually (press D): Options > Subtitles > Misc Besides all these (new) features, there have also been many bugfixes and internal improvements in the player in the past years that give better performance and stability. It also has updated internal codecs. Support was added for CUE sheets, WebVTT subtitles, etc. Media Player Classic - Home Cinema 2.5.0 changelog: Updated LAV Filters to version 0.80-1-gb9116 Updated MPC Video Renderer to version 0.9.9.2400 Several small fixes and improvements. Graphics Designers Wanted for New Toolbar Buttons A new toolbar is planned for implementation in the player, featuring optional extra buttons and fully customizable layouts. As a result, existing custom toolbar designs will no longer be supported in the future. New button designs are needed, and contributions from graphics designers are welcome. Those interested in helping create the new toolbar are encouraged to read the dedicated information page. Download: MPC-HC 2.5.0 (x64) | Standalone | ~20.0 MB (Open Source) Download: MPC-HC 2.5.0 (x86) | Standalone Links: MPC-HC Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Then don't put it on an IoT VLAN but put it on your main, trusted, VLAN. If you put it on a different VLAN you lose printer discovery.
    • For me it isn't usable because I'm a power user. I need Wayland but I also need remote desktop. VNC isn't a thing with Wayland and freeRDP isn't nearly ready enough yet either. If I was less demanding (didn't need remote desktop or ran Xorg) I would probably be fine.
    • From Microsoft to RedHat, escape an American company for an American company, that would be funny
    • Running Postgres on a server in a datacenter is a little bit different than a bug in a desktop application don't you think?
  • Recent Achievements

    • Week One Done
      emptyother earned a badge
      Week One Done
    • Week One Done
      DarkWun earned a badge
      Week One Done
    • Very Popular
      valkyr09 earned a badge
      Very Popular
    • Week One Done
      suprememobiles earned a badge
      Week One Done
    • Week One Done
      Marites earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      571
    2. 2
      ATLien_0
      182
    3. 3
      +FloatingFatMan
      171
    4. 4
      Xenon
      125
    5. 5
      Michael Scrip
      118
  • Tell a friend

    Love Neowin? Tell a friend!