Hello!
On Dec 8, 2007 2:38 PM, Philipp Marek <[EMAIL PROTECTED]> wrote:
>
>
>
> On Friday 07 December 2007 Alexander Skwar wrote:
> > Philipp Marek schrieb:
> > > On Friday 07 December 2007 Alexander Skwar wrote:
> > >> helper.c: In function 'hlp__match_path_envs':
> > >> helper.c:1423: error: 'environ' undeclared (first use in this function)
> > >> helper.c:1423: error: (Each undeclared identifier is reported only once
> > >> helper.c:1423: error: for each function it appears in.)
> > >> helper.c: In function 'hlp__format_path':
> > >> helper.c:1580: error: 'environ' undeclared (first use in this function)
> > >
> > > Is there some header file that declares environ?
> >
> > Doesn't look like. Attached, you can find the output
> > of
> >
> > grep -r environ /usr/include
> Thank you ... environ is in SUS ... don't know why that doesn't work.
>
No clue :)
>
> I'd like to take a look at that ...
You can easily run Solaris 10 x86 in qemu (or VMware) *eg* :)
> How about that?
Compiles "fine" - as far as that's concerned. But ultimately, it
fails because of the apr issue, I think:
--($:~/Source/fsvs/src)-- CC=/opt/csw/gcc4/bin/gcc
CPP=/opt/csw/gcc4/bin/cpp LDFLAGS="-L/opt/csw/lib
-L/opt/csw/apache2/lib -L/opt/csw/lib/svn"
CPPFLAGS="-I/opt/csw/include -I/opt/csw/apache2/include
-I/opt/csw/include/subversion-1"
PATH=/opt/csw/gcc4/bin:/opt/csw/gnu:/opt/csw/bin:$PATH
/opt/csw/bin/gmake
Link fsvs
Undefined first referenced
symbol in file
recv helper.o (symbol belongs to
implicit dependency /usr/lib/libsocket.so.1)
send helper.o (symbol belongs to
implicit dependency /usr/lib/libsocket.so.1)
apr_md5_init checksum.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libaprutil-1.so.0)
apr_md5_update checksum.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libaprutil-1.so.0)
apr_hash_next log.o (symbol belongs to implicit
dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_hash_this log.o (symbol belongs to implicit
dependency /opt/csw/apache2/lib/libapr-1.so.0)
socketpair helper.o (symbol belongs to
implicit dependency /usr/lib/libsocket.so.1)
apr_md5_final checksum.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libaprutil-1.so.0)
gethostbyname helper.o (symbol belongs to
implicit dependency /usr/lib/libnsl.so.1)
libiconv_open helper.o (symbol belongs to
implicit dependency /opt/csw/lib/libiconv.so.2)
strsep options.o
apr_pool_clear update.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
svn_txdelta_send_stream commit.o (symbol belongs to
implicit dependency /opt/csw/lib/svn/libsvn_delta-1.so.0)
apr_md5 checksum.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libaprutil-1.so.0)
apr_file_open commit.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_uid_get helper.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_hash_first log.o (symbol belongs to implicit
dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_pool_destroy commit.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_initialize fsvs.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_gid_get helper.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_temp_dir_get racallback.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_hash_get racallback.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_file_mktemp racallback.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
svn_txdelta_apply update.o (symbol belongs to
implicit dependency /opt/csw/lib/svn/libsvn_delta-1.so.0)
apr_file_close commit.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_pool_create_ex commit.o (symbol belongs to
implicit dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_array_make log.o (symbol belongs to implicit
dependency /opt/csw/apache2/lib/libapr-1.so.0)
apr_array_push log.o (symbol belongs to implicit
dependency /opt/csw/apache2/lib/libapr-1.so.0)
libiconv helper.o (symbol belongs to
implicit dependency /opt/csw/lib/libiconv.so.2)
ld: fatal: Symbol referencing errors. No output written to fsvs
collect2: ld returned 1 exit status
gmake: *** [fsvs] Error 1
Alexander
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]