Xrandr problems when compiling gtk apps
I have problems compiling apps linked to gtk2. The error is always the same:
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetOutputInfo'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetScreenResourcesCurrent'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeOutputInfo'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeScreenResources'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeCrtcInfo'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetCrtcInfo'
collect2: ld returned 1 exit status
I rebuilt and reinstalled gtk2 and libxrandr - no change. On another (virtual) machine running Arch Linux I have no problems. Any idea where to look for the cause?
I have problems compiling apps linked to gtk2. The error is always the same:
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetOutputInfo'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetScreenResourcesCurrent'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeOutputInfo'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeScreenResources'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeCrtcInfo'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetCrtcInfo'
collect2: ld returned 1 exit status
I rebuilt and reinstalled gtk2 and libxrandr - no change. On another (virtual) machine running Arch Linux I have no problems. Any idea where to look for the cause?
Similar Messages
-
Silly problem when compiling main class
hi there,
i have a problem when compiling the main class.
the classes used by the main class are not recognized. the compiler can't locate the children classes.
i've already set the path and classpath environment variables, but there's still something missing.
how should i organize my folders in order to be able to compile the main class successfully, please?
thanks.It would be good to have a precise problem description: the actual command used, folder structure and environment variable settings. Even if you have to construct a simple test case with a couple of classes that illustrates the problem.
In the absence of that some generic remarks:
The PATH variable typically points at all the folders that contain executable files that you use often. You can always access other executable files by specifying there full names.
The CLASSPATH variable is typically left unset.
When you use the java tools (like the javac compiler or the java runtime) you can specify the classpath that you want to use with -cp. This will override any CLASSPATH value. So in the simple case of two classes (Main and MyClass), you can put them in anywhere you like (for example C:\MyJavaStuff) and compile and run with:
{noformat}
C:\MyJavaStuff> javac -cp . *.java
C:\MyJavaStuff> java -cp . Main
{noformat}(Mind the dot after -cp))
By a "main" class I guess you mean a class with a static void main(String args[]) method, but I am suspicious of your "child" classes. Perhaps packages are involved. A precise description of the problem would help. -
i use captivate 8, the problem when i make app for android. the sound not heard.
i use android4.4. how i do?
i use phonegap online.
thank youYes I do spend a lot of time in China but I have had problems in other countires as well. I am in China right now.
I have two Gmail accounts and one Cox account. Cox is my intranet provider back home. I have had problems with all three accounts.
I have tried several outgoing port settings. 993, 995 465, 587 are some that I can remember trying.
Sometimes my accounts will go offline without me doing anything. This is all a mystery to me. I don't have any idea why I have trouble like this. A few minutes ago I changed my Cox account outgoing port and took the account on line and I got my incoming email but when I tried to forward an email that I got it would not go out.
Any ideas you have would be helpful. -
Create problem when compiling the servlet
hi,
i got a problem when i compile a servlet
when i try to compile the servlet, it shows that it could
not found the classes like httpservlet, etc.
means the classes of the servlet
i am using the j2sdk1.4.1 edition,
i had include the javax.servlet.*; in the program
please tell me what can be the problem & especially any solution for thatthe javax.servlet package and it's sub packages (javax.servlet.http, javax.servlet.jsp, javax.servlet.jsp.tagext) are not included with the Standard Edition. These packages are part of the Enterprise Edition. Check out this link for download:
http://java.sun.com/j2ee/sdk_1.3/ -
Codepage problem when compiling with fastjavac
Hi,
I'm getting the following warnings when compiling with fastjavac:
fastjavac: warning: Can't find codepage for "Cp1250" encoding.
fastjavac: warning: Use default ANSI codepage.
2 warnings
How could I suppress these warnings?
Thanks in advanceI think you are posting it on the wrong Forum. This is for Forte 4GL not Forte for Java.
-
When compiling TWIN from AUR (here), I got stuck at "make" phase. I download the tarball from AUR and makepkg from my home directory. The point at where I got stuck is this:
libTw.c: In function 'Tw_Close':
libTw.c:1224: error: invalid storage class for function 'DeleteAllListeners'
libTw.c:1253: warning: implicit declaration of function 'DeleteAllListeners'
libTw.c: In function 'Tw_StrError':
libTw.c:1634: error: static declaration of 'DeleteAllListeners' follows non-static declaration
libTw.c:1253: error: previous implicit declaration of 'DeleteAllListeners' was here
make[2]: *** [libTw.o] Error 1
make[2]: Leaving directory `/home/prasetya/Build/twin/src/twin-0.4.6/libs/libTw'
make[1]: *** [build-dir-libTw] Error 2
make[1]: Leaving directory `/home/prasetya/Build/twin/src/twin-0.4.6/libs'
make: *** [build-dir-libs] Error 2
==> ERROR: Build Failed.
Aborting...
I have read this thread and have installed termcap-compat and required deps as mentioned. It configures fine.
Any help is appreciated..Duplicate post, please go here:
http://forums.ni.com/ni/board/message?board.id=170&message.id=204588
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
I have tried to start learning iOS development, however whenever i try to compile my app i always get a load of errors with the 4.2 frameworks
this is the errors i keep getting
http://pastebin.com/raw.php?i=kavS0zNA
does anyone know what i have done wrong?Please use the confidential forums created for this purpose:
iOS 5 beta -
Llvm-g++ problems when compiling alchemy
Hello community,
I wanted to have a look at alchemy, so I installed cygwin and configured alchemy. However, I'm a little bit stucked... I did the steps in the tutorial but when compiling I got errors (note, I use g++ instead of gcc):
$ alc-on && g++ c__/blackcat.c -O3 -Wall -swc -o swc/blackcat.swc
3 [main] llvm-g++ 4360 child_copy: cygheap read copy failed, 0x61224780..0
x6122A4C4, done 0, windows pid 4360, Win32 error 6
3 [main] llvm-g++ 4656 child_copy: cygheap read copy failed, 0x61224780..0
x6122A4C4, done 0, windows pid 4656, Win32 error 6
3 [main] llvm-g++ 4816 child_copy: cygheap read copy failed, 0x61224780..0
x6122A4C4, done 0, windows pid 4816, Win32 error 6
3 [main] llvm-g++ 2792 child_copy: cygheap read copy failed, 0x61224780..0
x6122A4C4, done 0, windows pid 2792, Win32 error 6
4 [main] llvm-g++ 2264 child_copy: cygheap read copy failed, 0x61224780..0
x6122A4C4, done 0, windows pid 2264, Win32 error 6
3 [main] llvm-g++ 3368 child_copy: cygheap read copy failed, 0x61224780..0
x6122A4C4, done 0, windows pid 3368, Win32 error 6
So I tried different things like removing the symbolic links, then relinked them, copied alchemy again, reinstalled cygwin, installed cygwin onto another drive, copied flexsdk to c/flexsdk, but nothing of this did the job.
Did anyone else had same errors?
I'm running a german Windows 7 x86_64 version here.
My business partner got it to work on his machine, but he also doesn't know why it's not working on mine.
Can someone help?
Kind Regards,
DanielThis is an "invalid handle" error.
The first thing to do is run your cygwin session as administrator. If that doesn't fix it, I would check the file permissions on the drive.
If the setup doesn't work properly (i.e. the symlinks don't get created properly), I don't think you even get this far, but that's something to check as well. If your colleague has it working, you can compare your installs. -
Problem when compiling for IOS
Hello to all guys, before today i compiled my little app for ios easely but from this morning i'm having this error using AIR 3.8:
however i can install my app on my iphone5 with no problems but i'm scared for this message
p.s. before using AIR 3.8(version 3.7) i had this problem and another like PIE error but with AIR 3.8 the PIE error disappearedup
-
Package problem when compiling
Hi,
I'm new to java. I'm using Win2000 and JDK1.3.1. I set the "c:\jdk1.3.1\bin" in the System's path. There are three java programs with their own package in the directory as follows:
"pack.java" - under "c:\jdk1.3.1\bin\test", it will call pack1 & pack2.
"pack1.java" - under "c:\jdk1.3.1\bin\test\sub1"
"pack2.java" - under "c:\jdk1.3.1\bin\test\sub2"
It's ok to compile "pack1.java" and "pack2.java" under their directory. But there is the compiling error for the "pack.java" under "c:\jdk1.3.1\bin\test", even though I've put the "import test.sub1.pack1;" and "import test.sub2.pack2;" in the code. The error were as follows:
- cannot resolve symbol
- symbol : class pack1
- location: package sub1
- import test.sub1.pack1;
- cannot resolve symbol
- symbol : class pack2
- location: package sub2
- import test.sub2.pack2;
I'm not sure what the problem is with the package and/or the import statement. Can any experts help me?
Thanks in advance.
HannaHi all gurus,
Thank you very much for the help!
After adding the classpath "c:\jdk1.3.1\bin" to the System's setting, I can compile the "pack.java" under the "test" directory with the command "javac -classpath c:\jdk1.3.1\bin c:\jdk1.3.1\bin\test\pack.java". However, when I run "pack" with the command "java -classpath c:\jdk1.3.1\bin c:\jdk1.3.1\bin\test\pack", there is another error appears as follows, although the "pack.class" has been already there:
- "Exception in thread "main" java.lang.NoClassDefFoundError: c:\jdk1/3/1\bin\test\pack"
My "pack.java" code is below:
package test;
import test.sub1.pack1;
import test.sub2.pack2;
class pack{
public static void main(String[] args){
System.out.println("Starting pack");
System.out.println("Instantiate obj of public classes in different packages");
//Instantiate objects of pack1 and pack2 in different packages.
new pack1();
new pack2();
System.out.println("Ending pack");
What's wrong with them? Could you please help me on that?
Thanks again!
Hanna -
Got problem when installing air app on iphone simulator
Hi,
when i execute this command:
adt -installApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S DKs/iPhoneSimulator5.1.sdk -device ios-simulator -package test.ipa
I got a error:
dyld: Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
Referenced from: /Applications/Adobe Flash Builder 4.6/sdks/4.6.0_air_3.3_beta2/lib/aot/bin/isb/isb
Reason: image not found
/var/folders/kf/__q_f1n9789cl9thm45p4fvw0000gn/T/cmd14498987401590501.tmp: line 1: 824 Trace/BPT trap: 5 "/Applications/Adobe Flash Builder 4.6/sdks/4.6.0_air_3.3_beta2/lib/aot/bin/isb/isb" "-install" "-apppath" "/var/folders/kf/__q_f1n9789cl9thm45p4fvw0000gn/T/1f8cd5bc-d002-4fbc-8410-cf163ef2272b/Pa yload/Main.app" "-sdkpath" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/ SDKs/iPhoneSimulator5.1.sdk"
I am a new mac user, my system is Mac OS X 10.7.3, with the xcode 4.3.1 installed. Does anybody help me? thanks.Have the same problem.
dyld: Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
Referenced from: /Users/zh/Documents/flashResources/SDKs/4.6.0 + AIR 3.3b2/lib/aot/bin/isb/isb
Reason: image not found
/var/folders/dw/v8kcffb17fq4386ntnmw92540000gp/T/cmd2510539742407100497.tmp: line 1: 2050 Trace/BPT trap: 5 "/Users/zh/Documents/flashResources/SDKs/4.6.0 + AIR 3.3b2/lib/aot/bin/isb/isb" "-install" "-apppath" "/var/folders/dw/v8kcffb17fq4386ntnmw92540000gp/T/512b6309-2a2d-467d-a1cc-56687aab4f4c/Pa yload/test.app" "-sdkpath" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/ SDKs/iPhoneSimulator5.1.sdk" -
Error when compiling on app server
I have the following trigger (as well as others) that runs fine on my machine (Win2K Pro Dev. Rel. Forms Version 9.0.2.12.2) but when I try to compile on the application server I get errors.
Begin
Select s_comment.NextVal
Into comm_id
From dual;
end;
Compiling PRE-INSERT trigger on form...
Compilation error on PRE-INSERT trigger on form:
PL/SQL ERROR 201 at line 4, column 6
identifier 'DUAL' must be declared
PL/SQL ERROR 0 at line 2, column 1
SQL Statement ignored
Am I missing something very simple?or are you suggesting I compile from the
command prompt using a connect string? Thanks.Yes. I don't know anything about 9ias app server on linux, but on windows you can use this command from the command line.
ifcmp90 should be located in <ORACLE_HOME>/bin.
ifcmp90 module=<mymodule> userid=usr/pwd@db batch=YES Output_File=<myfmx>
Hope this helps
Gerald Krieger -
Problem when compiling example from TechEd 2008
Hi,
I' am using sap sneak preview 7.01 and I'm trying to compile the ZMHO_EX3_* webdynpro example.
I get the error :
"syntax error : long text".
When I check the syntax I have allways the same error :
Field ")" is unknown...
each time the source code follow this structure :
wd_this->mr_message_manager = wd_this->wd_get_api ( )->get_message_manager( ).
All the attributes of the assistance class ZCL_MHO_WD_SERVICE are red highlight.
I need to use FlashIsland to create mockups for a ramp up client, can you help me to solve this this problem ?
Thanks,
RegardsHi,
thank you very much for answering me so quickly, I really appreciate this.
I'have already try to fix the problem by splitting the line code, but it doesn't work.
I paste bellow my piece of code, it is located in the method wdoinit of the component controller
METHOD wdoinit .
data l_api type ref to if_componentcontroller .
l_api = wd_this->wd_get_api( ) .
wd_this->mr_message_manager = l_api->get_message_manager( ) .
wd_this->init_new_record( so_id = '00000000005000000010' ) .
wd_this->read_products( ) .
ENDMETHOD.
I get the following error :
The result type of the function method cannot be converted into the type of l_api type of l_api.
Instead of if_componentcontroller I tried ig_componentcontroller too, but it doesn't work too.
The long text error at the origin of my post as a lot of occurences in the syntax error window when I check this application: about 10 errors with the same origin.
All attributes of the assistance class ZCL_MHO_WD_SERVICE are allways displayed in red, is it normal ?
Have I to setup/upgrade something on my system in order it will work ?
(There is a lot of errors, since is there a global solution to fix it in one shoot ?)
Thank you,
Regards. -
Consistent annoying problem when compiling and installing Apache modules.
Every time I build and install mod_jk for Apache (Since binaries are no longer available for Apache 1.3.x on Mac OS X, we have to build it ourselves.), everything goes smoothly until the final 'sudo make install,' and then it finishes with:
Libraries have been installed in:
/usr/libexec
Which is nice, but they're supposed to be installed in /usr/libexec/httpd in Mac OS X. (I don't know if this is a problem for Mac OS X Server too, but I'm using regular old Mac OS X 10.4.10, so I'm posting this here.)
I'm using this when I call configure:
% ./configure --with-apxs=/usr/sbin/apxs
and /usr/sbin/apxs says:
my $CFG_LIBEXECDIR = q(/usr/libexec/httpd);
but the resulting Makefile says:
libexecdir=${APACHE_DIR}/libexec
So it appears to be ignoring the definition from apxs. It also appears that the definition of libexecdir appears to be variable only up until libexec. It looks like you can't tell it to use a subdirectory.
It's easy enough to just move the installed files into the httpd directory, with sudo mv /usr/libexec/mod_jk.* usr/libexec/httpd, but it's a little annoying to have to remember to do this every time I upgrade mod_jk.
Has anybody else run into this with this or other modules? Is it a bug that should be reported to either Apple or Apache? Does anybody have a better solution than moving the files?MoonSwan wrote:I have a desktop system and a netbook that I would like to have hibernating when they aren't being used. The wiki outlined roughly how to accomplish this with this page: https://wiki.archlinux.org/index.php/Tuxonice
I downloaded from the AUR the kernel26-ice 2.6.38-4 to compile and install.
Hm... netbook.
If you don't mind trying bfs and bfq too, then you could give the pf-kernel that is mentioned in the wiki too a try:
http://aur.archlinux.org/packages.php?ID=50956
It has a repository here:
[pfkernel]
Server = http://dl.dropbox.com/u/11734958/$arch
and a thread: https://bbs.archlinux.org/viewtopic.php?id=103462
I'm not quite sure how netbook performance is affected by BFS...
It has the bonus to already be based on 3.0.
Last edited by Cdh (2011-07-28 20:35:50) -
How to get rid of Registration Wizard screen when compiling VB6 app?
I have inherited a VB6 application that uses CR 10. I have a fresh Win XP w/SP2 installation, I have a fresh Visual Studio 6 w/ SP5 installation. And I have a brand new copy, supplied by SAP of CR 10. When I compile the VB6 app I get multiple instances of the CR Registration Wizard with my serial number already filled in and grayed out. But I can't get rid of these registration nags. I've found no solution in the knowledge base. Any help is appreciated.
Go to the Download page and install all of the available patches.
Then check the Life Cycle page, CR 10 has been out of support for 4 or 5 years now. If you fully supported product then purchase CR 2008 or wait a little for CR 2010/2011.
Thank you
Don
Maybe you are looking for
-
I changed my id. When I want, now, update my apps I'm asked my pwd corresponding to my old id. I forgot this old pwd and can(t get it from apple. It seems the old id doesn(t exist anymore. What should I do? J'ai changé mon id. Je veux mettre à jour m
-
Run multiple reports simultaneously?
Hi All, We currently use a reports server with our oracle application server 10g install. The one problem we are experiencing is that when multiple reports are running all have to wait while the current one finishes. Is there a way to set up the repo
-
Hi all, I want to create the file system repository for my system . Here is what i have done. Created a directory on my local machine and shared it giving the folder full access. Created a system in CM and system configuration (KM windows system) and
-
Hi, I got a error while sending data from HTTP client to BPM. Message details Inbound channel : Plain HTTP Outbound channel : PE error category : BPE_ADAPTER Error Code : UNKNOWN_MESSAGE plz. help me out.. thanks in advance.
-
Specifying explicitly if it relative to the page or to the margin.
There is a problem when a part of an object exit the page bound if the pages' direction shuffled. This problem rise when the pages's direction shuffled again. So I suggest if there is a way to specify explicitly if an object is relative to the page o