Trying to compile muse...
Hey guys!
I try to compile muse. First I copied the /var/abs/extra/muse to /var/abs/ and edited the PKGBUILD to make it fit to the current release number (0.9).
But anyway I get an error: http://pastebin.ca/1064584
Can anyone help?
Thanks
The code is not gcc 4.3 aware. You can file an upstream bug report or try to patch it yourself. See http://archlinux.org/pipermail/arch-dev … 05175.html for advice.
Last edited by Stefan Husmann (2008-07-07 12:58:02)
Similar Messages
-
Getting error message Cannot Resolve Symbol when trying to compile a class
Hello All -
I am getting an error message cannot resolve symbol while trying to compile a java class that calls another java class in the same package. The called class compiles fine, but the calling class generates
the following error message:
D:\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\cal>javac
ConnectionPool.java
ConnectionPool.java:158: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
private void addConnection(PooledConnection value) {
^
ConnectionPool.java:144: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
PooledConnection pcon = new PooledConnection(con);
^
ConnectionPool.java:144: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
PooledConnection pcon = new PooledConnection(con);
The code is listed as follows for PooledConnection.java (it compiles fine)
package cal;
import java.sql.*;
public class PooledConnection {
// Real JDBC Connection
private Connection connection = null;
// boolean flag used to determine if connection is in use
private boolean inuse = false;
// Constructor that takes the passed in JDBC Connection
// and stores it in the connection attribute.
public PooledConnection(Connection value) {
if ( value != null ) {
connection = value;
// Returns a reference to the JDBC Connection
public Connection getConnection() {
// get the JDBC Connection
return connection;
// Set the status of the PooledConnection.
public void setInUse(boolean value) {
inuse = value;
// Returns the current status of the PooledConnection.
public boolean inUse() {
return inuse;
// Close the real JDBC Connection
public void close() {
try {
connection.close();
catch (SQLException sqle) {
System.err.println(sqle.getMessage());
Now the code for ConnectionPool.java class that gives the cannot
resolve symbol error
package cal;
import java.sql.*;
import java.util.*;
public class ConnectionPool {
// JDBC Driver Name
private String driver = null;
// URL of database
private String url = null;
// Initial number of connections.
private int size = 0;
// Username
private String username = new String("");
// Password
private String password = new String("");
// Vector of JDBC Connections
private Vector pool = null;
public ConnectionPool() {
// Set the value of the JDBC Driver
public void setDriver(String value) {
if ( value != null ) {
driver = value;
// Get the value of the JDBC Driver
public String getDriver() {
return driver;
// Set the URL Pointing to the Datasource
public void setURL(String value ) {
if ( value != null ) {
url = value;
// Get the URL Pointing to the Datasource
public String getURL() {
return url;
// Set the initial number of connections
public void setSize(int value) {
if ( value > 1 ) {
size = value;
// Get the initial number of connections
public int getSize() {
return size;
// Set the username
public void setUsername(String value) {
if ( value != null ) {
username = value;
// Get the username
public String getUserName() {
return username;
// Set the password
public void setPassword(String value) {
if ( value != null ) {
password = value;
// Get the password
public String getPassword() {
return password;
// Creates and returns a connection
private Connection createConnection() throws Exception {
Connection con = null;
// Create a Connection
con = DriverManager.getConnection(url,
username, password);
return con;
// Initialize the pool
public synchronized void initializePool() throws Exception {
// Check our initial values
if ( driver == null ) {
throw new Exception("No Driver Name Specified!");
if ( url == null ) {
throw new Exception("No URL Specified!");
if ( size < 1 ) {
throw new Exception("Pool size is less than 1!");
// Create the Connections
try {
// Load the Driver class file
Class.forName(driver);
// Create Connections based on the size member
for ( int x = 0; x < size; x++ ) {
Connection con = createConnection();
if ( con != null ) {
// Create a PooledConnection to encapsulate the
// real JDBC Connection
PooledConnection pcon = new PooledConnection(con);
// Add the Connection to the pool.
addConnection(pcon);
catch (Exception e) {
System.err.println(e.getMessage());
throw new Exception(e.getMessage());
// Adds the PooledConnection to the pool
private void addConnection(PooledConnection value) {
// If the pool is null, create a new vector
// with the initial size of "size"
if ( pool == null ) {
pool = new Vector(size);
// Add the PooledConnection Object to the vector
pool.addElement(value);
public synchronized void releaseConnection(Connection con) {
// find the PooledConnection Object
for ( int x = 0; x < pool.size(); x++ ) {
PooledConnection pcon =
(PooledConnection)pool.elementAt(x);
// Check for correct Connection
if ( pcon.getConnection() == con ) {
System.err.println("Releasing Connection " + x);
// Set its inuse attribute to false, which
// releases it for use
pcon.setInUse(false);
break;
// Find an available connection
public synchronized Connection getConnection()
throws Exception {
PooledConnection pcon = null;
// find a connection not in use
for ( int x = 0; x < pool.size(); x++ ) {
pcon = (PooledConnection)pool.elementAt(x);
// Check to see if the Connection is in use
if ( pcon.inUse() == false ) {
// Mark it as in use
pcon.setInUse(true);
// return the JDBC Connection stored in the
// PooledConnection object
return pcon.getConnection();
// Could not find a free connection,
// create and add a new one
try {
// Create a new JDBC Connection
Connection con = createConnection();
// Create a new PooledConnection, passing it the JDBC
// Connection
pcon = new PooledConnection(con);
// Mark the connection as in use
pcon.setInUse(true);
// Add the new PooledConnection object to the pool
pool.addElement(pcon);
catch (Exception e) {
System.err.println(e.getMessage());
throw new Exception(e.getMessage());
// return the new Connection
return pcon.getConnection();
// When shutting down the pool, you need to first empty it.
public synchronized void emptyPool() {
// Iterate over the entire pool closing the
// JDBC Connections.
for ( int x = 0; x < pool.size(); x++ ) {
System.err.println("Closing JDBC Connection " + x);
PooledConnection pcon =
(PooledConnection)pool.elementAt(x);
// If the PooledConnection is not in use, close it
if ( pcon.inUse() == false ) {
pcon.close();
else {
// If it is still in use, sleep for 30 seconds and
// force close.
try {
java.lang.Thread.sleep(30000);
pcon.close();
catch (InterruptedException ie) {
System.err.println(ie.getMessage());
I am using Sun JDK Version 1.3.0_02" and Apache/Tomcat 4.0. Both the calling and the called class are in the same directory.
Any help would be greatly appreciated.
tnx..
addiIs ConnectionPool in this "cal" package as well as PooledConnection? From the directory you are compiling from it appears that it is. If it is, then you are compiling it incorrectly. To compile ConnectionPool (and PooledConnection similarly), you must change the current directory to the one that contains cal and type
javac cal/ConnectionPool. -
Trying to compile a .java file from another .java file
Hello,
I'm trying to compile a .java file from another .java file using Runtime.exec...
String c[]=new String[3];
c[0]="cmd.exe"; c[1]="/c" ; c[2]="javac Hello.java";
Process p=Runtime.exec(c);
If anyone can help me in atleast getting the command prompt when Runtime.exec("cmd.exe") is executed...that would be great...I tried out notepad.exe, calc, explorer instead of cmd.exe...all the commands display their respective windows..except cmd.exe...the command prompt doesnt appear...
Please help me ASAP....
Thanks for your help in advance...
Regards.
AKhila.try this. ur code will be compliled and will get .class file. but console won't appear. is it a must for u?
public class Exec{
public static void main(String a[]) throws Exception{
String c[]=new String[3];
c[0]="cmd.exe"; c[1]="/c" ; c[2]="javac Hello.java";
Process p=Runtime.getRuntime().exec(c);
// or Runtime.getRuntime().exec("javac Hello.java"); -
Java.lang.NullPointerException when trying to compile
Hi everybody!
I'm trying to compile a file using javax.tools.JavaCompiler but I get a java.lang.NullPointerException when running the program.
Here is my code:
public boolean CompExecFile(File filename){
boolean compRes = false;
try {
System.out.println(filename.getAbsolutePath());
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null); //line where I get the error
Iterable<? extends JavaFileObject> compilationUnits2 = fileManager.getJavaFileObjects(filename);
compRes = compiler.getTask(null, fileManager, null, null, null, compilationUnits2).call();
fileManager.close();
if (compRes) {
System.out.println ("Compilation was successful");
} else {
System.out.println ("Compilation failed");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return compRes;
}There error on the line "StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null);":
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException+
I've seen several examples using the parameters "null,null,null" but I don't know if it's good :(
Many thanks for your help.I've found something which could maybe be what I need to do but I'm not sure:
// Build a new ClassLoader using the given URLs, replace current Classloader
ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
ClassLoader newCL = new URLClassLoader(myClasspathURLs, oldCL);
Thread.currentThread().setContextClassLoader(newCL);
System.out.println("Successfully replaced ClassLoader");
Class fooClass = newCL.loadClass(appClass); //which replaces the line "Class<?> tempFileClass = Class.forName("TempFile");" ?!Is that what I need to do?
EDIT: I've tried that but I still have the same problem:
File classFile = new File ("TempFile.class");
ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
ClassLoader newCL = new URLClassLoader(new URL[] {classFile.toURL()}, oldCL);
Thread.currentThread().setContextClassLoader(newCL);
System.out.println("Successfully replaced ClassLoader");
Class tempFileClass = newCL.loadClass("TempFile");
Method main = tempFileClass.getMethod("main", String[].class);
main.invoke(null,new String[0]); Edited by: Foobrother on Jul 28, 2008 8:18 AM -
Suffering an complie error when trying to compile java class in EBS11i
Hi,
When I trying to compile java classes with which imported the HttpServletResponse class, will get the follow error message:
package javax.servlet does not exist
cannot resolve symbol
symbol : class HttpServletResponse
It seems the javax.servlet package is not included in the classpath. But I checked the $CLASSPATH, it seems no problem.
echo $CLASSPATH
/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u02/applvis/viscomn/java/appsborg2.zip:/u02/applvis/visora/8.0.6/forms60/java:/u02/applvis/viscomn/java
Does anyone know the reason?
environment: ebs 11i
Thanks&Regards,
Xiaofengresolved this issue.
1. Edit $APPL_TOP/admin/adovars.env file -
Add the following jar files to the AF_CLASSPATH line -
Full path of /...../iAS/Apache/Jsdk/lib/jsdk.jar
Full path of /...../iAS/Apache/Jserv/libexec/ApacheJServ.jar
2. Bounce the concurrent manager in order to have the changes take effect. -
Error when trying to compile HTML help
I'm using RoboHelp 7.0 on Windows XP. All of the sudden, last
week, I start getting the following error when I try to compile
"Fatal Error: Unexpected error from Microsoft HTML compiler." I've
read the other posts regarding this error and deleted the .CPD file
multiple times and tried to compile again still with no success.
I've uninstalled and reinstalled multiple times and not had any
better results. The other author in my office can check the project
out of RoboSource and compile it fine. I have it on my local drive
when trying to compile.
I'd appreciate any ideas. It doesn't make sense that is
something in the project since my other author can compile it fine.
Thanks,
NitaHi, Nita,
Do you have any other RoboHelp projects that you can try
compiling? This may help to determine whether there's something
slightly askew about this particular project — sounds
unlikely if your colleague can compile without error — or
whether the problem lies in your RoboHelp installation.
I'd also recommend that you run MJ's Help Diagnostics,
available from the address below. This will verify that all the
HTML Help viewer and compiler components are properly installed and
registered on your machine.
http://helpware.net/downloads/index.htm#MJs
Pete -
Trying to compile bean...
Hi I'm having some difficulty here when compiling some bean code into a class.
My SDK is located at C:\j2sdk1.4.0
I'm calling javac from the dirctory of the bean code: C:\jakarta...\webapps\frank\WEB-INF\classes\
I'm getting errors that say:
javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
^
When trying to compile the following bean code:
import java.io.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletInputStream;
public class SimpleBean {
public void doUpload(HttpServletRequest request) throws
IOException {
PrintWriter pw = new PrintWriter(
new BufferedWriter(new FileWriter("Demo.out")));
ServletInputStream in = request.getInputStream();
int i = in.read();
while (i != -1) {
pw.print((char) i);
i = in.read();
pw.close();
My Java home environment var is set to: C:\j2sdk1.4.0 but have nothing in my classpath. Is this the problem?
FrankIt looks like you are trying to use J2EE components such as servlets, and the JDK that you have installed is Java 2 Standard Edition JDK. You will need J2EE SDK (available for free from Sun) and a Apache Ant to build your components (go to http://jakarta.apache.org/ant/). Then you will need to configure them both (instructions on that are included in installation packages).
After you're done, you can compile the component using the "ant" command.
Hope this helps! -
6 errors trying to compile TalkClientApplet.java
Hello:
Trying to compile TalkClientApplet.java at:
http://java.sun.com/docs/books/tutorial/deployment/applet/ex5/TalkClientApplet.java
on the jdk1.5.0_06, Windows XP, and I received the following errors:
TalkClientApplet.java:94:incomparable types:boolean and <nulltype>
if(receivedThread ==null){
TalkClientApplet.java:99:incompatible types
found:java.lang.Thread
required:boolean
receiveThread=new Thread(this);
TalkClientApplet.java:100:boolean cannot be dereferenced
receiveThread.start();
TalkClientApplet.java:150:incompatible types
found :<nulltype>
required:boolean
receiveThread=null;
TalkClientApplet.java:186:incomparable types:boolean and <nulltype>
if(receiveThread==null){
TalkClientApplet.java:258:incomparable types:java.lang.Thread and
boolean while (Thread.currentThread()==receiveThread){
Thanks in advance for your help.Hello:
I am following the code from:
http://java.sun.com/docs/books/tutorial/deployment/applet/ex5/TalkClientApplet.java
which was pointed to from:
http://java.sun.com/docs/books/tutorial/deployment/applet/workaround.html
This is the section:
private void start(boolean onEDT) {
if (DEBUG) {
System.out.println("In start() method.");
if (receiveThread == null) {
trysted = false;
os = null;
is = null;
socket = null;
receiveThread = new Thread(this);
receiveThread.start();
if (DEBUG) {
System.out.println(" Just set everything to null and started thread.");
enableGUI(onEDT);
Thanks -
Trying to compile HP / Emulex 10GbE Driver with OVM 2.2.2 SDK
Hi
I am trying to compile AN HP/EMULEX driver using the ovm 2.2.2 SDK. The driver seems to be included in OVM 3.0 by default. Card is not recognised in 2.2.2. I need a 2.2.2 driver to connect our older VM servers to a new 10GbE network. The diver is found at
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=uk&prodNameId=4111423&prodTypeId=329290&prodSeriesId=4111422&swLang=8&taskId=135&swEnvOID=4004
I get the following errors. Any advice much appreciated.
Mike
[root@ovmbuild ~]# rpmbuild target=i686 -bb /usr/src/redhat/SPECS/hp-benet.kmp.spec define 'KVER 2.6.18-8.el5xen'
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.97553
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf hp-be2net-4.0.359.0
+ /bin/gzip -dc /usr/src/redhat/SOURCES/hp-be2net-4.0.359.0.tar.gz
+ tar -xvvf -
drwxr-xr-x root/root 0 2011-08-18 10:58:31 hp-be2net-4.0.359.0/
-rw-r--r-- root/root 68535 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_cmds.c
-rw-r--r-- root/root 16630 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_compat.h
-rw-r--r-- root/root 39057 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_cmds.h
-rw-r--r-- root/root 185 2011-08-18 10:58:31 hp-be2net-4.0.359.0/Makefile
-rw-r--r-- root/root 18693 2011-08-18 10:58:31 hp-be2net-4.0.359.0/COPYING
-rw-r--r-- root/root 15325 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be.h
-rw-r--r-- root/root 2593 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_misc.c
-rw-r--r-- root/root 15180 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_proc.c
-rw-r--r-- root/root 104420 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_main.c
-rw-r--r-- root/root 15462 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_compat.c
-rw-r--r-- root/root 1286 2011-08-18 10:58:31 hp-be2net-4.0.359.0/version.h
-rw-r--r-- root/root 15404 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_hw.h
-rw-r--r-- root/root 23261 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_ethtool.c
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hp-be2net-4.0.359.0
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ set -- COPYING Makefile be.h be_cmds.c be_cmds.h be_compat.c be_compat.h be_ethtool.c be_hw.h be_main.c be_misc.c be_proc.c version.h
+ mkdir source
+ mv COPYING Makefile be.h be_cmds.c be_cmds.h be_compat.c be_compat.h be_ethtool.c be_hw.h be_main.c be_misc.c be_proc.c version.h source/
+ mkdir obj
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.97553
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd hp-be2net-4.0.359.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ export 'EXTRA_CFLAGS=-DVERSION=\"4.0.359.0\"'
+ EXTRA_CFLAGS='-DVERSION=\"4.0.359.0\"'
+ for flavor in xen
+ rm -rf obj/xen
+ cp -r source obj/xen
+ export SRC=/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen
+ SRC=/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen
++ '[' xen = default ']'
++ echo xen-
+ make -C /usr/src/kernels/2.6.18-8.el5-xen-i686 modules M=/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen CONFIG_BE2NET=m
make: Entering directory `/usr/src/kernels/2.6.18-8.el5-xen-i686'
CC [M] /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.o
In file included from /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be.h:38,
from /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:18:
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:286: warning: 'struct delayed_work' declared inside parameter list
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:286: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h: In function 'backport_cancel_delayed_work_sync':
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:288: error: dereferencing pointer to incomplete type
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h: At top level:
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:294: warning: 'struct delayed_work' declared inside parameter list
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h: In function 'backport_schedule_delayed_work':
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:297: error: dereferencing pointer to incomplete type
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:299: error: dereferencing pointer to incomplete type
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h: At top level:
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:321: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'csum_unfold'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:346: error: expected specifier-qualifier-list before '__wsum'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:424: error: expected declaration specifiers or '...' before '__wsum'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:429: error: expected declaration specifiers or '...' before '__wsum'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h: In function 'be_vlan_put_tag':
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:596: error: implicit declaration of function 'skb_set_network_header'
In file included from /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:18:
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be.h: At top level:
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be.h:380: error: field 'work' has incomplete type
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:45: warning: type defaults to 'int' in declaration of 'DEFINE_PCI_DEVICE_TABLE'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:45: warning: parameter names (without types) in function declaration
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:45: error: function 'DEFINE_PCI_DEVICE_TABLE' is initialized like a variable
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: braces around scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: invalid initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: braces around scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: invalid initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: braces around scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: invalid initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: braces around scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: invalid initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: field name not in record or union initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: warning: braces around scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: error: invalid initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: warning: excess elements in scalar initializer
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: In function 'wrb_fill_hdr':
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:590: error: implicit declaration of function 'skb_is_gso_v6'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: In function 'be_vlan_rem_vid':
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:836: error: implicit declaration of function 'vlan_group_set_device'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: In function 'be_rx_compl_process_lro':
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:1278: error: too many arguments to function 'lro_receive_frags_compat'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:1282: error: too many arguments to function 'lro_vlan_hwaccel_receive_frags_compat'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: In function 'be_worker':
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:2176: warning: type defaults to 'int' in declaration of '__mptr'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:2176: warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: In function 'be_probe':
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:3699: error: implicit declaration of function 'DMA_BIT_MASK'
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: At top level:
/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:4036: error: 'be_dev_ids' undeclared here (not in a function)
make[1]: *** [usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.o] Error 1
make: *** [_module_/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen] Error 2
make: Leaving directory `/usr/src/kernels/2.6.18-8.el5-xen-i686'
error: Bad exit status from /var/tmp/rpm-tmp.97553 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.97553 (%build)http://www.nvnews.net/vbulletin/showpos … ostcount=4
-
I tried the cloud muse app and now when I try to install any add on or template they install to the cloud instead of my regular lightroom 5.6 desktop app. How do I fix this?
Please try to perform the steps mentioned on below links
Sign out, Sign in | Creative Cloud Desktop app
Sign in, activation, or connection errors | CS5.5 and later -
Errors while trying to compile rdf file on LINUX
hi all,
We are trying to compile rdf file on linux using this command line:
$ORACLE_HOME/bin/rwconverter.sh userid=scott/tiger@dbname batch=no source=test.rdf stype=rdffile dtype=repfile overwrite=yes.
The following errors occured:
REP-0004: Warning: Unable to open user preference file.
REP-3000: Internal error starting Oracle Toolkit.
What's the problem!
plz help.Hi,
These Metalink (http://metalink.oracle.com) notes might help you:
210795.1 : Troubleshooting Guide for REP-4 error
200474.1 : Comprehensive REP-3000 Troubleshooting and Overview Guide
Navneet. -
[SOLVED] Trying to compile Cafu engine - Unable to find dependencies
Hello,
I'm pretty new to Arch and currently I'm trying to compile Cafu (an open source game and graphics engine). On my notebook (running Xubuntu) I was able to compile it successfully but here in Arch the build fails after a while. I guess this is due to a dependency I am missing. Of course I have read the Cafu documentation first and it states that the following packages are needed:
Cafu documentation wrote:
A graphics driver with 3D hardware acceleration (the right driver is usually auto-detected and installed by the “Driver Manager”).
build-essential – The compiler and basic tools required to compile C and C++ programs.
libgtk2.0-dev – Developer files for GTK 2.0, needed for building wxGTK.
libgl1-mesa-dev and libglu1-mesa-dev – OpenGL developer files, needed for building wxGTK and the Cafu rendering subsystem. On Debian Sarge (3.1), the packages xlibmesa-gl-dev and xlibmesa-glu-dev used to serve the same purpose, but on newer systems, they have been replaced by the libgl(u)1-mesa-dev packages.
libasound2-dev – ALSA developer files, needed for building OpenAL-Soft.
The problem ist, that these packages refer to Ubuntu packages. I was trying to find the equivalent Arch packages, but for the three last list points I was unable to find such a package. So I simply gave it a try, but the build fails as mentioned before. I know, this is not a Cafu forum and this console output will most likely not be very helpful, but I'll post it anyway:
scons: building associated VariantDir targets: build/linux2/g++/debug build/linux2/g++/release
g++ -o Libs/build/linux2/g++/release/Models/Loader_lwo.o -c -O3 -funsigned-char -Wall -Werror -Wno-char-subscripts -fno-strict-aliasing -DNDEBUG -DSCONS_BUILD_DIR=build/linux2/g++/release -ILibs -IExtLibs -IExtLibs/lua/src -IExtLibs/lwo -IExtLibs/jpeg Libs/Models/Loader_lwo.cpp
Libs/Models/Loader_lwo.cpp:208:18: error: 'Vector3fT myNormalize(const Vector3fT&)' defined but not used [-Werror=unused-function]
cc1plus: all warnings being treated as errors
scons: *** [Libs/build/linux2/g++/release/Models/Loader_lwo.o] Error 1
scons: building terminated because of errors.
If I search for example for libgtk, all I find is the following:
[joe@arch ~]$ pacman -Ss libgtk
extra/libgtkhtml 2.11.1-4
An HTML library for GTK
community/libgtksourceviewmm2 2.10.1-2
A C++ API for gtksourceview2
Also I don't know which packages fit "libgl1-mesa-dev", "libglu1-mesa-dev" and finally "libasound2-dev". There is libgl but this causes a conflict the my proprietary nvidia graphics driver.
Could anyone give me advice, which packages could be the right ones?
Thanks!
Last edited by grindcore (2012-02-28 06:29:03)Okay I have checked all the packages and it turned out that I had already all of them installed.
This means there has to be indeed an upstream code issue. So I will contact the developers via the Cafu forum. I thought about doing this instantly after the build had failed, but I wanted to check out first whether I was not missing a dependency and consequently it would have been a fault of mine.
Thank you very much. -
Error 255 when trying to downlaod MUSE through Cloud
I have tried to download Muse using both explorer and Chrome and I get the same error each time: Can anyone help with this?
Exit Code: 7
Please see specific errors below for troubleshooting. For example, ERROR:
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 1 error(s)
----------- Payload: Adobe Muse 6.0.0.0 {9A554C9D-E12D-4205-8101-9F4337CD5673} -----------
ERROR: Third party payload installer InstallAdobeMuse.exe failed with exit code: 255Hi linksandloops,
Have you performed the steps mentioned in the kb: http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html. If yes then
Enable hidden admin account: http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista/.
Download Muse from the direct link: http://prodesigntools.com/lightroom-5-ddl-comparison-vs-lr4.html and try to install again.
Kindly follow the very important instructions before download.
If still it does not work then kindly send me a private message with contact number.
Regards,
Romit Sinha -
[SOLVED] crt1.o error when trying to compile
Hi everybody,
I'm trying to compile a simple rtnetlink example written in c using gcc [ver 4.7.2] but I get this error :
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
and here is the include parts of example :
#include <sys/socket.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <arpa/inet.h>
#include <unistd.h>
Should I add a specific library or something ?! (I tried netlink and pthreads libraries and it didn't work)
thanks in advance
Last edited by bahramwhh (2012-10-09 09:34:56)@lunar oh, I'm sorry, my problem solved. my file didn't have the main function !
Last edited by bahramwhh (2012-10-09 09:35:29) -
"Symbol Undefined" error when trying to compile GPIB examples
I'm trying to compile the examples written in C that are given in the folder \VXIPNP\WinNT\NIvisa\Examples\C\Gpib. Using a standard ANSI C compiler, I get the following error messages:
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viClose@4
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viTerminate@12
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viReadAsync@16
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viWrite@16
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viEnableEvent@16
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viInstallHandler@16
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viOpen@20
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viOpenDefaultRM@
4
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viGetAttribute@12
--- errorlevel 9
Any help is appreciated.Hi esi_stents,
The compiler is complaining here because it can't find the correct library file to link to. Therefore, each of the above errors are function calls that the compiler does not have a prototype for.
The library file you want to make sure to link to is visa32.lib. The path for this library file differs slightly based on what compiler you are using:
Borland: C:\VXIPNP\WinNT\lib\bc
Microsoft: C:\VXIPNP\WinNT\lib\msc
Then follow the instructions for your compiler on how to set up links to a library.
Now the compiler should stop complaining at you and you're good to go! Have fun!
Kileen Cheng
Applications Engineer
National Instruments
Maybe you are looking for
-
Safari won't open after forcing to quit -help required
Having a problem with Safari 5.0.5 on Mac book pro (Snow leopard 10.6.8) My 9 year old daughter was on the internet. Something was taking ages to load, so she tried to close Safari. It then asked her if she want to force it to quit and she said yes.
-
Change the color of background in iDVD?
Folks, New to iDVD. Is there a method to change the color of the background in an iDVD theme? Or is the background really an "image"? Thanks!
-
How do you compress . . . losslessly?
Hi, I should know how to do this, but I can't! We make 4 minute programs. We now shoot on Panasonic P2 cards with the HVX200 - mostly in HD. Edits perfectly in Final Cut Pro 7. All works great, overcranking, etc. So we'd like to give our client a Mas
-
2011 iMac missing mini display port?
I'm trying to connect my 2011 iMac to an additional display using the mini display to DVI, but my computer doesn't have a mini display port I can't seem to find this info anywhere. What kind of adapter do I need?
-
Keychain- different set of website passwords for each browser?
Lately, Safari 2.0.4 has been stalling on me, so I decided to take a break and use Camino 1.0.2. When I visit a secure site in Safari, Keychain.app automatically fills in my user information and password. When I visit the same site in Camino, it asks