[CXFE] Could this be fixed

other problems with configuration of mms

Moderator: Moderator

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

[CXFE] Could this be fixed

Postby Uatschitchun » Mon Oct 24, 2011 7:29 pm

Getting this one, when trying to build cxfe on oneiric (11.10):

Could it be fixed?

Code: Select all

post.c:352:5: warning: 'xine_xmalloc' is deprecated (declared at /usr/include/xine/xineutils.h:156) [-Wdeprecated-declarations]
gcc -Wall  -g -O2 `pkg-config --cflags libxine`   -c -o termio/getch2.o termio/getch2.c
gcc -Wall `pkg-config --libs libxine` -L/usr/X11R6/lib -lXext -lxine -lncurses -lm -llirc_client -lXext -lX11  -lX11   cxfe.o post.o termio/getch2.o   -o cxfe
cxfe.o: In function `osd_loop':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:161: undefined reference to `pthread_detach'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:167: undefined reference to `xine_osd_hide'
cxfe.o: In function `send_event':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:553: undefined reference to `xine_event_send'
cxfe.o: In function `wsScreenSaverOn':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:132: undefined reference to `XGetScreenSaver'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:133: undefined reference to `XSetScreenSaver'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:134: undefined reference to `XGetScreenSaver'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:115: undefined reference to `DPMSQueryExtension'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:117: undefined reference to `DPMSEnable'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:123: undefined reference to `DPMSInfo'
cxfe.o: In function `wsScreenSaverOff':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:141: undefined reference to `DPMSQueryExtension'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:155: undefined reference to `XGetScreenSaver'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:156: undefined reference to `XSetScreenSaver'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:145: undefined reference to `DPMSInfo'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:151: undefined reference to `DPMSDisable'
cxfe.o: In function `osd_display_info':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:180: undefined reference to `xine_xmalloc'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:213: undefined reference to `xine_osd_clear'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:215: undefined reference to `xine_osd_draw_text'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:216: undefined reference to `xine_osd_set_position'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:217: undefined reference to `xine_osd_show'
cxfe.o: In function `action_pause':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:343: undefined reference to `xine_get_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:348: undefined reference to `xine_set_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:344: undefined reference to `xine_set_param'
cxfe.o: In function `action_seek_relative':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:271: undefined reference to `xine_get_stream_info'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:272: undefined reference to `xine_get_status'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:277: undefined reference to `pthread_create'
cxfe.o: In function `action_volume_up':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:327: undefined reference to `xine_set_param'
cxfe.o: In function `action_volume_down':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:336: undefined reference to `xine_set_param'
cxfe.o: In function `aspect_change':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:308: undefined reference to `xine_get_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:313: undefined reference to `xine_set_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:314: undefined reference to `xine_get_param'
cxfe.o: In function `get_pos_length':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:232: undefined reference to `xine_get_status'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:238: undefined reference to `xine_usec_sleep'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:235: undefined reference to `xine_get_pos_length'
cxfe.o: In function `seek_relative_thread':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:248: undefined reference to `pthread_detach'
cxfe.o: In function `play':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:225: undefined reference to `xine_play'
cxfe.o: In function `process_lirc_thread':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:611: undefined reference to `pthread_detach'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:614: undefined reference to `lirc_nextcode'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:617: undefined reference to `lirc_code2char'
cxfe.o: In function `change_zoom':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:319: undefined reference to `xine_get_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:318: undefined reference to `xine_set_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:321: undefined reference to `xine_get_param'
cxfe.o: In function `config_update_string':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:706: undefined reference to `xine_config_lookup_entry'
cxfe.o: In function `config_update':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:700: undefined reference to `xine_config_update_entry'
cxfe.o: In function `set_current_param':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:418: undefined reference to `xine_set_param'
cxfe.o: In function `event_listener':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:563: undefined reference to `xine_stop'
cxfe.o: In function `change_zoom':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:320: undefined reference to `xine_set_param'
cxfe.o: In function `main':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1238: undefined reference to `XInitThreads'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1243: undefined reference to `xine_new'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1244: undefined reference to `xine_get_homedir'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1245: undefined reference to `xine_config_load'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1246: undefined reference to `xine_init'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1349: undefined reference to `xine_open_audio_driver'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1351: undefined reference to `xine_stream_new'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1352: undefined reference to `xine_event_new_queue'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1353: undefined reference to `xine_event_create_listener_thread'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1384: undefined reference to `xine_open'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1384: undefined reference to `xine_play'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1388: undefined reference to `xine_osd_new'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1389: undefined reference to `xine_osd_set_font'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1390: undefined reference to `pthread_create'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1394: undefined reference to `xine_get_param'
cxfe.o: In function `get_current_param':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:410: undefined reference to `xine_get_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:410: undefined reference to `xine_get_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:410: undefined reference to `xine_get_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:410: undefined reference to `xine_get_param'
cxfe.o: In function `main':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1411: undefined reference to `xine_get_stream_info'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1461: undefined reference to `pthread_cancel'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1466: undefined reference to `xine_osd_free'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1467: undefined reference to `xine_close'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1468: undefined reference to `xine_event_dispose_queue'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1469: undefined reference to `xine_dispose'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1470: undefined reference to `xine_close_audio_driver'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1471: undefined reference to `xine_close_video_driver'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1472: undefined reference to `xine_exit'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1487: undefined reference to `pthread_cancel'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1488: undefined reference to `lirc_freeconfig'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1489: undefined reference to `lirc_deinit'
cxfe.o: In function `cxfe_run_x11':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1086: undefined reference to `xine_port_send_gui_data'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:862: undefined reference to `xine_usec_sleep'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:864: undefined reference to `XLockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:865: undefined reference to `XCheckMaskEvent'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:866: undefined reference to `XUnlockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:885: undefined reference to `XLockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:886: undefined reference to `XLookupString'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:887: undefined reference to `XUnlockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1059: undefined reference to `xine_port_send_gui_data'
cxfe.o: In function `main':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1428: undefined reference to `lirc_readconfig'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1433: undefined reference to `lirc_readconfig'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1438: undefined reference to `pthread_create'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1418: undefined reference to `lirc_init'
cxfe.o: In function `cxfe_run_x11':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1070: undefined reference to `XLockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1071: undefined reference to `XTranslateCoordinates'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1074: undefined reference to `XUnlockDisplay'
cxfe.o: In function `main':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1342: undefined reference to `xine_open_video_driver'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1356: undefined reference to `xine_port_send_gui_data'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1357: undefined reference to `xine_port_send_gui_data'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1272: undefined reference to `XOpenDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1273: undefined reference to `XDefaultScreen'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1279: undefined reference to `XLockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1280: undefined reference to `XDefaultRootWindow'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1280: undefined reference to `XCreateSimpleWindow'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1286: undefined reference to `XDefaultRootWindow'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1286: undefined reference to `XCreateSimpleWindow'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1294: undefined reference to `XSelectInput'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1296: undefined reference to `XSelectInput'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1298: undefined reference to `XInternAtom'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1301: undefined reference to `XChangeProperty'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1306: undefined reference to `XShmQueryExtension'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1314: undefined reference to `XMapRaised'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1316: undefined reference to `XSync'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1317: undefined reference to `XUnlockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1338: undefined reference to `xine_open_video_driver'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1336: undefined reference to `xine_open_video_driver'
cxfe.o: In function `cxfe_run_x11':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:902: undefined reference to `XLockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:903: undefined reference to `XUnmapWindow'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:909: undefined reference to `XMapRaised'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:910: undefined reference to `XSync'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:911: undefined reference to `XTranslateCoordinates'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:914: undefined reference to `XUnlockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:916: undefined reference to `xine_port_send_gui_data'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:940: undefined reference to `xine_get_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:945: undefined reference to `xine_set_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:947: undefined reference to `xine_get_param'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:946: undefined reference to `xine_get_param'
cxfe.o: In function `main':
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1475: undefined reference to `XLockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1477: undefined reference to `XUnmapWindow'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1478: undefined reference to `XDestroyWindow'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1479: undefined reference to `XDestroyWindow'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1480: undefined reference to `XUnlockDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1481: undefined reference to `XCloseDisplay'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1464: undefined reference to `xine_osd_hide'
/build/buildd/cxfe-0.9.3~pre1/cxfe.c:1307: undefined reference to `XShmGetEventBase'
post.o: In function `_pplugin_unwire':
/build/buildd/cxfe-0.9.3~pre1/post.c:301: undefined reference to `xine_get_video_source'
post.o: In function `_pplugin_join_deinterlace_and_post_elements':
/build/buildd/cxfe-0.9.3~pre1/post.c:351: undefined reference to `xine_xmalloc'
post.o: In function `_pplugin_rewire_from_post_elements':
/build/buildd/cxfe-0.9.3~pre1/post.c:324: undefined reference to `xine_post_input'
/build/buildd/cxfe-0.9.3~pre1/post.c:327: undefined reference to `xine_post_wire'
/build/buildd/cxfe-0.9.3~pre1/post.c:318: undefined reference to `xine_post_list_outputs'
/build/buildd/cxfe-0.9.3~pre1/post.c:319: undefined reference to `xine_post_output'
/build/buildd/cxfe-0.9.3~pre1/post.c:321: undefined reference to `xine_post_wire_video_port'
/build/buildd/cxfe-0.9.3~pre1/post.c:331: undefined reference to `xine_get_video_source'
/build/buildd/cxfe-0.9.3~pre1/post.c:332: undefined reference to `xine_post_wire_video_port'
post.o: In function `pplugin_parse_and_load':
/build/buildd/cxfe-0.9.3~pre1/post.c:133: undefined reference to `xine_post_init'
/build/buildd/cxfe-0.9.3~pre1/post.c:139: undefined reference to `xine_xmalloc'
/build/buildd/cxfe-0.9.3~pre1/post.c:145: undefined reference to `xine_xmalloc'
post.o: In function `__pplugin_retrieve_parameters':
/build/buildd/cxfe-0.9.3~pre1/post.c:56: undefined reference to `xine_post_input'
/build/buildd/cxfe-0.9.3~pre1/post.c:74: undefined reference to `xine_xmalloc'
post.o: In function `_pplugin_unwire':
/build/buildd/cxfe-0.9.3~pre1/post.c:303: undefined reference to `xine_post_wire_video_port'
post.o: In function `post_deinterlace':
/build/buildd/cxfe-0.9.3~pre1/post.c:437: undefined reference to `xine_set_param'
termio/getch2.o: In function `termcap_add':
/build/buildd/cxfe-0.9.3~pre1/termio/getch2.c:53: undefined reference to `tgetstr'
termio/getch2.o: In function `load_termcap':
/build/buildd/cxfe-0.9.3~pre1/termio/getch2.c:67: undefined reference to `tgetent'
/build/buildd/cxfe-0.9.3~pre1/termio/getch2.c:71: undefined reference to `tgetnum'
/build/buildd/cxfe-0.9.3~pre1/termio/getch2.c:72: undefined reference to `tgetnum'
collect2: ld returned 1 exit status
make[1]: *** [cxfe] Error 1
make[1]: Leaving directory `/build/buildd/cxfe-0.9.3~pre1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Here's the complete build-log:
https://launchpadlibrarian.net/83599791 ... ILD.txt.gz

Thx ;)
Lg
Roman

lorenzodes
master
Posts: 772
Joined: Sun Mar 11, 2007 4:50 pm
Location: move.l 4.w,a6

Re: [CXFE] Could this be fixed

Postby lorenzodes » Wed Oct 26, 2011 6:05 pm

Dumb question, but where can I download cxfe from?

I see you have a version that is newer than the one available from the wiki.
"I’m not frightened of dying, anytime will do, I don’t mind. Why should I be frightened of dying? There’s no reason for it, you gotta go sometime"

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: [CXFE] Could this be fixed

Postby Uatschitchun » Sat Oct 29, 2011 6:01 am

Lg

Roman

lorenzodes
master
Posts: 772
Joined: Sun Mar 11, 2007 4:50 pm
Location: move.l 4.w,a6

Re: [CXFE] Could this be fixed

Postby lorenzodes » Sat Oct 29, 2011 7:18 am

In Makefile.in, line 18, "-lpthread" (or "-pthread) is missing,

Why it produces those errors related to linking problems against xine-libs is still a mystery though.

What version of xine is that?
"I’m not frightened of dying, anytime will do, I don’t mind. Why should I be frightened of dying? There’s no reason for it, you gotta go sometime"

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: [CXFE] Could this be fixed

Postby Uatschitchun » Sat Oct 29, 2011 7:57 am

should be 1.1.19
Lg

Roman

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: [CXFE] Could this be fixed

Postby Uatschitchun » Sat Oct 29, 2011 8:02 am

Neither -lpthread, nor -pthread helps ...

Code: Select all

uatschitchun@thinkpad:/usr/local/src/mms/cxfe-bzr$ make
gcc -Wall  -g -O2 `pkg-config --cflags libxine`   -c -o cxfe.o cxfe.c
cxfe.c: In Funktion »wsScreenSaverOff«:
cxfe.c:148:14: Warnung: Variable »stat« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
cxfe.c: In Funktion »osd_loop«:
cxfe.c:171:1: Warnung: keine return-Anweisung in nicht void zurückgebender Funktion [-Wreturn-type]
cxfe.c: In Funktion »osd_display_info«:
cxfe.c:180:5: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/include/xine/xineutils.h:156) [-Wdeprecated-declarations]
cxfe.c:178:15: Warnung: Variable »n« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
cxfe.c: In Funktion »seek_relative_thread«:
cxfe.c:246:21: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite [-Wpointer-to-int-cast]
cxfe.c: In Funktion »action_seek_relative«:
cxfe.c:278:9: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite [-Wint-to-pointer-cast]
cxfe.c: In Funktion »print_status«:
cxfe.c:579:15: Warnung: Variable »percent_done« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
cxfe.c: In Funktion »process_lirc_thread«:
cxfe.c:668:1: Warnung: keine return-Anweisung in nicht void zurückgebender Funktion [-Wreturn-type]
cxfe.c: In Funktion »cxfe_run_x11«:
cxfe.c:881:16: Warnung: Variable »len« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
cxfe.c: In Funktion »main«:
cxfe.c:1365:13: Warnung: berechneter Wert ist unbenutzt [-Wunused-value]
cxfe.c: Auf höchster Ebene:
cxfe.c:576:13: Warnung: »print_status« definiert, aber nicht verwendet [-Wunused-function]
gcc -Wall  -g -O2 `pkg-config --cflags libxine`   -c -o post.o post.c
post.c: In Funktion »__pplugin_retrieve_parameters«:
post.c:74:2: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/include/xine/xineutils.h:156) [-Wdeprecated-declarations]
post.c: In Funktion »pplugin_parse_and_load«:
post.c:139:6: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/include/xine/xineutils.h:156) [-Wdeprecated-declarations]
post.c:145:6: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/include/xine/xineutils.h:156) [-Wdeprecated-declarations]
post.c: In Funktion »_pplugin_rewire_from_post_elements«:
post.c:325:24: Warnung: Variable »err« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
post.c: In Funktion »_pplugin_join_deinterlace_and_post_elements«:
post.c:352:5: Warnung: »xine_xmalloc« ist veraltet (deklariert bei /usr/include/xine/xineutils.h:156) [-Wdeprecated-declarations]
gcc -Wall  -g -O2 `pkg-config --cflags libxine`   -c -o termio/getch2.o termio/getch2.c
gcc -Wall `pkg-config --libs libxine` -L/usr/X11R6/lib -lXext -lxine -lncurses -lm -llirc_client -lXext -lX11  -lX11 -pthread  cxfe.o post.o termio/getch2.o   -o cxfe
cxfe.o: In function `osd_loop':
/usr/local/src/mms/cxfe-bzr/cxfe.c:167: undefined reference to `xine_osd_hide'
cxfe.o: In function `send_event':
/usr/local/src/mms/cxfe-bzr/cxfe.c:553: undefined reference to `xine_event_send'
cxfe.o: In function `wsScreenSaverOn':
/usr/local/src/mms/cxfe-bzr/cxfe.c:132: undefined reference to `XGetScreenSaver'
/usr/local/src/mms/cxfe-bzr/cxfe.c:133: undefined reference to `XSetScreenSaver'
/usr/local/src/mms/cxfe-bzr/cxfe.c:134: undefined reference to `XGetScreenSaver'
/usr/local/src/mms/cxfe-bzr/cxfe.c:115: undefined reference to `DPMSQueryExtension'
/usr/local/src/mms/cxfe-bzr/cxfe.c:117: undefined reference to `DPMSEnable'
/usr/local/src/mms/cxfe-bzr/cxfe.c:123: undefined reference to `DPMSInfo'
cxfe.o: In function `wsScreenSaverOff':
/usr/local/src/mms/cxfe-bzr/cxfe.c:141: undefined reference to `DPMSQueryExtension'
/usr/local/src/mms/cxfe-bzr/cxfe.c:155: undefined reference to `XGetScreenSaver'
/usr/local/src/mms/cxfe-bzr/cxfe.c:156: undefined reference to `XSetScreenSaver'
/usr/local/src/mms/cxfe-bzr/cxfe.c:145: undefined reference to `DPMSInfo'
/usr/local/src/mms/cxfe-bzr/cxfe.c:151: undefined reference to `DPMSDisable'
cxfe.o: In function `osd_display_info':
/usr/local/src/mms/cxfe-bzr/cxfe.c:180: undefined reference to `xine_xmalloc'
/usr/local/src/mms/cxfe-bzr/cxfe.c:213: undefined reference to `xine_osd_clear'
/usr/local/src/mms/cxfe-bzr/cxfe.c:215: undefined reference to `xine_osd_draw_text'
/usr/local/src/mms/cxfe-bzr/cxfe.c:216: undefined reference to `xine_osd_set_position'
/usr/local/src/mms/cxfe-bzr/cxfe.c:217: undefined reference to `xine_osd_show'
cxfe.o: In function `action_pause':
/usr/local/src/mms/cxfe-bzr/cxfe.c:343: undefined reference to `xine_get_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:348: undefined reference to `xine_set_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:344: undefined reference to `xine_set_param'
cxfe.o: In function `action_seek_relative':
/usr/local/src/mms/cxfe-bzr/cxfe.c:271: undefined reference to `xine_get_stream_info'
/usr/local/src/mms/cxfe-bzr/cxfe.c:272: undefined reference to `xine_get_status'
cxfe.o: In function `action_volume_up':
/usr/local/src/mms/cxfe-bzr/cxfe.c:327: undefined reference to `xine_set_param'
cxfe.o: In function `action_volume_down':
/usr/local/src/mms/cxfe-bzr/cxfe.c:336: undefined reference to `xine_set_param'
cxfe.o: In function `aspect_change':
/usr/local/src/mms/cxfe-bzr/cxfe.c:308: undefined reference to `xine_get_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:313: undefined reference to `xine_set_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:314: undefined reference to `xine_get_param'
cxfe.o: In function `get_pos_length':
/usr/local/src/mms/cxfe-bzr/cxfe.c:232: undefined reference to `xine_get_status'
/usr/local/src/mms/cxfe-bzr/cxfe.c:238: undefined reference to `xine_usec_sleep'
/usr/local/src/mms/cxfe-bzr/cxfe.c:235: undefined reference to `xine_get_pos_length'
cxfe.o: In function `play':
/usr/local/src/mms/cxfe-bzr/cxfe.c:225: undefined reference to `xine_play'
cxfe.o: In function `process_lirc_thread':
/usr/local/src/mms/cxfe-bzr/cxfe.c:614: undefined reference to `lirc_nextcode'
/usr/local/src/mms/cxfe-bzr/cxfe.c:617: undefined reference to `lirc_code2char'
cxfe.o: In function `change_zoom':
/usr/local/src/mms/cxfe-bzr/cxfe.c:319: undefined reference to `xine_get_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:318: undefined reference to `xine_set_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:321: undefined reference to `xine_get_param'
cxfe.o: In function `config_update_string':
/usr/local/src/mms/cxfe-bzr/cxfe.c:706: undefined reference to `xine_config_lookup_entry'
cxfe.o: In function `config_update':
/usr/local/src/mms/cxfe-bzr/cxfe.c:700: undefined reference to `xine_config_update_entry'
cxfe.o: In function `set_current_param':
/usr/local/src/mms/cxfe-bzr/cxfe.c:418: undefined reference to `xine_set_param'
cxfe.o: In function `event_listener':
/usr/local/src/mms/cxfe-bzr/cxfe.c:563: undefined reference to `xine_stop'
cxfe.o: In function `change_zoom':
/usr/local/src/mms/cxfe-bzr/cxfe.c:320: undefined reference to `xine_set_param'
cxfe.o: In function `main':
/usr/local/src/mms/cxfe-bzr/cxfe.c:1238: undefined reference to `XInitThreads'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1243: undefined reference to `xine_new'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1244: undefined reference to `xine_get_homedir'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1245: undefined reference to `xine_config_load'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1246: undefined reference to `xine_init'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1349: undefined reference to `xine_open_audio_driver'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1351: undefined reference to `xine_stream_new'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1352: undefined reference to `xine_event_new_queue'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1353: undefined reference to `xine_event_create_listener_thread'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1384: undefined reference to `xine_open'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1384: undefined reference to `xine_play'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1388: undefined reference to `xine_osd_new'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1389: undefined reference to `xine_osd_set_font'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1394: undefined reference to `xine_get_param'
cxfe.o: In function `get_current_param':
/usr/local/src/mms/cxfe-bzr/cxfe.c:410: undefined reference to `xine_get_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:410: undefined reference to `xine_get_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:410: undefined reference to `xine_get_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:410: undefined reference to `xine_get_param'
cxfe.o: In function `main':
/usr/local/src/mms/cxfe-bzr/cxfe.c:1411: undefined reference to `xine_get_stream_info'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1466: undefined reference to `xine_osd_free'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1467: undefined reference to `xine_close'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1468: undefined reference to `xine_event_dispose_queue'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1469: undefined reference to `xine_dispose'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1470: undefined reference to `xine_close_audio_driver'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1471: undefined reference to `xine_close_video_driver'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1472: undefined reference to `xine_exit'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1488: undefined reference to `lirc_freeconfig'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1489: undefined reference to `lirc_deinit'
cxfe.o: In function `cxfe_run_x11':
/usr/local/src/mms/cxfe-bzr/cxfe.c:1086: undefined reference to `xine_port_send_gui_data'
/usr/local/src/mms/cxfe-bzr/cxfe.c:862: undefined reference to `xine_usec_sleep'
/usr/local/src/mms/cxfe-bzr/cxfe.c:864: undefined reference to `XLockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:865: undefined reference to `XCheckMaskEvent'
/usr/local/src/mms/cxfe-bzr/cxfe.c:866: undefined reference to `XUnlockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:885: undefined reference to `XLockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:886: undefined reference to `XLookupString'
/usr/local/src/mms/cxfe-bzr/cxfe.c:887: undefined reference to `XUnlockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1059: undefined reference to `xine_port_send_gui_data'
cxfe.o: In function `main':
/usr/local/src/mms/cxfe-bzr/cxfe.c:1428: undefined reference to `lirc_readconfig'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1433: undefined reference to `lirc_readconfig'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1418: undefined reference to `lirc_init'
cxfe.o: In function `cxfe_run_x11':
/usr/local/src/mms/cxfe-bzr/cxfe.c:1070: undefined reference to `XLockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1071: undefined reference to `XTranslateCoordinates'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1074: undefined reference to `XUnlockDisplay'
cxfe.o: In function `main':
/usr/local/src/mms/cxfe-bzr/cxfe.c:1342: undefined reference to `xine_open_video_driver'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1356: undefined reference to `xine_port_send_gui_data'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1357: undefined reference to `xine_port_send_gui_data'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1272: undefined reference to `XOpenDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1273: undefined reference to `XDefaultScreen'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1279: undefined reference to `XLockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1280: undefined reference to `XDefaultRootWindow'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1280: undefined reference to `XCreateSimpleWindow'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1286: undefined reference to `XDefaultRootWindow'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1286: undefined reference to `XCreateSimpleWindow'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1294: undefined reference to `XSelectInput'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1296: undefined reference to `XSelectInput'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1298: undefined reference to `XInternAtom'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1301: undefined reference to `XChangeProperty'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1306: undefined reference to `XShmQueryExtension'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1314: undefined reference to `XMapRaised'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1316: undefined reference to `XSync'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1317: undefined reference to `XUnlockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1338: undefined reference to `xine_open_video_driver'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1336: undefined reference to `xine_open_video_driver'
cxfe.o: In function `cxfe_run_x11':
/usr/local/src/mms/cxfe-bzr/cxfe.c:902: undefined reference to `XLockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:903: undefined reference to `XUnmapWindow'
/usr/local/src/mms/cxfe-bzr/cxfe.c:909: undefined reference to `XMapRaised'
/usr/local/src/mms/cxfe-bzr/cxfe.c:910: undefined reference to `XSync'
/usr/local/src/mms/cxfe-bzr/cxfe.c:911: undefined reference to `XTranslateCoordinates'
/usr/local/src/mms/cxfe-bzr/cxfe.c:914: undefined reference to `XUnlockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:916: undefined reference to `xine_port_send_gui_data'
/usr/local/src/mms/cxfe-bzr/cxfe.c:940: undefined reference to `xine_get_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:945: undefined reference to `xine_set_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:947: undefined reference to `xine_get_param'
/usr/local/src/mms/cxfe-bzr/cxfe.c:946: undefined reference to `xine_get_param'
cxfe.o: In function `main':
/usr/local/src/mms/cxfe-bzr/cxfe.c:1475: undefined reference to `XLockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1477: undefined reference to `XUnmapWindow'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1478: undefined reference to `XDestroyWindow'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1479: undefined reference to `XDestroyWindow'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1480: undefined reference to `XUnlockDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1481: undefined reference to `XCloseDisplay'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1464: undefined reference to `xine_osd_hide'
/usr/local/src/mms/cxfe-bzr/cxfe.c:1307: undefined reference to `XShmGetEventBase'
post.o: In function `_pplugin_unwire':
/usr/local/src/mms/cxfe-bzr/post.c:301: undefined reference to `xine_get_video_source'
post.o: In function `_pplugin_join_deinterlace_and_post_elements':
/usr/local/src/mms/cxfe-bzr/post.c:351: undefined reference to `xine_xmalloc'
post.o: In function `_pplugin_rewire_from_post_elements':
/usr/local/src/mms/cxfe-bzr/post.c:324: undefined reference to `xine_post_input'
/usr/local/src/mms/cxfe-bzr/post.c:327: undefined reference to `xine_post_wire'
/usr/local/src/mms/cxfe-bzr/post.c:318: undefined reference to `xine_post_list_outputs'
/usr/local/src/mms/cxfe-bzr/post.c:319: undefined reference to `xine_post_output'
/usr/local/src/mms/cxfe-bzr/post.c:321: undefined reference to `xine_post_wire_video_port'
/usr/local/src/mms/cxfe-bzr/post.c:331: undefined reference to `xine_get_video_source'
/usr/local/src/mms/cxfe-bzr/post.c:332: undefined reference to `xine_post_wire_video_port'
post.o: In function `pplugin_parse_and_load':
/usr/local/src/mms/cxfe-bzr/post.c:133: undefined reference to `xine_post_init'
/usr/local/src/mms/cxfe-bzr/post.c:139: undefined reference to `xine_xmalloc'
/usr/local/src/mms/cxfe-bzr/post.c:145: undefined reference to `xine_xmalloc'
post.o: In function `__pplugin_retrieve_parameters':
/usr/local/src/mms/cxfe-bzr/post.c:56: undefined reference to `xine_post_input'
/usr/local/src/mms/cxfe-bzr/post.c:74: undefined reference to `xine_xmalloc'
post.o: In function `_pplugin_unwire':
/usr/local/src/mms/cxfe-bzr/post.c:303: undefined reference to `xine_post_wire_video_port'
post.o: In function `post_deinterlace':
/usr/local/src/mms/cxfe-bzr/post.c:437: undefined reference to `xine_set_param'
termio/getch2.o: In function `termcap_add':
/usr/local/src/mms/cxfe-bzr/termio/getch2.c:53: undefined reference to `tgetstr'
termio/getch2.o: In function `load_termcap':
/usr/local/src/mms/cxfe-bzr/termio/getch2.c:67: undefined reference to `tgetent'
/usr/local/src/mms/cxfe-bzr/termio/getch2.c:71: undefined reference to `tgetnum'
/usr/local/src/mms/cxfe-bzr/termio/getch2.c:72: undefined reference to `tgetnum'
collect2: ld gab 1 als Ende-Status zurück
make: *** [cxfe] Fehler 1
Lg

Roman

lorenzodes
master
Posts: 772
Joined: Sun Mar 11, 2007 4:50 pm
Location: move.l 4.w,a6

Re: [CXFE] Could this be fixed

Postby lorenzodes » Sat Oct 29, 2011 9:25 am

Uatschitchun wrote:Neither -lpthread, nor -pthread helps ...


Oh no, it does help, it fixed the "undefined reference to `pthread_detach'" error.

I don't know what's causing those link errors against xine-lib, can you please post the results of "pkg-config --libs libxine"?
"I’m not frightened of dying, anytime will do, I don’t mind. Why should I be frightened of dying? There’s no reason for it, you gotta go sometime"

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: [CXFE] Could this be fixed

Postby Uatschitchun » Sat Oct 29, 2011 10:54 am

$ pkg-config --libs libxine
-lxine
Lg

Roman

lorenzodes
master
Posts: 772
Joined: Sun Mar 11, 2007 4:50 pm
Location: move.l 4.w,a6

Re: [CXFE] Could this be fixed

Postby lorenzodes » Sat Oct 29, 2011 11:30 am

Uatschitchun wrote:$ pkg-config --libs libxine
-lxine


I can't reproduce, I can't even imagine why the linker can't find those symbols.

Just to experiment around a bit.

In case xine-lib were in /usr/local/lib, please do the following before launching configure and make:

Code: Select all

newpath=/usr/local/lib

export LD_RUN_PATH=$newpath:$LD_RUN_PATH

export LD_LIBRARY_PATH=$newpath:$LD_LIBRARY_PATH

export PKG_CONFIG_PATH=$newpath/pkgconfig
"I’m not frightened of dying, anytime will do, I don’t mind. Why should I be frightened of dying? There’s no reason for it, you gotta go sometime"

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: [CXFE] Could this be fixed

Postby Uatschitchun » Sun Oct 30, 2011 10:11 am

Same result ?!
Lg

Roman

lorenzodes
master
Posts: 772
Joined: Sun Mar 11, 2007 4:50 pm
Location: move.l 4.w,a6

Re: [CXFE] Could this be fixed

Postby lorenzodes » Sun Oct 30, 2011 11:47 am

Uatschitchun wrote:Same result ?!


Cool... not :(

Please, save the following as xine_test.cpp:

Code: Select all

#include <cstdio>
#include <cstdlib>
#include <xine.h>
#include <xine/xineutils.h>



int main() {


  xine_t *xine = xine_new();

  if (xine) {

    xine_engine_set_param(xine, XINE_ENGINE_PARAM_VERBOSITY, 10 );

    xine_init(xine);

    xine_exit(xine);

    exit(0);
  }

  fprintf(stderr, "Can't init xine\n");

  exit(-1);

}


then do the following:
$ CFLAGS="xine_test.cpp $(pkg-config --cflags libxine) $(pkg-config --libs libxine)"; echo "$CFLAGS"; g++ $CFLAGS

Please, post what it prints.
"I’m not frightened of dying, anytime will do, I don’t mind. Why should I be frightened of dying? There’s no reason for it, you gotta go sometime"

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: [CXFE] Could this be fixed

Postby Uatschitchun » Sun Oct 30, 2011 12:33 pm

Code: Select all

$ CFLAGS="xine_test.cpp $(pkg-config --cflags libxine) $(pkg-config --libs libxine)"; echo "$CFLAGS"; g++ $CFLAGS
xine_test.cpp   -lxine
Lg

Roman

lorenzodes
master
Posts: 772
Joined: Sun Mar 11, 2007 4:50 pm
Location: move.l 4.w,a6

Re: [CXFE] Could this be fixed

Postby lorenzodes » Sun Oct 30, 2011 1:25 pm

Uatschitchun wrote:

Code: Select all

$ CFLAGS="xine_test.cpp $(pkg-config --cflags libxine) $(pkg-config --libs libxine)"; echo "$CFLAGS"; g++ $CFLAGS
xine_test.cpp   -lxine


And no errors :shock:
"I’m not frightened of dying, anytime will do, I don’t mind. Why should I be frightened of dying? There’s no reason for it, you gotta go sometime"

lorenzodes
master
Posts: 772
Joined: Sun Mar 11, 2007 4:50 pm
Location: move.l 4.w,a6

Re: [CXFE] Could this be fixed

Postby lorenzodes » Sun Oct 30, 2011 1:50 pm

I have uploaded a new patch, here it fixes some warnings, maybe it improves things for you too.
"I’m not frightened of dying, anytime will do, I don’t mind. Why should I be frightened of dying? There’s no reason for it, you gotta go sometime"

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: [CXFE] Could this be fixed

Postby Uatschitchun » Sun Oct 30, 2011 4:46 pm

It possibly changes some warnings, but not the problem at all?!
Lg

Roman


Return to “other”

Who is online

Users browsing this forum: No registered users and 2 guests