Subject: [netatalk-admins] Installation problem: netatalk 1.4b2 on solaris 2.5.1

From: "Yasmine Arafa" <[email-masked]>
Date: Thu, 22 Oct 1998 16:02:40 +0100

Hi there,

I get the following errors when I try to build and install netatalk:

while building netatalk:
gcc -p -D__svr4__ -DSOLARIS -O -I../../include -c asp_cmdreply.c
unknown flag -lang-c
unknown flag -Asystem(unix)
unknown flag -Asystem(bsd)
unknown flag -Acpu(sparc)
unknown flag -Amachine(sparc)
as: "/usr/tmp/cca15278.s", line 105: error: invalid operand value "bss"
*** Error code 1
make: Fatal error: Command failed for target `asp_cmdreply.o'
Current working directory
/disk2/apps/netatalk_1_4b2/netatalk-971027/libatalk/asp
*** Error code 1
make: Fatal error: Command failed for target `asp'
Current working directory
/disk2/apps/netatalk_1_4b2/netatalk-971027/libatalk
*** Error code 1
make: Fatal error: Command failed for target `../../libatalk'
Current working directory
/disk2/apps/netatalk_1_4b2/netatalk-971027/sys/solaris
*** Error code 1
make: Fatal error: Command failed for target `all'

and when I run make kinstall:
Making kinstall for solaris...
rem_drv ddp
rm -f /usr/kernel/drv/ddp /usr/kernel/strmod/ddp
/usr/ucb/install -c ddp /usr/kernel/drv/ddp
ln /usr/kernel/drv/ddp /usr/kernel/strmod/ddp
/usr/ucb/install -c ddp.conf /usr/kernel/drv/ddp.conf
add_drv -m '* 0666 root sys' ddp
drvconfig: Driver (ddp) failed to attach
Warning: Driver (ddp) successfully added to system but failed to attach
*** Error code 1
make: Fatal error: Command failed for target `kinstall'
Current working directory
/disk2/apps/netatalk_1_4b2/netatalk-971027/sys/solaris
*** Error code 1
make: Fatal error: Command failed for target `kinstall'

Am I missing something here? any suggestions?

Regards,
Yasmine.

---

From: [email-masked]
Date: Thu, 22 Oct 1998 12:43:05 -0400

> From:    "Yasmine Arafa" <[email-masked]>
> To:      <[email-masked]>

> as: "/usr/tmp/cca15278.s", line 105: error: invalid operand value "bss"

Try running this:

	gcc hello.c

where the file hello.c contains:

	main()
	{
		printf( "Hi there!\n" );
	}

:wes