Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have the package srgp.tar.z but i dont know how to install it on suse 9.3.
where exactly i have to put libraries, header files and everything are in the package.
when i run the command tar it seems doesnt do anything just print the files which include in srgp.tar.Z.
Then i change (t) or ( f) in -Ztvf i dont remember to (x) and it puts the files of the package to /tmp/srgp/ into a directory SRGP_DISTRIB.
Into this directory i run the command make -f Makefile and it prints a lot of errors.i try to make gcc the examples which are in package and it doesnt recognize library srgp.h
thanx for helpingme.Below are the errors until the end.
MAKING... SRGP optimized (-O) library
(cd src/srgp; make clean CFLAGS=-O)
make[1]: Entering directory `/tmp/srgp/SRGP_DISTRIB/src/srgp'
/bin/rm -f objects/srgp_attrib.o objects/srgp_canvas.o objects/srgp_color_X.o objects/srgp_cursor.o objects/srgp_echo_X.o objects/srgp_error.o objects/srgp_font.o objects/srgp_input.o objects/srgp_input_X.o objects/srgp_inquire.o objects/srgp_marker.o objects/srgp_output.o objects/srgp_pattern.o objects/srgp_raster.o objects/srgp_state.o objects/srgp_state_X.o objects/geom.o
/bin/rm -f *~
gcc -fpcc-struct-return -O -DUNIX -DX11 -c -o objects/srgp_attrib.o srgp_attrib.c
In file included from srgp_attrib.c:2:
srgplocal.h:9:22: X11/Xlib.h: Δεν υϤάÏχει Ï„Î_τοιο αÏχείο ή κατάλογος
srgplocal.h:10:23: X11/Xutil.h: Δεν υϤάÏχει Ï„Î_τοιο αÏχείο ή κατάλογος
srgplocal.h:11:21: X11/Xos.h: Δεν υϤάÏχει Ï„Î_τοιο αÏχείο ή κατάλογος
srgplocal.h:12:28: X11/cursorfont.h: Δεν υϤάÏχει Ï„Î_τοιο αÏχείο ή κατάλογος
In file included from srgplocal.h:48,
from srgp_attrib.c:2:
srgppublic.h:3:22: X11/Xlib.h: Δεν υϤάÏχει Ï„Î_τοιο αÏχείο ή κατάλογος
In file included from srgplocal.h:48,
from srgp_attrib.c:2:
srgppublic.h:274: error: syntax error before "SRGP_inquireXDrawable"
srgppublic.h:274: warning: data definition has no type or storage class
In file included from srgp_attrib.c:2:
srgplocal.h:93: error: syntax error before "XID"
srgplocal.h:93: warning: no semicolon at end of struct or union
srgplocal.h:94: warning: data definition has no type or storage class
srgplocal.h:95: error: syntax error before "bitmap"
srgplocal.h:95: warning: data definition has no type or storage class
srgplocal.h:97: warning: data definition has no type or storage class
srgplocal.h:116: error: syntax error before "drawable_type"
srgplocal.h:116: warning: no semicolon at end of struct or union
srgplocal.h:118: warning: data definition has no type or storage class
srgplocal.h:125: error: syntax error before '}' token
srgplocal.h:126: warning: data definition has no type or storage class
srgplocal.h:129: error: syntax error before "srgp__curActiveCanvasSpec"
srgplocal.h:129: warning: data definition has no type or storage class
srgplocal.h:130: error: syntax error before '*' token
srgplocal.h:130: warning: data definition has no type or storage class
srgplocal.h:146: error: syntax error before "pattern_table_entry"
srgplocal.h:146: warning: data definition has no type or storage class
srgplocal.h:154: error: syntax error before '*' token
srgplocal.h:154: warning: data definition has no type or storage class
srgplocal.h:155: error: syntax error before '*' token
srgplocal.h:155: warning: data definition has no type or storage class
srgplocal.h:167: error: syntax error before "cursorInfo"
srgplocal.h:167: warning: data definition has no type or storage class
srgplocal.h:174: error: syntax error before '*' token
srgplocal.h:174: warning: data definition has no type or storage class
srgplocal.h:188: error: syntax error before '*' token
srgplocal.h:188: warning: data definition has no type or storage class
srgplocal.h:199: error: syntax error before '*' token
srgplocal.h:199: warning: data definition has no type or storage class
srgplocal.h:322: error: syntax error before '*' token
srgplocal.h:322: warning: data definition has no type or storage class
srgplocal.h:336: error: syntax error before '*' token
srgplocal.h:336: warning: data definition has no type or storage class
srgplocal.h:338: error: syntax error before "srgpx__colormap"
srgplocal.h:338: warning: data definition has no type or storage class
srgplocal.h:359: error: syntax error before "srgpx__starttime"
srgplocal.h:359: warning: data definition has no type or storage class
srgp_attrib.c:14: error: syntax error before "gcvals"
srgp_attrib.c:14: warning: data definition has no type or storage class
srgp_attrib.c: In function `SRGP_setWriteMode':
srgp_attrib.c:135: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:145: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:154: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c:158: error: request for member `gc_fill' in something not a structure or union
srgp_attrib.c: In function `SRGP_setClipRectangle':
srgp_attrib.c:177: error: `XRectangle' undeclared (first use in this function)
srgp_attrib.c:177: error: (Each undeclared identifier is reported only once
srgp_attrib.c:177: error: for each function it appears in.)
srgp_attrib.c:177: error: syntax error before "xrect"
srgp_attrib.c:193: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:196: error: `xrect' undeclared (first use in this function)
srgp_attrib.c:197: error: request for member `max_ycoord' in something not a structure or union
srgp_attrib.c:202: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c:204: error: `YXSorted' undeclared (first use in this function)
srgp_attrib.c:207: error: request for member `gc_fill' in something not a structure or union
srgp_attrib.c: In function `SRGP_setFillStyle':
srgp_attrib.c:228: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:238: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:241: error: request for member `gc_fill' in something not a structure or union
srgp_attrib.c: In function `SRGP_setFillBitmapPattern':
srgp_attrib.c:258: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:268: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:273: error: request for member `gc_fill' in something not a structure or union
srgp_attrib.c: In function `SRGP_setFillPixmapPattern':
srgp_attrib.c:287: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:297: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:300: error: request for member `tile' in something not a structure or union
srgp_attrib.c:301: error: request for member `gc_fill' in something not a structure or union
srgp_attrib.c:302: error: `GCTile' undeclared (first use in this function)
srgp_attrib.c: In function `SRGP_setPenStyle':
srgp_attrib.c:322: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:331: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:334: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c: In function `SRGP_setPenBitmapPattern':
srgp_attrib.c:350: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:360: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:365: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c: In function `SRGP_setPenPixmapPattern':
srgp_attrib.c:382: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:392: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:395: error: request for member `tile' in something not a structure or union
srgp_attrib.c:396: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c:397: error: `GCTile' undeclared (first use in this function)
srgp_attrib.c: In function `SRGP_setMarkerSize':
srgp_attrib.c:412: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:421: error: request for member `attributes' in something not a structure or union
srgp_attrib.c: In function `SRGP_setMarkerStyle':
srgp_attrib.c:428: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:437: error: request for member `attributes' in something not a structure or union
srgp_attrib.c: In function `SetXLineAttributes':
srgp_attrib.c:466: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c:467: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:468: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:469: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:470: error: `LineSolid' undeclared (first use in this function)
srgp_attrib.c:470: error: `LineOnOffDash' undeclared (first use in this function)
srgp_attrib.c:471: error: `CapButt' undeclared (first use in this function)
srgp_attrib.c:472: error: `JoinBevel' undeclared (first use in this function)
srgp_attrib.c: In function `SRGP_setLineStyle':
srgp_attrib.c:482: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:491: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:495: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c: In function `SRGP_setLineWidth':
srgp_attrib.c:507: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:516: error: request for member `attributes' in something not a structure or union
srgp_attrib.c: In function `SRGP_setPlaneMask':
srgp_attrib.c:536: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:544: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:549: error: request for member `gc_fill' in something not a structure or union
srgp_attrib.c:552: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c: In function `SRGP_setColor':
srgp_attrib.c:560: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:571: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:574: error: request for member `gc_fill' in something not a structure or union
srgp_attrib.c:576: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c: In function `SRGP_setBackgroundColor':
srgp_attrib.c:597: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:608: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:611: error: request for member `gc_fill' in something not a structure or union
srgp_attrib.c:613: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c: In function `SRGP_setFont':
srgp_attrib.c:653: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:662: error: request for member `attributes' in something not a structure or union
srgp_attrib.c:667: error: request for member `gc_frame' in something not a structure or union
srgp_attrib.c:668: error: invalid type argument of `->'
make[1]: *** [objects/srgp_attrib.o] Error 1
make[1]: Leaving directory `/tmp/srgp/SRGP_DISTRIB/src/srgp'
make: *** [default] Error 2
strange characters are written in greek language it says that the library not include
do you have the X11 development libraries installed?
i think you dont ahve the development libraries.
you can do a locate Xlib.h
in my fedora core 3 it is under /usr/X11R6/include/X11/Xlib.h
if its not thre install these packages first
xorg-x11-devel (on FC3)
i think some other distributions name it as x11-devel
/tmp.cc4addcut.o(text+0x27):In function 'main'
:undefined reference to 'SRGP_begin'
/tmp.cc4addcut.o(text+0x27):In function 'main'
:undefined reference to 'SRGP_end'
collect 2:ld returned 1 exit status
if execute other programs i get similar erros /tmp.****.o:...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.