Sponsored Content
Full Discussion: Expat install
Top Forums Programming Expat install Post 56302 by handak9 on Thursday 30th of September 2004 10:03:33 AM
Old 09-30-2004
Expat install

I downloaded the expat zip from ftp://ftp.jclark.com/pub/xml/expat.zip. I put all the files in the zip on my solaris server, under an 'expat' directory and ran make -f Makefile. Everything seemed to compile fine. Now i have a .o in the xmlparse directory for instance.

When i try to compile the elements.c in the samples directory i get some errors.

[rss10@jsh1035c:JSDISC01] make -f Makefile elements
gcc -Wall -O2 -Ixmltok -Ixmlparse -DXML_NS -DXML_DTD -o elements elements.c
Undefined first referenced
symbol in file
XML_GetErrorCode /tmp/ccqZ4SQ5.o
XML_ErrorString /tmp/ccqZ4SQ5.o
XML_ParserCreate /tmp/ccqZ4SQ5.o
XML_ParserFree /tmp/ccqZ4SQ5.o
XML_GetCurrentLineNumber /tmp/ccqZ4SQ5.o
XML_SetUserData /tmp/ccqZ4SQ5.o
XML_Parse /tmp/ccqZ4SQ5.o
XML_SetElementHandler /tmp/ccqZ4SQ5.o
ld: fatal: Symbol referencing errors. No output written to elements
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `elements'


Any ideas how I do this? I cpoied the elements.c to the expat directory and changed the include at the top to say "xmlparse/xmlparse.h" but it didn't make any difference.

Any ideas?
 

4 More Discussions You Might Find Interesting

1. HP-UX

Oracle 9i install: Error in invoking target install of makefile

I receive an error while installing Oracle 9i: Error in invoking target install of makefile /opt/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk Furthermore: $ whoami oracle $ echo $ORACLE_HOME /opt/oracle/product/9.2.0 $ pwd /opt/oracle/product/9.2.0/sqlplus/lib $ ll total... (5 Replies)
Discussion started by: chris2005
5 Replies

2. Linux

install macbook pro fedora10 ???((<<if can install, how to install? >> ))

If may install can Tells everybody ??? (0 Replies)
Discussion started by: kzBSD
0 Replies

3. Shell Programming and Scripting

Where to find 64-bit based perl module like XML::Parser::Expat?

Q: Where to get a 64 bit Expat.so? I run a perl script and got this error: Can't load '/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int/auto/XML/Parser/Expat/Expat.so' for module XML:parser::Expat: ld.so.1:myPerl: fatal:... (0 Replies)
Discussion started by: lilili07
0 Replies

4. Solaris

Solaris 10 install dvd drive boots, but not recoginized by install process

I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch. I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies
DH_MOVEFILES(1) 						     Debhelper							   DH_MOVEFILES(1)

NAME
       dh_movefiles - move files out of debian/tmp into subpackages

SYNOPSIS
       dh_movefiles [debhelperoptions] [--sourcedir=dir] [-Xitem] [file...]

DESCRIPTION
       dh_movefiles is a debhelper program that is responsible for moving files out of debian/tmp or some other directory and into other package
       build directories. This may be useful if your package has a Makefile that installs everything into debian/tmp, and you need to break that
       up into subpackages.

       Note: dh_install is a much better program, and you are recommended to use it instead of dh_movefiles.

FILES
       debian/package.files
	   Lists the files to be moved into a package, separated by whitespace. The filenames listed should be relative to debian/tmp/. You can
	   also list directory names, and the whole directory will be moved.

OPTIONS
       --sourcedir=dir
	   Instead of moving files out of debian/tmp (the default), this option makes it move files out of some other directory. Since the entire
	   contents of the sourcedir is moved, specifying something like --sourcedir=/ is very unsafe, so to prevent mistakes, the sourcedir must
	   be a relative filename; it cannot begin with a `/'.

       -Xitem, --exclude=item
	   Exclude files that contain item anywhere in their filename from being installed.

       file ...
	   Lists files to move. The filenames listed should be relative to debian/tmp/. You can also list directory names, and the whole directory
	   will be moved. It is an error to list files here unless you use -p, -i, or -a to tell dh_movefiles which subpackage to put them in.

NOTES
       Note that files are always moved out of debian/tmp by default (even if you have instructed debhelper to use a compatibility level higher
       than one, which does not otherwise use debian/tmp for anything at all). The idea behind this is that the package that is being built can be
       told to install into debian/tmp, and then files can be moved by dh_movefiles from that directory. Any files or directories that remain are
       ignored, and get deleted by dh_clean later.

SEE ALSO
       debhelper(7)

       This program is a part of debhelper.

AUTHOR
       Joey Hess <joeyh@debian.org>

11.1.6ubuntu2							    2018-05-10							   DH_MOVEFILES(1)
All times are GMT -4. The time now is 07:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy