Xine-lib-vdpau-hg cant compile
Hi,
I try to compile this package for use vdpau with xine , but no luck..
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -I../../lib -DNDEBUG -D_REENTRANT -DXINE_COMPILE -O3 -ffast-math -fexpensive-optimizations -fvisibility=hidden -fno-strict-aliasing -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -march=x86-64 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wstrict-aliasing=2 -Werror=implicit-function-declaration -MT xineplug_vo_out_xxmc_la-video_out_xxmc.lo -MD -MP -MF .deps/xineplug_vo_out_xxmc_la-video_out_xxmc.Tpo -c video_out_xxmc.c -fPIC -DPIC -o .libs/xineplug_vo_out_xxmc_la-video_out_xxmc.o
video_out_xxmc.c: In function 'xxmc_xvmc_destroy_surfaces':
video_out_xxmc.c:181:7: error: implicit declaration of function 'XvMCFlushSurface'
video_out_xxmc.c:181:7: warning: nested extern declaration of 'XvMCFlushSurface'
video_out_xxmc.c:182:7: error: implicit declaration of function 'XvMCSyncSurface'
video_out_xxmc.c:182:7: warning: nested extern declaration of 'XvMCSyncSurface'
video_out_xxmc.c:183:7: error: implicit declaration of function 'XvMCHideSurface'
video_out_xxmc.c:183:7: warning: nested extern declaration of 'XvMCHideSurface'
video_out_xxmc.c:184:7: error: implicit declaration of function 'XvMCDestroySurface'
video_out_xxmc.c:184:7: warning: nested extern declaration of 'XvMCDestroySurface'
video_out_xxmc.c: In function 'xxmc_xvmc_destroy_subpictures':
video_out_xxmc.c:202:7: error: implicit declaration of function 'XvMCFlushSubpicture'
video_out_xxmc.c:202:7: warning: nested extern declaration of 'XvMCFlushSubpicture'
video_out_xxmc.c:203:7: error: implicit declaration of function 'XvMCSyncSubpicture'
video_out_xxmc.c:203:7: warning: nested extern declaration of 'XvMCSyncSubpicture'
video_out_xxmc.c:204:7: error: implicit declaration of function 'XvMCDestroySubpicture'
video_out_xxmc.c:204:7: warning: nested extern declaration of 'XvMCDestroySubpicture'
video_out_xxmc.c: In function 'xxmc_xvmc_alloc_surface':
video_out_xxmc.c:231:7: error: implicit declaration of function 'XvMCCreateSurface'
video_out_xxmc.c:231:7: warning: nested extern declaration of 'XvMCCreateSurface'
video_out_xxmc.c: In function 'xxmc_xvmc_alloc_subpicture':
video_out_xxmc.c:293:7: error: implicit declaration of function 'XvMCGetSubpictureStatus'
video_out_xxmc.c:293:7: warning: nested extern declaration of 'XvMCGetSubpictureStatus'
video_out_xxmc.c:310:7: error: implicit declaration of function 'XvMCCreateSubpicture'
video_out_xxmc.c:310:7: warning: nested extern declaration of 'XvMCCreateSubpicture'
video_out_xxmc.c: In function 'xxmc_duplicate_frame_data':
video_out_xxmc.c:479:5: error: implicit declaration of function 'XvMCClearSubpicture'
video_out_xxmc.c:479:5: warning: nested extern declaration of 'XvMCClearSubpicture'
video_out_xxmc.c:481:5: error: implicit declaration of function 'XvMCBlendSubpicture2'
video_out_xxmc.c:481:5: warning: nested extern declaration of 'XvMCBlendSubpicture2'
video_out_xxmc.c: In function 'xxmc_dispose_context':
video_out_xxmc.c:759:7: error: implicit declaration of function 'XvMCDestroyMacroBlocks'
video_out_xxmc.c:759:7: warning: nested extern declaration of 'XvMCDestroyMacroBlocks'
video_out_xxmc.c:760:7: error: implicit declaration of function 'XvMCDestroyBlocks'
video_out_xxmc.c:760:7: warning: nested extern declaration of 'XvMCDestroyBlocks'
video_out_xxmc.c:777:5: error: implicit declaration of function 'XvMCDestroyContext'
video_out_xxmc.c:777:5: warning: nested extern declaration of 'XvMCDestroyContext'
video_out_xxmc.c: In function 'xxmc_create_context':
video_out_xxmc.c:846:3: error: implicit declaration of function 'XvMCCreateContext'
video_out_xxmc.c:846:3: warning: nested extern declaration of 'XvMCCreateContext'
video_out_xxmc.c: In function 'xxmc_mocomp_create_macroblocks':
video_out_xxmc.c:920:5: error: implicit declaration of function 'XvMCCreateMacroBlocks'
video_out_xxmc.c:920:5: warning: nested extern declaration of 'XvMCCreateMacroBlocks'
video_out_xxmc.c:923:5: error: implicit declaration of function 'XvMCCreateBlocks'
video_out_xxmc.c:923:5: warning: nested extern declaration of 'XvMCCreateBlocks'
video_out_xxmc.c: In function 'xvmc_check_colorkey_properties':
video_out_xxmc.c:952:5: error: implicit declaration of function 'XvMCQueryAttributes'
video_out_xxmc.c:952:5: warning: nested extern declaration of 'XvMCQueryAttributes'
video_out_xxmc.c:952:21: warning: assignment makes pointer from integer without a cast
video_out_xxmc.c:959:4: error: implicit declaration of function 'XvMCSetAttribute'
video_out_xxmc.c:959:4: warning: nested extern declaration of 'XvMCSetAttribute'
video_out_xxmc.c: In function 'xxmc_overlay_end':
video_out_xxmc.c:1485:10: warning: passing argument 6 of '_x_xx44_to_xvmc_palette' discards qualifiers from pointer target type
../../include/xine/alphablend.h:107:6: note: expected 'char *' but argument is of type 'const char *'
video_out_xxmc.c:1487:2: error: implicit declaration of function 'XvMCSetSubpicturePalette'
video_out_xxmc.c:1487:2: warning: nested extern declaration of 'XvMCSetSubpicturePalette'
video_out_xxmc.c:1497:2: error: implicit declaration of function 'XvMCBlendSubpicture'
video_out_xxmc.c:1497:2: warning: nested extern declaration of 'XvMCBlendSubpicture'
video_out_xxmc.c: In function 'xxmc_overlay_blend':
video_out_xxmc.c:1561:6: error: implicit declaration of function 'XvMCCompositeSubpicture'
video_out_xxmc.c:1561:6: warning: nested extern declaration of 'XvMCCompositeSubpicture'
video_out_xxmc.c: In function 'xxmc_display_frame':
video_out_xxmc.c:1720:5: error: implicit declaration of function 'XvMCPutSurface'
video_out_xxmc.c:1720:5: warning: nested extern declaration of 'XvMCPutSurface'
video_out_xxmc.c: In function 'checkXvMCCap':
video_out_xxmc.c:2309:3: error: implicit declaration of function 'XvMCQueryExtension'
video_out_xxmc.c:2309:3: warning: nested extern declaration of 'XvMCQueryExtension'
video_out_xxmc.c:2318:3: error: implicit declaration of function 'XvMCListSurfaceTypes'
video_out_xxmc.c:2318:3: warning: nested extern declaration of 'XvMCListSurfaceTypes'
video_out_xxmc.c:2318:15: warning: assignment makes pointer from integer without a cast
video_out_xxmc.c:2363:7: error: implicit declaration of function 'XvMCListSubpictureTypes'
video_out_xxmc.c:2363:7: warning: nested extern declaration of 'XvMCListSubpictureTypes'
video_out_xxmc.c:2363:20: warning: assignment makes pointer from integer without a cast
video_out_xxmc.c: In function 'open_plugin':
video_out_xxmc.c:2488:12: warning: passing argument 4 of 'config->register_enum' from incompatible pointer type
video_out_xxmc.c:2488:12: note: expected 'char **' but argument is of type 'const char * const*'
video_out_xxmc.c:2492:7: warning: format '%d' expects type 'int', but argument 5 has type 'XvPortID'
video_out_xxmc.c:2659:8: warning: passing argument 4 of 'config->register_enum' from incompatible pointer type
video_out_xxmc.c:2659:8: note: expected 'char **' but argument is of type 'const char * const*'
make[3]: *** [xineplug_vo_out_xxmc_la-video_out_xxmc.lo] Error 1
make[3]: Leaving directory `/var/abs/local/yaourtbuild/xine-lib-vdpau-hg/src/xine-lib-build/src/video_out'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/yaourtbuild/xine-lib-vdpau-hg/src/xine-lib-build/src/video_out'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/yaourtbuild/xine-lib-vdpau-hg/src/xine-lib-build/src'
make: *** [all-recursive] Error 1
Aborting...
==> ERROR: Makepkg was unable to build xine-lib-vdpau-hg.
==> Restart building xine-lib-vdpau-hg ? [y/N]
Its sound something with libxvmc, but i dint find the clue, any tip is really welcomed..thx!!!
Your problem sounds similar to this one, except that they're using software raid rather than just pure LVM. If you're using an initrd, you may not have the appropriate modules installed. If you're not using an initrd, then the kernel probably needs LVM support compiled in (not as a module) and could be solved by fixing that. I have never used the ck-patchset, but this should give you an additional data point.
Also comment=systemd.automount will be deprecated soon as I understand it; if you have a need for automounting, x-systemd.automount should be used instead.
Similar Messages
-
Hello all,
am using weblogic8.1, first of all I would like to know do we need to give a name("Advisor") in JNDI in weblogic, as its mentioned in HFEJB page52 for RI Server. if you say that we have give the JNDI name in weblogic,
where do we ned to give?
this is place where I stand now...
AdviceBean.ejb
package headfirst;
import javax.ejb.*;
import weblogic.ejb.*;
import headfirst.*;
* @ejbgen:session
* ejb-name = "Advice"
* @ejbgen:jndi-name
* remote = "ejb.AdviceRemoteHome"
* @ejbgen:file-generation remote-class = "true" remote-class-name = "AdviceRemote" remote-home = "true" remote-home-name = "AdviceHome" local-class = "false" local-class-name = "AdviceLocal" local-home = "false" local-home-name = "AdviceLocalHome"
public class AdviceBean implements SessionBean {
// OK, not very exciting advice! You should come up with something better...
private String[] adviceStrings = {"test", "test1", "test2", "test3"};
public void ejbActivate() {
System.out.println("ejb activate");
public void ejbPassivate() {
System.out.println("ejb passivate");
public void ejbRemove() {
System.out.println("ejb remove");
public void setSessionContext(SessionContext ctx) {
System.out.println("session context");
// this business method name is changed from the book, because
// there of a bug on some versions of the J2EE RI
public String getMessage() {
System.out.println("in get advice");
int random = (int) (Math.random() * adviceStrings.length);
return adviceStrings[random];
public void ejbCreate() {
System.out.println("in ejb create");
AdviceClient.java
package headfirst;
import javax.naming.*;
import java.rmi.*;
import javax.rmi.*;
import headfirst.*;
import javax.ejb.*;
// not all of these imports are used in this code...
// but in a real client you'd probably need at least
// java.rmi.RemoteException and javax.ejb.CreateException
public class AdviceClient {
public static void main(String[] args) {
new AdviceClient().go();
public void go() {
try {
Context ic = new InitialContext();
Object o = ic.lookup("Advisor"); // replace with YOUR JNDI name for the bean
AdviceHome home = (AdviceHome) PortableRemoteObject.narrow(o, AdviceHome.class);
Advice advisor = home.create();
System.out.println(advisor.getMessage());
} catch (Exception ex) {
ex.printStackTrace();
I cant able to build with this file D:\Weblogic\user_projects\AdviceApp\AdviceApp\headfirst\AdviceClient.java
So I remove this client file for a while to build the .jar
after removing this client file, I can able to build. Done, now i got the AdviceApp.jar. again I brought back the client file to the same place..
I tried from cmd
D:\Weblogic\user_projects\AdviceApp\AdviceApp\headfirst>javac -classpath "C:\Program Files\j2sdkee1.3.1\lib\j2ee.jar";"D:\Weblogic\user_projects\AdviceApp\Advic
eApp\AdviceApp.jar" AdviceClient.java
AdviceClient.java:28: cannot resolve symbol
symbol : class Advice
location: class headfirst.AdviceClient
Advice advisor = home.create();
^
1 error
Please tel me how to get rid of this issue...1008783 wrote:
Hi
I cant compile and excute this function
/* Where can I declare or execute this fields */
CREATE TYPE typ_get_brandings as object(
BRANDING_CODE varchar2(200),
NAME_DESC varchar2(200)
/* Where can I declare or execute this fields */
CREATE TYPE tab_get_brandings is table of typ_get_brandings
CREATE FUNCTION get_brandings
RETURN tab_get_brandings
IS
l_brandings tab_get_brandings;
BEGIN
SELECT typ_get_brandings( b.BRANDING_CODE,C.NAME_DESC)
into l_brandings
from development.brandings b,godot.company c
where b.company_id = c.company_id
return l_brandings;
EXCEPTION
WHEN OTHERS THEN
CORPORATE.COMMON.EXCEPTION_LOG( 'DEVELOPMENT.BRANDING_ADMIN.GET_BRANDING', SQLCODE, SQLERRM, null, FALSE );
return SQLCODE;
END;
Please helpHi ,
Why you wanna create object ? any specific requirement?
create table plch_test(id number,name varchar2(30));
insert into plch_test values(1,'ram');
insert into plch_test values(2,'abhi');
insert into plch_test values(3,'aksi');
CREATE OR REPLACE FUNCTION PLCH_FNC(p_id IN plch_test.id%TYPE)
RETURN plch_test%ROWTYPE
IS
rec_plch_test plch_test%ROWTYPE;
BEGIN
SELECT id,name
INTO rec_plch_test
FROM plch_test
WHERE id=p_id;
EXCEPTION WHEN NO_DATA_FOUND THEN
rec_plch_test:=null;
RETURN rec_plch_test;
END;Call the function
SQL> set serveroutput on
SQL> DECLARE
2 rec_plch plch_test%ROWTYPE;
3 BEGIN
4 rec_plch:=PLCH_FNC(1);
5 dbms_output.put_line('ID'||' '||rec_plch.id||' '||'NAME'||' '||rec_plch.name);
6 END;
7 .
SQL> /
ID 1 NAME ram
PL/SQL procedure successfully completed.
SQL> DECLARE
2 rec_plch plch_test%ROWTYPE;
3 BEGIN
4 rec_plch:=PLCH_FNC(2);
5 dbms_output.put_line('ID'||' '||rec_plch.id||' '||'NAME'||' '||rec_plch.name);
6 END;
7 .
SQL> /
ID 2 NAME abhi
PL/SQL procedure successfully completed.
SQL> Regards,
Achyut Kotekal
Edited by: Achyut K on Jun 6, 2013 12:03 AM -
Xine-lib and ogg [fixed]
latest xine-lib (rc8 and final 1.0) couldn't play ogg files before it worked well , when i compile the PKGBUILD my self all working well .
Any idea what broken here ?
problem found (by ldd) libtheora was missing (although installed) reinstalling fixed it .you can bug report it, and also have a look in latest PKGBUILD (either via cvs or via your 'sudo abs') to see if sth changed there. Good Luck I cannot test it to say to you if that happens here too, sorry
-
Xine-lib-1.1.3 broken audio of rm(vb)
There has problem to play rm(vb) which has no sound When upgrade to xine-lib-1.1.3,
then I downgrade to xine-lib-1.1.2, everything is fine.I Seem to post wrong area, should move to "Multlmedia and games",
but nobody has this issue? -
Hiya Guys,
I am having the following problem when using SQL Developer, i am able to compile a package body to my test server or live server, but i cant compile the package spec to my test server or live server.
I have attached 2 screenshots to demostrate what i am reffereing too.
This problem is not specific to package specs, as i have the following problem with other package body files.
If anyone has any information why this happens and what i can do to solve the issue i would be very grateful.
[http://img7.imageshack.us/img7/2024/error1cjy.jpg|http://img7.imageshack.us/img7/2024/error1cjy.jpg]
[http://img7.imageshack.us/img7/796/error2f.jpg|http://img7.imageshack.us/img7/796/error2f.jpg]Thanks for the reply, here are how the extensions are defined, i have noticed that there is know .spc extension.
[http://img7.imageshack.us/img7/1871/error3n.jpg|http://img7.imageshack.us/img7/1871/error3n.jpg]
Update:
I added the .spc extension and defined it as a PLSqLNode and it seems to have fixed the problem, thank you very much for your fast reply and help, much much appreciated.
Edited by: user6329410 on 17-Apr-2009 06:00 -
Hi
I cant compile and excute this function
/* Where can I declare or execute this fields */
CREATE TYPE typ_get_brandings as object(
BRANDING_CODE varchar2(200),
NAME_DESC varchar2(200)
/* Where can I declare or execute this fields */
CREATE TYPE tab_get_brandings is table of typ_get_brandings
CREATE FUNCTION get_brandings
RETURN tab_get_brandings
IS
l_brandings tab_get_brandings;
BEGIN
SELECT typ_get_brandings( b.BRANDING_CODE,C.NAME_DESC)
into l_brandings
from development.brandings b,godot.company c
where b.company_id = c.company_id
return l_brandings;
EXCEPTION
WHEN OTHERS THEN
CORPORATE.COMMON.EXCEPTION_LOG( 'DEVELOPMENT.BRANDING_ADMIN.GET_BRANDING', SQLCODE, SQLERRM, null, FALSE );
return SQLCODE;
END;
Please help1008783 wrote:
Hi
I cant compile and excute this function
/* Where can I declare or execute this fields */
CREATE TYPE typ_get_brandings as object(
BRANDING_CODE varchar2(200),
NAME_DESC varchar2(200)
/* Where can I declare or execute this fields */
CREATE TYPE tab_get_brandings is table of typ_get_brandings
CREATE FUNCTION get_brandings
RETURN tab_get_brandings
IS
l_brandings tab_get_brandings;
BEGIN
SELECT typ_get_brandings( b.BRANDING_CODE,C.NAME_DESC)
into l_brandings
from development.brandings b,godot.company c
where b.company_id = c.company_id
return l_brandings;
EXCEPTION
WHEN OTHERS THEN
CORPORATE.COMMON.EXCEPTION_LOG( 'DEVELOPMENT.BRANDING_ADMIN.GET_BRANDING', SQLCODE, SQLERRM, null, FALSE );
return SQLCODE;
END;
Please helpHi ,
Why you wanna create object ? any specific requirement?
create table plch_test(id number,name varchar2(30));
insert into plch_test values(1,'ram');
insert into plch_test values(2,'abhi');
insert into plch_test values(3,'aksi');
CREATE OR REPLACE FUNCTION PLCH_FNC(p_id IN plch_test.id%TYPE)
RETURN plch_test%ROWTYPE
IS
rec_plch_test plch_test%ROWTYPE;
BEGIN
SELECT id,name
INTO rec_plch_test
FROM plch_test
WHERE id=p_id;
EXCEPTION WHEN NO_DATA_FOUND THEN
rec_plch_test:=null;
RETURN rec_plch_test;
END;Call the function
SQL> set serveroutput on
SQL> DECLARE
2 rec_plch plch_test%ROWTYPE;
3 BEGIN
4 rec_plch:=PLCH_FNC(1);
5 dbms_output.put_line('ID'||' '||rec_plch.id||' '||'NAME'||' '||rec_plch.name);
6 END;
7 .
SQL> /
ID 1 NAME ram
PL/SQL procedure successfully completed.
SQL> DECLARE
2 rec_plch plch_test%ROWTYPE;
3 BEGIN
4 rec_plch:=PLCH_FNC(2);
5 dbms_output.put_line('ID'||' '||rec_plch.id||' '||'NAME'||' '||rec_plch.name);
6 END;
7 .
SQL> /
ID 2 NAME abhi
PL/SQL procedure successfully completed.
SQL> Regards,
Achyut Kotekal
Edited by: Achyut K on Jun 6, 2013 12:03 AM -
Muine should use xine-lib (and a tray icon)
The tray icon is built by default, but not installed.
And please build muine with the xine-lib backend.
gStreamer is nice, but too slow (the gap between tracks is too long), uses too much cpu power and gives awful pops when starting/stopping/pauzing
here's my pkgbuild:
#$Id: PKGBUILD,v 1.2 2005/06/13 09:50:15 jgc Exp $
#Maintainer: Jan de Groot <[email protected]>
#Contributor: Ben Mazer <[email protected]>
pkgname=muine
pkgver=0.8.3
pkgrel=3
pkgdesc="a music app written in C#"
url="http://muine.gooeylinux.org"
depends=('gtk-sharp-2' 'libid3tag' 'flac' 'libvorbis' 'faad2' 'dbus-sharp>=0.33' 'xine-lib')
makedepends=('intltool')
install=muine.install
source=(http://muine.gooeylinux.org/$pkgname-$pkgver.tar.gz)
md5sums=('4e21eeb8e809bebf1e13540e44a6259d')
build() {
[ "$GNOMEDIR" = "" ] && . /etc/profile.d/gnome.sh
[ "$MONO_PATH" = "" ] && . /etc/profile.d/mono.sh
# get rid of .wapi errors in fakeroot
mkdir -p $startdir/pkg/weird
export MONO_SHARED_DIR=$startdir/pkg/weird
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/gnome --enable-xine
make || return 1
make DESTDIR=$startdir/pkg GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
mkdir -d $startdir/pkg/opt/gnome/lib/muine/plugins
cp $startdir/src/$pkgname-$pkgver/plugins/TrayIcon.* $startdir/pkg/opt/gnome/lib/muine/plugins
# housecleaning
rm -rf $startdir/pkg/weirdphrakture wrote:that's exactly the point though - with the voting feature of the AUR, the maintainer could easilly tell "hmm, the xine backend is much more popular"
People are a bit lazy, they often forget to vote
I think contacting the maintainer directly, or discussing it in the forums is better
just my 2 cents
phrakture wrote:the AUR only holds PKGBUILDs anyway, so adding 100 of them like that would be about 20-30K... no big deal, space is cheap 8)
true but they'd have to be synced with the 'official' version all of the time ... well, ideally
phrakture wrote:I have no idea - never touched gstreamer before, nor muine - I use mpd for audio and xine for video... does aplay count too? heh
I fell in love with the 'album' play feature (yes I'm one of those guy's) -
Custom tag lib, tomcat server cant parse descripter file
Hi there, I'm working on custom tag libraries, and I have created a simple tag which prints a string when it is called from a jsp file. And I have created a descriptor file for that perticular tag and also created a jsp file which is using the tab lib that I have created, I have placed all these files in their corresponding files, well the problem is when I'm trying to call that jsp file it says the server can't parse the tags.tld file, because <urn></urn> must be declared. And can anybody throw some light on this! it would be much of help from you side, regards, Raasi
I have pasted all the files with the error message please have a look
************** Descriptor file ****************88
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<!-- a tag library descriptor -->
<taglib>
<!-- after this the default space is "http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>csajsp</shortname>
<urn></urn> <!-- problem is here. -->
<info>
A tag library from Core Servlets and JavaServer Pages, http://www.coreservlets.com/.
</info>
<tag>
<name>example</name>
<tagclass>coreservlets.tags.ExampleTag</tagclass>
<info>Simplest example: inserts one line of output</info>
<bodycontent>EMPTY</bodycontent>
</tag>
<!-- Other tags defined later... -->
</taglib>
The JSP file which is using that descriptor file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<%@ taglib uri="csajsp-taglib.tld" prefix="csajsp" %>
<TITLE><csajsp:example /></TITLE>
<LINK REL=STYLESHEET HREF="JSP-Styles.css" TYPE="text/css">
</HEAD>
<BODY>
<H1><csajsp:example /></H1>
<csajsp:example />
</BODY>
</HTML>
error message from Tomcat4.1 server
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: XML parsing error on file /jsp/csajsp-taglib.tld: (line 9, col 7): Element type "urn" must be declared.
at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:189)
at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:247)
at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:183)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:799)
at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:219)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:471)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:536)
Apache Tomcat/4.1.12
********************************8Hi,
I have used the following dtd file for a simple tag you can use it by just replacing the tag properties
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>CooperatingTags</short-name>
<description>
</description>
<tag>
<name>first</name>
<tag-class>com.opera.tagclasses.FirstTag</tag-class>
<body-content>EMPTY</body-content>
<attribute>
<name>sessionID</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
I guess tag urn is not required.
Hope this helps
Ravi -
[solved]Cant compile networkmanager-l2tp-git
yes, i installed openswan-systemd+xl2tpd , both works well for me(kernel3.6.9, pure systemd)
When i try to complie networkmanager-l2tp-git, i got these errors:
nm-l2tp-service.c: In function ‘main’:
nm-l2tp-service.c:1642:35: error: ‘NM_L2TP_LOCALEDIR’ undeclared (first use in this function)
nm-l2tp-service.c:1642:35: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [nm-l2tp-service.o] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/NetworkManager -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libnm-glib -Wall -std=gnu89 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wstrict-prototypes -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -Wno-unused-but-set-variable -Werror -MT nm_l2tp_pppd_plugin_la-nm-l2tp-pppd-plugin.lo -MD -MP -MF .deps/nm_l2tp_pppd_plugin_la-nm-l2tp-pppd-plugin.Tpo -c nm-l2tp-pppd-plugin.c -o nm_l2tp_pppd_plugin_la-nm-l2tp-pppd-plugin.o >/dev/null 2>&1
mv -f .deps/nm_l2tp_pppd_plugin_la-nm-l2tp-pppd-plugin.Tpo .deps/nm_l2tp_pppd_plugin_la-nm-l2tp-pppd-plugin.Plo
make[3]: Leaving directory `/tmp/yaourt-tmp-genio/aur-networkmanager-l2tp-git/src/NetworkManager-l2tp-build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-genio/aur-networkmanager-l2tp-git/src/NetworkManager-l2tp-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-genio/aur-networkmanager-l2tp-git/src/NetworkManager-l2tp-build'
Last edited by genio4urlife (2012-12-06 11:51:24)If you have posted it here:
https://aur.archlinux.org/packages.php?ID=51831
and it solved your problem, please, mark your thread "solved"
Last edited by scar (2012-12-06 08:53:17) -
Cant compile...
Hi there.
I just wanted to compile libmpd, but the progress stops with the following error:
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
I do not really know what this error should tell me, so i am hoping for some help
ty
issueI am stupid: prob solved, forget to install kernel headers.
-
Need Help! Cant compile servlet
I have installed jsdk2.1, J2EE,J2SE,Tomcat 4.1 and I am using window xp
when i try compile a servlet program in command prompt
->java Count.java
And this message pop up
Exception in thread "main" java.lang.NoClassDefFoundError: Count/java
I have typed the path in Autoexec.bat
like this
SET classpath = .;C:\jsdk2.1\servlet.jar; C:\jsdk2.1\server.jar; C:\Program Files\Apache Group\Tomcat 4.1\server\lib\servlet.jar
SET classpath =.C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar
SET JAVA_HOME = .C:\Program Files\Java\j2re1.4.1
REM The location of the J2SE SDK installation.
SET J2EE_HOME = .C:\j2sdkee1.3.1
REM The location of the J2EE SDK installation.
SET PATH = .C:\j2sdkee1.3.1\bin
SET PATH = .C:\Program Files\Java\j2re1.4.1\bin
SET PATH = .C:\Program Files\JavaSoft\JRE\1.3.1_05\bin
also create it in system ->advanced->environment variable
how to solve?~~~~This is how my autoexec look:
SET CLASSPATH=c:\jdk1.3.1_01\bin\;c:\andreas\resin\bin\jsdk23.jar;c:\Jimi\JimiProClasses.zip;SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;c:\jdk1.3.1_01\bin\;c:\andreas\resin\bin\jsdk23.jar;c:\Jimi\JimiProClasses.zip;C:\Program\MtsAndreas -
Cant compile proc with OWB created DB Links - appear to loopback ?!!
We're on Oracle 9.2 with OWB 9.2 and have the following scenario:
We have two databases: DB1, DB2
Both databases have a schema STAGING
Both schemas have a table ADDRESS.
The ADDRESS table on DB1 has columns CITY, STATE, ZIP while the ADDRESS table on DB2 just has CITY, STATE
We have a stored proc on DB2 that is trying to select the ZIP field on the DB1 across a database link called DB1@SERVER1. The exact code is:
select zip into v_zip from address@db1@server1;
The compiler fails because with the error that ZIP does not exist. If I change the column to STATE it compiles successfully, leading me to believe the compiler is verifying the code against the local db and not across the link....
Furthermore, if I run the offending sql via a sqlplus it crosses the link and works!... it appears to only be affecting compile time.
I believe this has something to do with loopback links, but I haven't been able to solve it...
Can anyone explain this behavior?!
Any help greatly appreciated...
-DHello, Dan
Actually I dont understand why OWB generates so strange name for db link. After your post Ive revisited my projects to see if there is any inconsistencies in generated db link name within mapping PLSQL code and db link name itself.
There is one at least for me in PLSQL db links name is like <db_instance_name>@owb_location_name, but in DBLINKS db link name looks like:
db_instance_name.db_domain@owb_location_name. I must say its quite a trick for me how Oracle matches this two names, considering quotes and db_domain. Anyway, it works fine for me.
By the way, two databases of yours are result of cloning one of them? If you are sure that real symptom is db link loop back look at Net configurations.
Try to have a look at DBLINKS maybe youll find some mismatches. As a try drop created db links and try to redeploy them, make additional tests via sqlplus, verify db_domain for both databases, check sqlnet.ora/tnsnames.ora on both databases.
Serhit. -
Cant compile 2 files using JBuilder
Im a new user to JBuilder and can't quite figure out how to compile the two source code i wrote. These files run perfectly if I compile it in command window.
I have a file called Sphere.java and a file called CreateSphere.java which contains the main() method.
I was able to compile Sphere.java in jbuilder but when I tried to compile CreateSphere.java I got the below error messages:
"CreateSpheres.java": cannot resolve symbol: variable Sphere in class CreateSpheres at line 5, column 49
Is this the path problem? Please help.both files are in the same directory, i.e. C:\myjava\Sphere.java and C:\myjava\CreateSpheres.java
I added path to the environment variables as such C:\myjava;
and try compile again using JBuilder but still to not success.
I try compile the 2 files in command window and everything works fine. What have I done wrong? -
CANT COMPILE A THING - new to Java
I think I downloaded from this site correctly. So, I create a file, save it, open command prompt, go to the appropriate directory, enter the command line "javac Example1" (Example1 is both the class and file name). For some reason the javac command is not recognized. Help me please! I wanna program.
Here is comes again....:
My First Java Program (for Windows)
Follow these steps:
1. Download and install the Java 2 SDK
2. Make sure your path and classpath are set correctly
3. Type in your first program
4. Compile your first program
5. Run your first program
6. Read the Java tutorial
1. Download and install the Java 2 SDK
Go to the Java website and download the Java 2 SDK, Standard Edition:
http://java.sun.com/j2se/1.4.1/download.html
NOTE: Make sure you download the SDK (leftmost column) and not just the JRE. The JRE (Java Runtime Environment) only contains the stuff necessary to run Java programs, and not the compiler and other tools you need to develop Java programs.
After downloading, run the installation program to install the Java 2 SDK.
2. Make sure your path and classpath are set correctly
After installing, READ THE INSTALLATION NOTES! Lots of people get in trouble and are asking questions in the forums because they were too lazy to read and follow the installation notes. Especially, after installing the Java 2 SDK you need to add the 'bin' directory of the SDK to your PATH, otherwise you will get an error like "javac is not recognized as an internal or external command" or something similar.
If you've installed the Java 2 SDK in C:\j2sdk1.4.1_03, add C:\j2sdk1.4.1_03\bin to the PATH. If you don't know how to change environment variables in Windows, look at Microsoft's website (http://www.microsoft.com). The procedure is different for different versions of Windows.
If you are using a version of the Java 2 SDK older than 1.4, you need to add the current directory (".") to the CLASSPATH environment variable. CLASSPATH is where Java looks for *.class files (compiled Java classes). Since Java 1.4, Java looks in the current directory automatically if the CLASSPATH isn't set, so you don't need to add "." to the CLASSPATH. Again, the installation notes explain what CLASSPATH is and how you should set it.
3. Type in your first program
Start Notepad and type in your first program:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}NOTE: Java is case-sensitive. Be careful to type in the program exactly as shown above. Don't type "Helloworld" or "helloworld" or anything else.
Save the file somewhere in a file called "HelloWorld.java". NOTE: Again, the case must be correct. Even though Windows is case-insensitive for filenames, the case must be correct, because Java is case-sensitive. Also watch out that Notepad doesn't append ".txt" to the filename (so that you end up with a file called "HelloWorld.java.txt"). To make things worse, Windows Explorer hides file extensions by default so you don't even see that the file is actually called "HelloWorld.java.txt" instead of "HelloWorld.java".
4. Compile your first program
Open a command prompt, CD to the directory that contains your source file and type:
javac HelloWorld.java
NOTE: Again, the case must be exactly right.
If all goes well, you'll not get any error messages and a file "HelloWorld.class" is generated.
5. Run your first program
To run your program, type:
java HelloWorld
NOTE: Don't type "HelloWorld.class". You are specifying the class name here, not the filename. Ofcourse, the case is important again.
6. Read the Java tutorial
Go to the Java website and follow The Java Tutorial:
http://java.sun.com/docs/books/tutorial/
The chapter "Your First Cup of Java" also explains in detail how to start with Java.
Jesper -
Alpha compuler cant compile enums or static imports?!?
Pardon me if this is the wrong place to ask this question but I couldnt find any forums specific to CAP program members:
When trying to compile enums and static imports that work with the public prototype compiler, I get the following errors:
C:\dev\hcj\tiger\src>c:\j2sdk1.5.0\bin\javac -version oreilly/hcj/tiger/*.java
javac 1.5.0-beta
oreilly/hcj/tiger/EnumAttach.java:18: 'class' or 'interface' expected
public abstract enum EnumAttach {
^
oreilly/hcj/tiger/EnumAttach.java:35: 'class' or 'interface' expected
^
oreilly/hcj/tiger/ErrorLevel.java:20: 'class' or 'interface' expected
public enum ErrorLevel {
^
oreilly/hcj/tiger/ErrorLevel.java:31: 'class' or 'interface' expected
^
oreilly/hcj/tiger/ForEach.java:49: ';' expected
for (String person: importantPeople) {
^
oreilly/hcj/tiger/ForEach.java:55: illegal start of expression
^
oreilly/hcj/tiger/ForEach.java:81: ';' expected
for (String person: people) {
^
oreilly/hcj/tiger/ForEach.java:87: illegal start of expression
^
oreilly/hcj/tiger/StaticImports.java:15: <identifier> expected
import static StatusColors.*;
^
oreilly/hcj/tiger/StaticImports.java:15: '.' expected
import static StatusColors.*;
^
oreilly/hcj/tiger/StaticImports.java:16: <identifier> expected
import static java.lang.Math.*.
^
oreilly/hcj/tiger/StaticImports.java:21: '.' expected
public class StaticImports {
^
12 errorsIs there something I am doing wrong or is this known bug?Use the compiler flag -source 1.5
Maybe you are looking for
-
Hi, I am try to install OBIEE 11.1.1.6 version in my laptop (Windows 7 64 bit). I have installed successfully Database. I have installed successfully RCU. When I was installing OBIEE 13 step configuration part it's failed to creation domain. I have f
-
Thai language characters not displaying correctly in browser
Hello all I am starting to develop a multilingual application which will include both english and thai. The problem Im having is that the browser displays only garbage when Im fetching a report on a table that includes Thai characters in a column. Wh
-
Itunes 8 upgrade causing grief
I had to upgrade to itunes 8 to support my new ipod and have had nothing but grief. First it was a nightmare to install and now my system (windows xp) keeps crashing. Has anyone else had this problem and is there any known fix?
-
CAD agent wrap up time Settings!!
Hello, Here is the requirement I have with one of our customer. UCCE version :7.5.1 CAD Version: 7.6.1 requesting to have the agents be placed in a 5 seconds wrap state after each call and after the 5 seconds auto pushed into a ready state. however,
-
Bug in Macbook Pro firmware (2009 mid)
Dear all, Recently, I bought a new Macbook Pro (2009 mid model). I found that there was a problem in illuminated keyboard. Logically, the backlight of keyboard should be darker if the light source of surrounding environment is strong. However, it is